elapsedProcTime: Provide processing timing information

elapsedProcTimeR Documentation

Provide processing timing information

Description

A utility to describe elapsed processing time in a 'units centric' way.

Usage

elapsedProcTime(t1, t2, N = 1, what = "Read")

Arguments

t1, t2

the start and finish time objects, as returned by proc.time

N

integer specifying how many what have been processed in the time interval from t1 to t2

what

character string label for the type of item processed. Used to label the output

Value

A list of length 4, giving the elasped time in various ways:

Total.Elapsed.Time

Elapsed time. See proc.time

Computation.Time

Total processor time. Can be greater than elapsed time when using more than one processor.

Time.per.'what'

Total processor time divided by 'N'

Raw.Seconds

Elapsed 'Wall time'


robertdouglasmorrison/DuffyTools documentation built on April 13, 2025, 8:51 p.m.