Searched refs:fTimers (Results 1 – 4 of 4) sorted by relevance
22 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 …]
39 SkTArray<TimerData> fTimers; variable
26 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 …]