Home
last modified time | relevance | path

Searched refs:fCurrentMeasurement (Results 1 – 4 of 4) sorted by relevance

/external/skia/tools/viewer/
DStatsLayer.cpp17 : 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()
[all …]
DStatsLayer.h41 int fCurrentMeasurement; variable
/external/skqp/tools/viewer/
DStatsLayer.cpp16 : fCurrentMeasurement(0) in StatsLayer()
25 fCurrentMeasurement = 0; in resetMeasurements()
41 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs(); in beginTiming()
45 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs(); in endTiming()
49 int idx = (fCurrentMeasurement + (kMeasurementCount - 1)) & (kMeasurementCount - 1); in getLastTime()
56 fCumulativeMeasurementTime += fTimers[i].fTimes[fCurrentMeasurement]; in onPaint()
59 fCurrentMeasurement = (fCurrentMeasurement + 1) & (kMeasurementCount - 1); in onPaint()
60 SkASSERT(fCurrentMeasurement < kMeasurementCount); in onPaint()
62 fTimers[i].fTimes[fCurrentMeasurement] = 0; in onPaint()
110 int i = fCurrentMeasurement; in onPaint()
[all …]
DStatsLayer.h40 int fCurrentMeasurement; variable