diff --git a/tools/jprof/README.html b/tools/jprof/README.html index 2c79d719205..9b910afc8ff 100644 --- a/tools/jprof/README.html +++ b/tools/jprof/README.html @@ -87,6 +87,14 @@ which have the following meanings: accomplish that. +

Starting and stopping jprof from JavaScript

+

+A build with jprof enabled adds two functions to the Window object: +JProfStartProfiling() and JProfStopProfiling(). When used with JP_DEFER, these +allow one to start and stop the timer just around whatever critical section is +being profiled +

+

Examples of JPROF_FLAGS usage