tic: Start stopwatch timer

Description Usage Arguments Value Author(s) References Examples

View source: R/tic.R

Description

tic starts a stopwatch timer to measure performance. The function records the internal time at execution of the tic command. Display the elapsed time with the toc function.

Usage

1
tic(gcFirst = TRUE, type = c("elapsed", "user.self", "sys.self"))

Arguments

gcFirst

gcFirst <- TRUE

type

type <- c("elapsed","user.self","sys.self")

Value

None

Author(s)

Junliang Shang [email protected]

References

None

Examples

1
2
3
tic()
Sys.sleep(2)
toc()

CINOEDV documentation built on May 29, 2017, 9:07 p.m.