profile: Profile the C++ code executed in an expression.

Description Usage Arguments Details

Description

This profiles an expression and visualizes the profile in a web browser.

Usage

1
profile(expr, filename = NULL)

Arguments

expr

The expression to be profiled.

filename

An optional filename to write profiling information to.

Details

This requires the libprofile and pprof tools available via: sudo apt-get install libgoogle-perftools-dev go get github.com/google/pprof


nimble-dev/gprofiler documentation built on May 13, 2019, 3:08 a.m.