new.timing: Timing class for recording computation times

Description Usage Arguments Details

View source: R/timing.R

Description

The 'timing' class records the computation time of R calculations. There are three methods: new, update and print.

Usage

1
2
## S3 method for class 'timing'
new(processes = "P1")

Arguments

processes

character vector for names of processes to follow.

Details

Create an object of class 'timing', a list containing: now: the last known value of sum(proc.time()[1:2]) times: named vector of processes to keep track of calls: number of calls to proc.time within update.timing


stevetnz/stevesRfunctions documentation built on May 28, 2019, 8:21 a.m.