Simple wrapper around proc.time.
measureTime(expr, prefix, envir = parent.frame())
| expr | [ |
|---|---|
| prefix | [ |
| envir | [ |
Returns the value(s) of the evaluated expr and adds two
additional attributes: the number of function evaluations
costs_fun_evals and the runtime costs_runtime, which was
required for evaluating the expression.