tic: Implementation of Matlab 'tic()' command

View source: R/ubiquity.r

ticR Documentation

Implementation of Matlab tic() command

Description

Used in conjunction with toc() to find the elapsed time when code is executed.

Usage

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

Arguments

type

can be either "elapsed" "user.self" or "sys.self"

Value

time tic was called

See Also

toc

Examples

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

john-harrold/ubiquity documentation built on March 13, 2024, 2:58 a.m.