Register the specified process pid having the specified user‐defined description with this performance monitor. After registration, performance statistics will be collected for the pid upon invocation of the collect function. A pid value of zero is translated to the current process id. Return 0 on success or a non‐zero value otherwise.

Synopsis

Declared in <balb_performancemonitor.h>

int
registerPid(
    int pid,
    bsl::string const& description);

Created with MrDocs