diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-07 18:37:57 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-07 18:37:57 +0000 |
commit | 8a938b9495cea07106fcf82e7ec6fa42916766b8 (patch) | |
tree | c5e0c35356d0308ca197fcc73545fbd5b4290801 /ace/Profile_Timer.cpp | |
parent | 52dce6ce9b5147fbbb14b578145b187266d7420a (diff) | |
download | ATCD-8a938b9495cea07106fcf82e7ec6fa42916766b8.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Profile_Timer.cpp')
-rw-r--r-- | ace/Profile_Timer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Profile_Timer.cpp b/ace/Profile_Timer.cpp index 768d4c0d60c..0d0cc3f4a2c 100644 --- a/ace/Profile_Timer.cpp +++ b/ace/Profile_Timer.cpp @@ -261,7 +261,11 @@ ACE_Profile_Timer::elapsed_time (ACE_Elapsed_Time &et) ACE_hrtime_t delta_t; /* nanoseconds */ timer_.elapsed_time (delta_t); +# if defined (ACE_WIN32) + et.real_time = (__int64) delta_t / (double) ACE_ONE_SECOND_IN_NSECS; +# else et.real_time = delta_t / (double) ACE_ONE_SECOND_IN_NSECS; +# endif /* ACE_WIN32 */ #endif /* ! ACE_LACKS_FLOATING_POINT */ et.user_time = 0; |