Lines Matching refs:fCurrentMeasurement
17 : fCurrentMeasurement(-1) in StatsLayer()
30 fCurrentMeasurement = -1; in resetMeasurements()
47 if (fCurrentMeasurement >= 0) { in beginTiming()
48 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs(); in beginTiming()
53 if (fCurrentMeasurement >= 0) { in endTiming()
54 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs(); in endTiming()
59 if (fCurrentMeasurement >= 0) { in onPrePaint()
60 fTotalTimes[fCurrentMeasurement] = SkTime::GetMSecs() - fLastTotalBegin; in onPrePaint()
61 fCumulativeMeasurementTime += fTotalTimes[fCurrentMeasurement]; in onPrePaint()
64 fCurrentMeasurement = (fCurrentMeasurement + 1) & (kMeasurementCount - 1); in onPrePaint()
65 SkASSERT(fCurrentMeasurement >= 0 && fCurrentMeasurement < kMeasurementCount); in onPrePaint()
70 int nextMeasurement = (fCurrentMeasurement + 1) & (kMeasurementCount - 1); in onPaint()