Measure CPU utilization in ServiceQueue

This commit is contained in:
Vinnie Falco
2013-10-04 11:46:10 -07:00
parent ca47d72aee
commit 93e9d8622e
6 changed files with 46 additions and 36 deletions

View File

@@ -41,7 +41,7 @@ public:
/** Create the measurement with UnaryFunction constructed from one argument. */
template <typename Arg>
explicit ScopedTimeInterval (Arg arg)
explicit ScopedTimeInterval (Arg& arg)
: m_func (arg)
, m_start (RelativeTime::fromStartup ())
{