Return an iterator to the statistics for the specified pid.

Synopsis

Declared in <balb_performancemonitor.h>

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

Name

Description

pid

process id to look up; 0 means the current process

Created with MrDocs