diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-07-31 18:23:50 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-07-31 18:23:50 +0000 |
commit | 7d4361e68588ce86ea329886eb3d618e8dbd3be2 (patch) | |
tree | 8b06b01347986111c082ac4884f660ab0c7ab261 /ACE/ace/Timeprobe_T.cpp | |
parent | 422d9012926a0cfed2fa55dbdacdc5d6c06b1805 (diff) | |
download | ATCD-7d4361e68588ce86ea329886eb3d618e8dbd3be2.tar.gz |
Tue Jul 31 18:14:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Timeprobe_T.cpp')
-rw-r--r-- | ACE/ace/Timeprobe_T.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ACE/ace/Timeprobe_T.cpp b/ACE/ace/Timeprobe_T.cpp index 6b5348770c4..39f1bfc804e 100644 --- a/ACE/ace/Timeprobe_T.cpp +++ b/ACE/ace/Timeprobe_T.cpp @@ -65,7 +65,7 @@ ACE_Timeprobe_Ex<ACE_LOCK, ALLOCATOR>::ACE_Timeprobe_Ex (const ACE_Timeprobe_Ex< // ACE_ERROR ((LM_ERROR, - ACE_LIB_TEXT ("ACE_NOTSUP: %N, line %l\n"))); + ACE_TEXT ("ACE_NOTSUP: %N, line %l\n"))); errno = ENOTSUP; } @@ -290,8 +290,8 @@ ACE_Timeprobe_Ex<ACE_LOCK, ALLOCATOR>::print_times (void) time_difference)); j = i; - i = (i + 1) % this->max_size_; - } + i = (i + 1) % this->max_size_; + } while (i != this->current_size_); static bool inversion_warning_printed = false; @@ -345,14 +345,14 @@ ACE_Timeprobe_Ex<ACE_LOCK, ALLOCATOR>::print_absolute_times (void) // Modulus increment: loops around at the end. i = (i + 1) % this->max_size_; - } + } while (i != this->current_size_); } template <class ACE_LOCK, class ALLOCATOR> const char * ACE_Timeprobe_Ex<ACE_LOCK, ALLOCATOR>::find_description_i (u_long i) { - if (this->timeprobes_[i].event_type_ == ACE_timeprobe_t::STRING) + if (this->timeprobes_[i].event_type_ == ACE_timeprobe_t::STRING) return this->timeprobes_[i].event_.event_description_; else { |