diff options
Diffstat (limited to 'ace/High_Res_Timer.h')
-rw-r--r-- | ace/High_Res_Timer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/High_Res_Timer.h b/ace/High_Res_Timer.h index b7125335c90..efb67ad1f74 100644 --- a/ace/High_Res_Timer.h +++ b/ace/High_Res_Timer.h @@ -136,6 +136,13 @@ public: // However, setting the global_scale_factor_ appropriately will // result in the finest resolution possible. +protected: + + static u_long get_registry_scale_factor (void); + // This is used to find out the Mhz of the machine for the scale + // factor. If there are any problems getting it, we just return 1 + // (the default). + private: static void hrtime_to_tv (ACE_Time_Value &tv, ACE_hrtime_t hrt); |