start_timer: Start a tracking timer

Description Usage Arguments Value See Also Examples

View source: R/track_time.R

Description

The label is optional. If not supplied the default timer (labelled "Default") will be used.

Usage

1
2
3
4
5
6
7
start_timer(x, label)

## S4 method for signature 'Track_time,ANY'
start_timer(x)

## S4 method for signature 'Track_time,character'
start_timer(x, label)

Arguments

x

a Track_time object

label

an optional label used to maintain multiple tracking timers

Value

Track_time object

See Also

stop_timer

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
timer <- Track_time()
print(timer)

timer <- start_timer(timer, 'test')

print(timer, 'test')

timer <- stop_timer(timer, 'test')

print(timer)

azvoleff/teamlucc documentation built on June 4, 2017, 12:08 a.m.