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

コード例 #1
0
ファイル: ResultTest.php プロジェクト: vantoozz/scientist
 public function test_result_can_have_start_memory()
 {
     $r = new Result();
     $r->setStartMemory(123);
     $this->assertEquals(123, $r->getStartMemory());
 }