computePercentileFrameRasterizerTimeMillis method

double computePercentileFrameRasterizerTimeMillis (double p)

The p-th percentile frame rasterization time in milliseconds.

Returns null if no frames were recorded.

Implementation

double computePercentileFrameRasterizerTimeMillis(double p) {
  return _percentileInMillis(_extractDuration(_extractGpuRasterizerDrawEvents()), p);
}