Lines Matching defs:speed_endtime
27 double speed_endtime (void)
28 Call speed_starttime to start measuring, and then call speed_endtime
31 speed_endtime returns the time taken, in seconds. Or if the timebase
32 is in CPU cycles and the CPU frequency is unknown then speed_endtime
36 If some sort of temporary glitch occurs then speed_endtime returns
46 or 1.0. It's 0.0 when speed_endtime is returning seconds, or it's
47 1.0 when speed_endtime is returning cycles.
49 It may be noted that "speed_endtime() / speed_cycletime" gives a
50 measured time in cycles, irrespective of whether speed_endtime is
57 This is in seconds or cycles, as per speed_endtime.
71 works for both cycles or seconds from speed_endtime).
79 Call this to demand that speed_endtime will return seconds, and not
85 "speed_endtime() / speed_cycletime" will give times in cycles.
96 Allowing speed_endtime() to return either seconds or cycles is only a
1331 speed_endtime (void)
1336 printf ("speed_endtime(): used %s\n", name); \
1344 printf ("speed_endtime(): %s gives enough precision\n", name); \
1352 printf ("speed_endtime(): cycle counter limit exceeded, used %s\n", \
1388 printf ("speed_endtime():\n");
1522 fprintf (stderr, "speed_endtime(): oops, no time method available\n");
1529 fprintf (stderr, "speed_endtime(): warning, treating negative time as zero: %.9f\n", result);