summaryrefslogtreecommitdiff
path: root/ace/Profile_Timer.cpp
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-27 20:48:28 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-27 20:48:28 +0000
commit1f91ef90072d1703e75e519eb40678c55f71f2e4 (patch)
tree41ca1b5df67921f46f3cb4b73434c76c82006d06 /ace/Profile_Timer.cpp
parent3a7046470e4995d08cff64176cb6b97adaf30155 (diff)
downloadATCD-1f91ef90072d1703e75e519eb40678c55f71f2e4.tar.gz
ChangeLogTag:Sun Jul 27 20:19:48 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'ace/Profile_Timer.cpp')
-rw-r--r--ace/Profile_Timer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/Profile_Timer.cpp b/ace/Profile_Timer.cpp
index 2f4ef9f8f87..4beedd397f0 100644
--- a/ace/Profile_Timer.cpp
+++ b/ace/Profile_Timer.cpp
@@ -16,7 +16,9 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Profile_Timer)
void
ACE_Profile_Timer::dump (void) const
{
+#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_Profile_Timer::dump");
+#endif /* ACE_HAS_DUMP */
}
// Initialize interval timer.
@@ -260,8 +262,10 @@ ACE_Profile_Timer::elapsed_time (ACE_Elapsed_Time &et)
void
ACE_Profile_Timer::dump (void) const
{
+#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_Profile_Timer::dump");
timer_.dump ();
+#endif /* ACE_HAS_DUMP */
}
// Initialize interval timer.
@@ -364,8 +368,10 @@ ACE_Profile_Timer::subtract (timeval &tdiff, timeval &t1, timeval &t0)
void
ACE_Profile_Timer::dump (void) const
{
+#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_Profile_Timer::dump");
timer_.dump ();
+#endif /* ACE_HAS_DUMP */
}
ACE_Profile_Timer::ACE_Profile_Timer (void)