diff options
author | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-02-27 23:14:47 +0000 |
---|---|---|
committer | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-02-27 23:14:47 +0000 |
commit | a65e54e9352696d7ff7cb431c20f65b26530fedb (patch) | |
tree | a3c483ad5e6fcff649b53434b822e06fe83a56ab /ace/Profile_Timer.i | |
parent | 3770f10748b92224db710ec2b644a408b65f2cf1 (diff) | |
download | ATCD-a65e54e9352696d7ff7cb431c20f65b26530fedb.tar.gz |
Added global_scale_factor to High_Res_Timer. Changed Profile_Timer to
use High_Res_Timer.
Diffstat (limited to 'ace/Profile_Timer.i')
-rw-r--r-- | ace/Profile_Timer.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Profile_Timer.i b/ace/Profile_Timer.i index 8ff9feec5a8..a54bee9d0ee 100644 --- a/ace/Profile_Timer.i +++ b/ace/Profile_Timer.i @@ -29,7 +29,7 @@ ACE_INLINE int ACE_Profile_Timer::start (void) { ACE_TRACE ("ACE_Profile_Timer::start"); - this->begin_time_ = ACE_OS::gettimeofday (); + this->begin_time_ = ACE_High_Res_Timer::gettimeofday (); ACE_OS::getrusage (RUSAGE_SELF, &this->begin_usage_); return 0; } @@ -39,7 +39,7 @@ ACE_Profile_Timer::stop (void) { ACE_TRACE ("ACE_Profile_Timer::stop"); this->last_time_ = this->end_time_; - this->end_time_ = ACE_OS::gettimeofday (); + this->end_time_ = ACE_High_Res_Timer::gettimeofday (); this->last_usage_ = this->end_usage_; ACE_OS::getrusage (RUSAGE_SELF, &this->end_usage_); return 0; |