diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-28 21:04:09 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-28 21:04:09 +0000 |
commit | 09c62004c18ed88e10c0023cf7896da3fba1fc64 (patch) | |
tree | 1e2cc1d852fec1fd088d3d6c9a10b2d994869085 | |
parent | 05a86ec2882b6bc90b4316f8cd8eace50e4ee501 (diff) | |
download | ATCD-09c62004c18ed88e10c0023cf7896da3fba1fc64.tar.gz |
default scale factor to 1000 on Linux
-rw-r--r-- | ace/High_Res_Timer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/High_Res_Timer.cpp b/ace/High_Res_Timer.cpp index 96ccd5a974b..6fd84db99ae 100644 --- a/ace/High_Res_Timer.cpp +++ b/ace/High_Res_Timer.cpp @@ -52,7 +52,8 @@ ACE_High_Res_Timer::get_registry_scale_factor (void) ACE_UINT32 ACE_High_Res_Timer::global_scale_factor_ = ACE_High_Res_Timer::get_registry_scale_factor (); #elif defined (ACE_HAS_HI_RES_TIMER) || defined (ACE_HAS_AIX_HI_RES_TIMER) || \ - defined (ACE_HAS_CLOCK_GETTIME) || defined (ACE_PSOS) || defined (CHORUS) + defined (ACE_HAS_CLOCK_GETTIME) || defined (ACE_PSOS) || \ + defined (CHORUS) || defined (linux) // A scale_factor of 1000 converts nanosecond ticks to microseconds. // That is, on these platforms, 1 tick == 1 nanosecond. /* static */ |