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 shangjunliang110@163.com

References

None

Examples

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

CINOEDV documentation built on May 19, 2017, 7:27 p.m.

Search within the CINOEDV package
Search all R packages, documentation and source code