From 52aa8ebcbb5ae703a49c20984eed470d1bbf6a26 Mon Sep 17 00:00:00 2001 From: brunsch Date: Mon, 5 Apr 1999 20:54:47 +0000 Subject: Removed ACE_OS::gettimeofday () from start and stop. --- ace/Profile_Timer.i | 3 --- 1 file changed, 3 deletions(-) (limited to 'ace/Profile_Timer.i') 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 */ -- cgit v1.2.1