diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-05 20:54:47 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-05 20:54:47 +0000 |
commit | 52aa8ebcbb5ae703a49c20984eed470d1bbf6a26 (patch) | |
tree | a40fafb647514d489b1f8d5e4bcb8817186f5eee /ace/Profile_Timer.i | |
parent | 8385b7a58d8e08a6c86412f13df0c9b64d06ebdd (diff) | |
download | ATCD-52aa8ebcbb5ae703a49c20984eed470d1bbf6a26.tar.gz |
Removed ACE_OS::gettimeofday () from start and stop.
Diffstat (limited to 'ace/Profile_Timer.i')
-rw-r--r-- | ace/Profile_Timer.i | 3 |
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 */ |