Lines Matching refs:timer
96 * that we can avoid including timer overhead in the time being
411 nsTimelineServiceTimer *timer
413 if (timer == NULL) {
414 timer = new nsTimelineServiceTimer;
415 if (!timer)
418 PL_HashTableAdd(thread->timers, timerName, timer);
420 timer->start();
429 * Strange-looking now/timer->stop() interaction is to avoid
431 * timer.
440 nsTimelineServiceTimer *timer
442 if (timer == NULL) {
446 timer->stop(now);
463 nsTimelineServiceTimer *timer
465 if (timer == NULL) {
468 PRTime accum = timer->getAccum();
494 nsTimelineServiceTimer *timer
496 if (timer == NULL) {
500 timer->reset();