diff options
Diffstat (limited to 'cpp/src/Ice/CommunicatorI.cpp')
-rw-r--r-- | cpp/src/Ice/CommunicatorI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/CommunicatorI.cpp b/cpp/src/Ice/CommunicatorI.cpp index 518784fac28..2df2370b4ef 100644 --- a/cpp/src/Ice/CommunicatorI.cpp +++ b/cpp/src/Ice/CommunicatorI.cpp @@ -59,7 +59,7 @@ printGCStats(const IceUtil::GCStats& stats) if(gcTraceLevel > 1) { Trace out(gcLogger, gcTraceCat); - out << stats.collected << "/" << stats.examined << ", " << stats.time.toMilliSeconds() << "ms"; + out << stats.collected << "/" << stats.examined << ", " << stats.time * 1000 << "ms"; } ++gcStats.runs; gcStats.examined += stats.examined; @@ -108,7 +108,7 @@ Ice::CommunicatorI::destroy() { Trace out(gcLogger, gcTraceCat); out << "totals: " << gcStats.collected << "/" << gcStats.examined << ", " - << gcStats.time.toMilliSeconds() << "ms" << ", " << gcStats.runs << " run"; + << gcStats.time * 1000 << "ms" << ", " << gcStats.runs << " run"; if(gcStats.runs != 1) { out << "s"; |