Unregister the specified process pid from this performance monitor.

Synopsis

Declared in <balb_performancemonitor.h>

int
unregisterPid(int pid);

Description

After unregistration, to statistics for the pid will be no longer be available unless the pid is re‐registered with the performance monitor through calling registerPid. A pid value of zero is translated to the current process id. Return 0 on success or a non‐zero value otherwise.

Return Value

0 on success, or a non‐zero value otherwise

Parameters

Name

Description

pid

process id to unregister; 0 means the current process

Created with MrDocs