Lines Matching refs:ticks
94 const unsigned int ticks = diffInNs(end, start_); in record() local
96 t->record(ticks); in record()
165 void ResourceTimer::Timer::record(int ticks) { in record() argument
169 total += ticks; in record()
170 if (mintime == 0 || ticks < mintime) mintime = ticks; in record()
171 if (ticks > maxtime) maxtime = ticks; in record()
174 if (ticks != UINT_MAX) { in record()
176 if (ticks < range[d]) { in record()
181 if (ticks < width[d]) { in record()
187 buckets[d][ticks / width[d]]++; in record()
197 if (ticks > largest[Timer::MaxLargest-1]) { in record()
199 if (ticks > largest[i]) { in record()
205 largest[i] = ticks; in record()