timer {pbdDEMO}R Documentation

A Timing Function for SPMD Routines

Description

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

Usage

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.


[Package pbdDEMO version 0.3-2 Index]