diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-04-11 19:02:32 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-04-11 19:02:32 +0000 |
commit | b5cea0a4629624183d5c86163ac4da4d9a87fe83 (patch) | |
tree | 286f403ec9fc0b09b70f9fe8b47a3b30f3ae8ee0 /ace/High_Res_Timer.h | |
parent | 4c3537c33e2dd602ee422f6ff0a3bc982d533b54 (diff) | |
download | ATCD-b5cea0a4629624183d5c86163ac4da4d9a87fe83.tar.gz |
removed supported () because gettimeofday () is used if a high-res timer isn't available
Diffstat (limited to 'ace/High_Res_Timer.h')
-rw-r--r-- | ace/High_Res_Timer.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ace/High_Res_Timer.h b/ace/High_Res_Timer.h index 07976d1a90b..d119b529075 100644 --- a/ace/High_Res_Timer.h +++ b/ace/High_Res_Timer.h @@ -28,9 +28,8 @@ class ACE_Export ACE_High_Res_Timer // Most of the member functions don't return values. The only // reason that one would fail is if high-resolution time isn't // supported on the platform. To avoid impacting performance and - // complicating the interface, the "supported ()" member function was - // added. It returns 1 if high-resolution time (ACE_OS::gethrtime ()) - // is supported on the platform, and 0 if not. + // complicating the interface, in that case, ACE_OS::gettimeofday () + // is used instead. // // The global scale factor is required for platforms that have // high-resolution timers that return units other than @@ -56,9 +55,6 @@ class ACE_Export ACE_High_Res_Timer public: // = Initialization method. - static int supported (); - // Returns 1 if high-resolution time is supported on the platform, 0 if not. - static void global_scale_factor (u_long gsf); // global_scale_factor_ is set to <gsf>. All High_Res_Timers use // global_scale_factor_. This allows applications to set the scale |