timer: A Timing Function for SPMD Routines

Description Usage Arguments Details Value

View source: R/timer.R

Description

A timing function for use with parallel codes executed in the batch SPMD style.

Usage

1
timer(timed)

Arguments

timed

expression to be timed.

Details

Finds the min, mean, and max execution time across all independent processes executing the operation timed.

Value

A named vector containing the minimum, mean, and maximum time across all processors in the communicator. All values are global.


wrathematics/pbdDEMO documentation built on May 4, 2019, 10:53 a.m.