Lines Matching refs:elapsed
143 /* Elapsed time for this variable. */
144 struct timevar_time_def elapsed;
162 /* An element on the timing stack. Elapsed time is attributed to the
186 pushed. Time elapsed since then is attributed to the topmost
259 /* Zero all elapsed times. */
276 /* Push TIMEVAR onto the timing stack. No further elapsed time is
278 subsequent elapsed time is attributed to TIMEVAR, until it is
304 /* If the stack isn't empty, attribute the current elapsed time to
307 timevar_accumulate (&stack->timevar->elapsed, &start_time, &now);
331 popped variable must be TIMEVAR. Elapsed time since the that
352 /* Attribute the elapsed time to the element we're popping. */
353 timevar_accumulate (&popped->timevar->elapsed, &start_time, &now);
368 /* Start timing TIMEVAR independently of the timing stack. Elapsed
393 /* Stop timing TIMEVAR. Time elapsed since timevar_start was called
411 timevar_accumulate (&tv->elapsed, &tv->start_time, &now);
414 /* Fill the elapsed time for TIMEVAR into ELAPSED. Returns
418 timevar_get (timevar, elapsed)
420 struct timevar_time_def *elapsed;
425 *elapsed = tv->elapsed;
431 timevar_accumulate (elapsed, &tv->start_time, &now);
437 timevar_accumulate (elapsed, &start_time, &now);
442 a special meaning -- it's considered to be the total elapsed time,
452 struct timevar_time_def *total = &timevars[TV_TOTAL].elapsed;
466 /* If the stack isn't empty, attribute the current elapsed time to
469 timevar_accumulate (&stack->timevar->elapsed, &start_time, &now);
492 if (tv->elapsed.user < tiny
493 && tv->elapsed.sys < tiny
494 && tv->elapsed.wall < tiny)
503 tv->elapsed.user,
504 (total->user == 0 ? 0 : tv->elapsed.user / total->user) * 100);
510 tv->elapsed.sys,
511 (total->sys == 0 ? 0 : tv->elapsed.sys / total->sys) * 100);
515 /* Print wall clock time elapsed. */
517 tv->elapsed.wall,
518 (total->wall == 0 ? 0 : tv->elapsed.wall / total->wall) * 100);
551 /* Prints a message to stderr stating that time elapsed in STR is