Estimate precision of timing routines.
This function is currently experimental. Its main use is to judge
the quality of the underlying timer implementation of the
operating system. The function measures the overhead of timing a C
function call rounds
times and returns all non-zero timings
observed. This can be used to judge the granularity and resolution
of the timing subsystem.
microtiming_precision(rounds = 100L, warmup = 2^18)
rounds |
Number of measurements used to estimate the precision. |
warmup |
Number of iterations used to warm up the CPU. |
A vector of observed non-zero timings.
Olaf Mersmann
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.