Scientist\Result::getStartMemory PHP Method

getStartMemory() public method

Get the callback execution starting memory usage.
public getStartMemory ( ) : float
return float
    public function getStartMemory()
    {
        return $this->startMemory;
    }

Usage Example

Example #1
0
 public function test_result_can_have_start_memory()
 {
     $r = new Result();
     $r->setStartMemory(123);
     $this->assertEquals(123, $r->getStartMemory());
 }