diff options
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.h')
-rw-r--r-- | TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.h b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.h index 4c1326497fb..233e270f3d7 100644 --- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.h +++ b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier.h @@ -12,14 +12,15 @@ #ifndef ECT_SUPPLIER_H #define ECT_SUPPLIER_H -#include "ECT_Driver.h" +#include "ace/Task.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/High_Res_Timer.h" #include "orbsvcs/Channel_Clients_T.h" -#include "ace/Task.h" +#include "ECT_Driver.h" class Test_Supplier : public ACE_Task<ACE_SYNCH> { @@ -63,9 +64,6 @@ public: void dump_results (const char* name); // Dump the results... - void accumulate (ECT_Driver::Throughput_Stats& stats) const; - // Add our statistics to <stats> - private: ECT_Driver *driver_; // Class we forward to. @@ -83,7 +81,7 @@ private: // We also connect to the EC as a consumer so we can receive the // timeout events. - ECT_Driver::Throughput_Stats throughput_; + ACE_High_Res_Timer timer_; // Measure the elapsed time spent while sending the events. int burst_count_; |