diff options
Diffstat (limited to 'ace/Timeprobe_T.cpp')
-rw-r--r-- | ace/Timeprobe_T.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ace/Timeprobe_T.cpp b/ace/Timeprobe_T.cpp index 49f98b426cc..3540537025f 100644 --- a/ace/Timeprobe_T.cpp +++ b/ace/Timeprobe_T.cpp @@ -329,14 +329,17 @@ ACE_Timeprobe_Ex<ACE_LOCK, ALLOCATOR>::print_absolute_times (void) i = this->current_size_; } + ACE_Time_Value tv; // to convert ACE_hrtime_t do { + ACE_High_Res_Timer::hrtime_to_tv (tv, this->timeprobes_ [i].time_); + ACE_DEBUG ((LM_DEBUG, "%-50.50s %8.8x %12.12u\n", this->find_description_i (i), this->timeprobes_ [i].thread_, - this->timeprobes_ [i].time_.sec () * 1000000 - + this->timeprobes_[i].time_.usec ())); + tv.sec () * 1000000 + + tv.usec ())); i = (i + 1) % this ->max_size_; // Modulus increment: loops around at the end. } while (i != this->current_size_); |