nodesrunlength: Marginal information for run length from profile

Description Usage Arguments Details Value Author(s) Examples

View source: R/nodesrunlength.R

Description

Run length count, by node and run length, from profile.

Usage

1

Arguments

sprof

a sprof data structure with profiling information.

clean

boolean.

Details

If clean=TRUE, zero results are removed and the nodes are sorted by average time.

If clean=TRUE, zero results and sorting are preserved. Trailing nodes with zero count may have been lost in the process, and are added.

Value

A matrix count[node, run length] with a column giving the number of runs by run length and three additional columns

nr_runs

sum of counts over all run lengths.

total_time

sum of count*run length

avg_time

total_time / count

Author(s)

Günther Sawitzki <gsawitzki@users.r-forge.r-project.org>

Examples

1
2

sprof documentation built on May 2, 2019, 4:45 p.m.