Learn R Programming

pbdDEMO (version 0.3-1)

timer: 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.

Value

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

Details

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