R/RcppExports.R

Defines functions timer_error timer_precision do_timing do_benchmark

Documented in timer_precision

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

timer_error <- function(rounds = 2e5L) {
    .Call(`_benchr_timer_error`, rounds)
}

#' Get timer precision.
#' @return Number of seconds from one clock tick to the next.
#' @export
timer_precision <- function() {
    .Call(`_benchr_timer_precision`)
}

do_timing <- function(expr, env) {
    .Call(`_benchr_do_timing`, expr, env)
}

do_benchmark <- function(exprs, env, order, gc = FALSE, progress = FALSE) {
    .Call(`_benchr_do_benchmark`, exprs, env, order, gc, progress)
}

Try the benchr package in your browser

Any scripts or data that you put into this service are public.

benchr documentation built on March 13, 2020, 3:29 a.m.