summaryrefslogtreecommitdiff
path: root/ACE/ace/High_Res_Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/High_Res_Timer.h')
-rw-r--r--ACE/ace/High_Res_Timer.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/ace/High_Res_Timer.h b/ACE/ace/High_Res_Timer.h
index 848ec99040c..ff4d544159b 100644
--- a/ACE/ace/High_Res_Timer.h
+++ b/ACE/ace/High_Res_Timer.h
@@ -120,7 +120,7 @@ public:
static void global_scale_factor (global_scale_factor_type gsf);
/// Returns the global_scale_factor.
- static global_scale_factor_type global_scale_factor (void);
+ static global_scale_factor_type global_scale_factor ();
#ifndef ACE_HR_SCALE_CONVERSION
# define ACE_HR_SCALE_CONVERSION (ACE_ONE_SECOND_IN_USECS)
@@ -151,13 +151,13 @@ public:
const u_int iterations = 10);
/// Initialize the timer.
- ACE_High_Res_Timer (void);
+ ACE_High_Res_Timer ();
/// Destructor.
- ~ACE_High_Res_Timer (void);
+ ~ACE_High_Res_Timer ();
/// Reinitialize the timer.
- void reset (void);
+ void reset ();
/// Start timing.
void start (const ACE_OS::ACE_HRTimer_Op = ACE_OS::ACE_HRTIMER_GETTIME);
@@ -213,7 +213,7 @@ public:
ACE_HANDLE handle = ACE_STDOUT) const;
/// Dump the state of an object.
- void dump (void) const;
+ void dump () const;
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
@@ -224,7 +224,7 @@ public:
* as the gettimeofday function, thereby basing the timer calculations
* on the high res timer rather than wall clock time.
*/
- static ACE_Time_Value gettimeofday_hr (void);
+ static ACE_Time_Value gettimeofday_hr ();
/**
* @deprecated THIS FUNCTION IS DEPRECATED. PLEASE USE
@@ -252,7 +252,7 @@ public:
* factor. If there are any problems getting it, we just return 1
* (the default).
*/
- static ACE_UINT32 get_cpuinfo (void);
+ static ACE_UINT32 get_cpuinfo ();
#endif /* defined (ACE_LINUX) && !ACE_LACKS_SSCANF */
private: