summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.i')
-rw-r--r--TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.i56
1 files changed, 0 insertions, 56 deletions
diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.i b/TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.i
deleted file mode 100644
index a0fabf450c8..00000000000
--- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Driver.i
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// $Id$
-//
-
-ACE_INLINE
-ECT_Driver::Latency_Stats::Latency_Stats (void)
- : n_ (0),
- sum_ (0),
- sum2_ (0),
- min_ (0),
- max_ (0)
-{
-}
-
-ACE_INLINE
-void ECT_Driver::Latency_Stats::sample (ACE_hrtime_t sample)
-{
- this->sum_ += sample;
- this->sum2_ += sample * sample;
- if (this->n_ == 0)
- {
- this->min_ = sample;
- this->max_ = sample;
- }
- else if (this->min_ > sample)
- this->min_ = sample;
- else if (this->max_ < sample)
- this->max_ = sample;
- this->n_++;
-}
-
-// ****************************************************************
-
-ACE_INLINE
-void ECT_Driver::end_to_end (ACE_hrtime_t sample)
-{
- this->end_to_end_.sample (sample);
-}
-
-ACE_INLINE
-void ECT_Driver::supplier_to_ec (ACE_hrtime_t sample)
-{
- this->supplier_to_ec_.sample (sample);
-}
-
-ACE_INLINE
-void ECT_Driver::inside_ec (ACE_hrtime_t sample)
-{
- this->inside_ec_.sample (sample);
-}
-
-ACE_INLINE
-void ECT_Driver::ec_to_consumer (ACE_hrtime_t sample)
-{
- this->ec_to_consumer_.sample (sample);
-}