src/Tracing/Tracing.php
public function record(ResolveInfo $resolveInfo, $start, $end): void
    {
        $this->resolverTraces [] = [
            'path' => $resolveInfo->path,
            'parentType' => $resolveInfo->parentType->name,
            'returnType' => $resolveInfo->returnType->__toString(),
            'fieldName' => $resolveInfo->fieldName,
            'startOffset' => $this->diffTimeInNanoseconds($this->requestStartPrecise, $start),
            'duration' => $this->diffTimeInNanoseconds($start, $end),
        ];
    }
public function record(ResolveInfo $resolveInfo, $start, $end): void
    {
        $this->resolverTraces [] = [
            'path' => $resolveInfo->path,
            'parentType' => $resolveInfo->parentType->name,
            'returnType' => $resolveInfo->returnType->__toString(),
            'fieldName' => $resolveInfo->fieldName,
            'startOffset' => $this->diffTimeInNanoseconds($this->requestStartPrecise, $start),
            'duration' => $this->diffTimeInNanoseconds($start, $end),
        ];
    }
public function record ( ResolveInfo $ resolveInfo , $ start , $ end ) : void { $ this -> resolverTraces [ ] = [ 'path' => $ resolveInfo -> path , 'parentType' => $ resolveInfo -> parentType -> name , 'returnType' => $ resolveInfo -> returnType -> __toString ( ) , 'fieldName' => $ resolveInfo -> fieldName , 'startOffset' => $ this -> diffTimeInNanoseconds ( $ this -> requestStartPrecise , $ start ) , 'duration' => $ this -> diffTimeInNanoseconds ( $ start , $ end ) , ] ; }
Record resolver execution time.

@param  \GraphQL\Type\Definition\ResolveInfo  $resolveInfo
@param  float|int  $start
@param  float|int  $end
@return void
Record resolver execution time .