diff options
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.h')
-rw-r--r-- | TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.h | 42 |
1 files changed, 2 insertions, 40 deletions
diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.h b/TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.h index 0a5b96dbc92..0124a535ba1 100644 --- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.h +++ b/TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.h @@ -52,14 +52,11 @@ public: public: Latency_Stats (void); - void dump_results (const char* test_name, - const char* sub_test); + void dump_results (const char* description, + const char* description2); void sample (ACE_hrtime_t sample); - void accumulate (const Latency_Stats& stats); - // Useful to merge several Latency_Stats. - private: u_long n_; ACE_hrtime_t sum_; @@ -68,41 +65,6 @@ public: ACE_hrtime_t max_; }; - class Throughput_Stats - { - // = TITLE - // Maintains throughput statistics. - // - // = DESCRIPTION - // This class is used to keep throughput statistics of the Event - // Channel. - // The data should be collected using the High Resolution - // timers. - public: - Throughput_Stats (void); - - void dump_results (const char* test_name, - const char* sub_test); - - void start (void); - // Start measuring the time. - - void stop (void); - // The test has completed - - void sample (void); - // An event has been received - - void accumulate (const Throughput_Stats& stats); - // Useful to merge several Throughput_Stats. - - private: - CORBA::ULong n_; - int done_; - ACE_hrtime_t start_; - ACE_hrtime_t stop_; - }; - private: Latency_Stats end_to_end_; Latency_Stats supplier_to_ec_; |