diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-09-12 13:24:38 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-09-12 13:24:38 +0200 |
commit | abeebf67ba35156606bbaabf073b496900f836cf (patch) | |
tree | 430212c34a1a1d4922fa11426e9fbd537fb98e52 /cpp/src/IceUtil/Timer.cpp | |
parent | Fixed dependencies (diff) | |
download | ice-abeebf67ba35156606bbaabf073b496900f836cf.tar.bz2 ice-abeebf67ba35156606bbaabf073b496900f836cf.tar.xz ice-abeebf67ba35156606bbaabf073b496900f836cf.zip |
Fixed ICE-5620: metrics admin creation in IceBox, fixed bug where timer wasn't instrumented
Diffstat (limited to 'cpp/src/IceUtil/Timer.cpp')
-rw-r--r-- | cpp/src/IceUtil/Timer.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/Timer.cpp b/cpp/src/IceUtil/Timer.cpp index e18004d06fa..697a0362f2a 100644 --- a/cpp/src/IceUtil/Timer.cpp +++ b/cpp/src/IceUtil/Timer.cpp @@ -222,7 +222,7 @@ Timer::run() { try { - token.task->runTimerTask(); + runTimerTask(token.task); } catch(const IceUtil::Exception& e) { @@ -243,3 +243,9 @@ Timer::run() } } } + +void +Timer::runTimerTask(const TimerTaskPtr& task) +{ + task->runTimerTask(); +} |