https://github.com/cran/microbenchmark
Raw File
Tip revision: c05a126b928efa99455c3f01b7fdebd5a1970256 authored by Olaf Mersmann on 19 October 2011, 00:00:00 UTC
version 1.1-3
Tip revision: c05a126
microtiming_precision.Rd
\name{microtiming_precision}
\alias{microtiming_precision}
\title{Estimate precision of timing routines.}
\usage{microtiming_precision(rounds=100, warmup=2^18)
}
\description{Estimate precision of timing routines.}
\details{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 \code{rounds} times and returns all non-zero timings
observed. This can be used to judge the granularity and resolution
of the timing subsystem.}
\value{A vector of observed non-zero timings.}
\author{Olaf Mersmann \email{olafm@statistik.tu-dortmund.de}}
\arguments{\item{rounds}{Number of measurements used to estimate the precision.}
\item{warmup}{Number of iterations used to warmup the CPU.}
}

back to top