Lines Matching defs:timer
273 // initialize the paritioned timers to an initial timer
274 void partitionedTimers::init(explicitTimer timer) {
276 timer_stack.push_back(timer);
280 // stop/save the current timer, and start the new timer (timer_pair)
281 // There is a special condition where if the current timer is equal to
283 // and it won't stop/start the currently running timer.
284 void partitionedTimers::push(explicitTimer timer) {
285 // get the current timer
286 // pause current timer
287 // push new timer
288 // start the new timer
292 timer_stack.push_back(timer);
301 // stop/discard the current timer, and start the previously saved timer
303 // get the current timer
304 // stop current timer (record event/sample)
305 // pop current timer
306 // get the new current timer and resume
318 void partitionedTimers::exchange(explicitTimer timer) {
319 // get the current timer
320 // stop current timer (record event/sample)
321 // push new timer
322 // start the new timer
331 timer_stack.push_back(timer);
344 // Pop the timer from the init() call
495 time_t timer;
497 time(&timer);
499 struct tm *tm_info = localtime(&timer);
571 // assigns a color to each timer for printing
683 // If the timer wasn't running, this won't record anything anyway.
734 // create legend entries corresponding to the timer color
797 normal timer stats */
831 // See if we should ignore this timer when aggregating