diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-06 16:47:46 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-06 16:47:46 +0000 |
commit | 623eca52c3e354bfe75d327b82d4beb0381f115d (patch) | |
tree | 514fe06793ad68ef687598dd7eedc5d388103b5b /ace/Profile_Timer.i | |
parent | d7b2937dfe5f30482cfa9bf1f1446d1a522888bb (diff) | |
download | ATCD-623eca52c3e354bfe75d327b82d4beb0381f115d.tar.gz |
ChangeLogTag:Mon Sep 6 08:45:31 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Profile_Timer.i')
-rw-r--r-- | ace/Profile_Timer.i | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ace/Profile_Timer.i b/ace/Profile_Timer.i index 77c0a6ba322..e77af9b1686 100644 --- a/ace/Profile_Timer.i +++ b/ace/Profile_Timer.i @@ -28,7 +28,8 @@ ACE_Profile_Timer::start (void) { ACE_TRACE ("ACE_Profile_Timer::start"); this->begin_time_ = ACE_OS::gettimeofday (); - ACE_OS::getrusage (RUSAGE_SELF, &this->begin_usage_); + ACE_OS::getrusage (RUSAGE_SELF, + &this->begin_usage_); return 0; } @@ -39,7 +40,8 @@ ACE_Profile_Timer::stop (void) 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_); + ACE_OS::getrusage (RUSAGE_SELF, + &this->end_usage_); return 0; } @@ -57,7 +59,8 @@ ACE_Profile_Timer::start (void) { ACE_TRACE ("ACE_Profile_Timer::start"); # if defined (ACE_HAS_GETRUSAGE) - ACE_OS::getrusage (RUSAGE_SELF, &this->begin_usage_); + ACE_OS::getrusage (RUSAGE_SELF, + &this->begin_usage_); # endif /* ACE_HAS_GETRUSAGE */ this->timer_.start (); return 0; |