tictoc: Calculate elapsed time

tictocR Documentation

Calculate elapsed time

Description

Calculates elapsed time between calls to tic and toc.

Usage

tic(gcFirst = TRUE)

toc()

Arguments

gcFirst

Logical value.

Functions

tic

Start timer.

toc

Stop timer and report elapsed time.

Examples

tic()
   for (i in 1:1000000) x <- i
toc()


TobieSurette/gulf.utils documentation built on Dec. 1, 2024, 6:01 a.m.