summaryrefslogtreecommitdiff
path: root/ACE/ace/Profile_Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Profile_Timer.h')
-rw-r--r--ACE/ace/Profile_Timer.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/ACE/ace/Profile_Timer.h b/ACE/ace/Profile_Timer.h
index 6d682b72c50..9419f19c505 100644
--- a/ACE/ace/Profile_Timer.h
+++ b/ACE/ace/Profile_Timer.h
@@ -96,14 +96,7 @@ private:
/// Keep track of the last rusage for incremental timing.
ACE_Profile_Timer::Rusage last_usage_;
-#if defined (ACE_HAS_PRUSAGE_T)
- /// Subtract two timestructs and store their difference.
- void subtract (timespec_t &tdiff, timespec_t &t0, timespec_t &t1);
-
- /// I/O handle for /proc file system.
- ACE_HANDLE proc_handle_;
-
-#elif defined (ACE_HAS_GETRUSAGE)
+#if defined (ACE_HAS_GETRUSAGE)
/// Subtract two timestructs and store their difference.
void subtract (timeval &tdiff,
timeval &t0,
@@ -117,12 +110,12 @@ private:
/// Keep track of the last time for incremental timing.
timeval last_time_;
-#endif /* ACE_HAS_PRUSAGE_T */
+#endif /* ACE_HAS_GETRUSAGE */
-#if defined (ACE_WIN32) || (!defined (ACE_HAS_PRUSAGE_T) && !defined (ACE_HAS_GETRUSAGE))
+#if defined (ACE_WIN32) || !defined (ACE_HAS_GETRUSAGE)
/// The high resolution timer
ACE_High_Res_Timer timer_;
-#endif /* ACE_WIN32 || !ACE_HAS_PRUSAGE_T && !ACE_HAS_GETRUSAGE */
+#endif /* ACE_WIN32 || !ACE_HAS_GETRUSAGE */
};
ACE_END_VERSIONED_NAMESPACE_DECL