[#BloombergLP-balb-PerformanceMonitor-find] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PerformanceMonitor.adoc[PerformanceMonitor]::find :relfileprefix: ../../../ :mrdocs: Return an iterator to the statistics for the specified `pid`. == Synopsis Declared in `<balb_performancemonitor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balb/PerformanceMonitor/ConstIterator.adoc[PerformanceMonitor::ConstIterator] find(int pid) const; ---- == Description Return the iterator pointing to the set of collected performance statistics for the specified `pid` if `pid` has been registered with this performance monitor through the `registerPid` function, otherwise return `end()`. A `pid` value of zero is translated to the current process id. == Return Value iterator to the statistics for `pid`, or `end()` if unregistered == Parameters [cols="1,4"] |=== | Name| Description | *pid* | process id to look up; 0 means the current process |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#