[#BloombergLP-balb-PerformanceMonitor-unregisterPid] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PerformanceMonitor.adoc[PerformanceMonitor]::unregisterPid :relfileprefix: ../../../ :mrdocs: Unregister the specified process `pid` from this performance monitor. == Synopsis Declared in `<balb_performancemonitor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *pid* | process id to unregister; 0 means the current process |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#