Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

microtiming_precision

Estimate precision of timing routines.


Description

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.

Usage

microtiming_precision(rounds = 100L, warmup = 2^18)

Arguments

rounds

Number of measurements used to estimate the precision.

warmup

Number of iterations used to warm up the CPU.

Value

A vector of observed non-zero timings.

Author(s)

Olaf Mersmann


microbenchmark

Accurate Timing Functions

v1.4-7
BSD_2_clause + file LICENSE
Authors
Olaf Mersmann [aut], Claudia Beleites [ctb], Rainer Hurling [ctb], Ari Friedman [ctb], Joshua M. Ulrich [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.