summaryrefslogtreecommitdiff
path: root/ace/Profile_Timer.i
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-05 20:54:47 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-05 20:54:47 +0000
commitbb21e6aa7003d7dcd23603e5190cd079890ab1b9 (patch)
treea40fafb647514d489b1f8d5e4bcb8817186f5eee /ace/Profile_Timer.i
parentb8fb5a250f3a3c25c5684cc5577825a7a9a348b9 (diff)
downloadATCD-bb21e6aa7003d7dcd23603e5190cd079890ab1b9.tar.gz
Removed ACE_OS::gettimeofday () from start and stop.
Diffstat (limited to 'ace/Profile_Timer.i')
-rw-r--r--ace/Profile_Timer.i3
1 files changed, 0 insertions, 3 deletions
diff --git a/ace/Profile_Timer.i b/ace/Profile_Timer.i
index f1d220994ca..77c0a6ba322 100644
--- a/ace/Profile_Timer.i
+++ b/ace/Profile_Timer.i
@@ -57,7 +57,6 @@ ACE_Profile_Timer::start (void)
{
ACE_TRACE ("ACE_Profile_Timer::start");
# if defined (ACE_HAS_GETRUSAGE)
- this->begin_time_ = ACE_OS::gettimeofday ();
ACE_OS::getrusage (RUSAGE_SELF, &this->begin_usage_);
# endif /* ACE_HAS_GETRUSAGE */
this->timer_.start ();
@@ -70,8 +69,6 @@ ACE_Profile_Timer::stop (void)
ACE_TRACE ("ACE_Profile_Timer::stop");
this->timer_.stop ();
# if defined (ACE_HAS_GETRUSAGE)
- this->last_time_ = this->end_time_;
- this->end_time_ = ACE_OS::gettimeofday ();
this->last_usage_ = this->end_usage_;
ACE_OS::getrusage (RUSAGE_SELF, &this->end_usage_);
# endif /* ACE_HAS_GETRUSAGE */