Home
last modified time | relevance | path

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

/external/skqp/tools/viewer/
DStatsLayer.cpp22 for (int i = 0; i < fTimers.count(); ++i) { in resetMeasurements()
23 memset(fTimers[i].fTimes, 0, sizeof(fTimers[i].fTimes)); in resetMeasurements()
31 Timer newTimer = fTimers.count(); in addTimer()
32 TimerData& newData = fTimers.push_back(); in addTimer()
41 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs(); in beginTiming()
45 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs(); in endTiming()
50 return fTimers[timer].fTimes[idx]; in getLastTime()
55 for (int i = 0; i < fTimers.count(); ++i) { in onPaint()
56 fCumulativeMeasurementTime += fTimers[i].fTimes[fCurrentMeasurement]; in onPaint()
61 for (int i = 0; i < fTimers.count(); ++i) { in onPaint()
[all …]
DStatsLayer.h39 SkTArray<TimerData> fTimers; variable
/external/skia/tools/viewer/
DStatsLayer.cpp26 for (int i = 0; i < fTimers.count(); ++i) { in resetMeasurements()
27 memset(fTimers[i].fTimes, 0, sizeof(fTimers[i].fTimes)); in resetMeasurements()
37 Timer newTimer = fTimers.count(); in addTimer()
38 TimerData& newData = fTimers.push_back(); in addTimer()
48 fTimers[timer].fTimes[fCurrentMeasurement] -= SkTime::GetMSecs(); in beginTiming()
54 fTimers[timer].fTimes[fCurrentMeasurement] += SkTime::GetMSecs(); in endTiming()
71 for (int i = 0; i < fTimers.count(); ++i) { in onPaint()
72 fTimers[i].fTimes[nextMeasurement] = 0; in onPaint()
122 sumTimes.setCount(fTimers.count()); in onPaint()
130 for (int timer = 0; timer < fTimers.count(); ++timer) { in onPaint()
[all …]
DStatsLayer.h39 SkTArray<TimerData> fTimers; variable