diff options
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.h')
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.h b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.h deleted file mode 100644 index b42ea4c334c..00000000000 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Timer.h +++ /dev/null @@ -1,56 +0,0 @@ -/* -*- C++ -*- */ -/* $Id$ */ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests -// -// = FILENAME -// Timer.h -// -// = AUTHOR -// Andy Gokhale, Sumedh Mungee, Sergio Flores-Gaitan and Nagarajan -// Surendran. -// -// ============================================================================ - -#if !defined (_MT_CUBIT_TIMER_H) -#define _MT_CUBIT_TIMER_H - -#include "ace/OS.h" -#include "ace/High_Res_Timer.h" - -class MT_Cubit_Timer -{ - // = TITLE - // A class that encapsulates the pccTimer for chorus and uses - // ACE Timer for other platforms. -public: - MT_Cubit_Timer (u_int granularity); - - void start (void); - void stop (void); - - ACE_timer_t get_elapsed (void); - -private: - ACE_High_Res_Timer timer_; - // timer. - - ACE_Time_Value delta_; - // Elapsed time in microseconds. - - u_int granularity_; - // This is the granularity of the timing of the CORBA requests. A - // value of 5 represents that we will take time every 5 requests, - // instead of the default of every request (1). - -#if defined (CHORUS) - // Variables for the pccTimer. - int pstartTime_; - int pstopTime_; -#endif /* CHORUS */ -}; - -#endif /* _MT_CUBIT_TIMER_H */ |