Measure CPU usage in Workers

This commit is contained in:
Vinnie Falco
2013-10-22 17:09:58 -07:00
parent 8604e216eb
commit 1f97a239dc
4 changed files with 47 additions and 29 deletions

View File

@@ -466,8 +466,8 @@ public:
}
/** Returns the percentage of time the queue is using the CPU. */
double getUtilizaton () const
{ return m_cpuMeter.getUtilizaton(); }
double getUtilization () const
{ return m_cpuMeter.getUtilization(); }
/** Returns the allocator associated with the container. */
allocator_type get_allocator() const