repeat.time: Adaptive timer

Description Usage Arguments Value Author(s) See Also Examples

Description

Repeats timing expr until minSec is reached

Usage

1
repeat.time(expr, gcFirst = TRUE, minSec = 0.5, envir = parent.frame())

Arguments

expr

Valid expression to be timed.

gcFirst

Logical - should a garbage collection be performed immediately before the timing? Default is TRUE.

minSec

number of seconds to repeat at least

envir

the environment in which to evaluate expr (by default the calling frame)

Value

A object of class "proc_time": see proc.time for details.

Author(s)

Jens Oehlschlägel <Jens.Oehlschlaegel@truecluster.com>

See Also

system.time

Examples

1
2
3
4

bit documentation built on Aug. 4, 2020, 9:06 a.m.