summaryrefslogtreecommitdiff
path: root/ACE/ace/Stats.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-06-29 13:39:16 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-06-29 13:39:16 +0000
commit9d2c020b3d7bc6ff9f4436298666cd64617081af (patch)
treeb54a594e7857bda019eb2ec447d0bcc793ace090 /ACE/ace/Stats.h
parentd9a50313d8a0b36c2e7b0c178953eaecc8d0fc36 (diff)
downloadATCD-9d2c020b3d7bc6ff9f4436298666cd64617081af.tar.gz
Fri Jun 29 13:38:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Stats.h')
-rw-r--r--ACE/ace/Stats.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/ACE/ace/Stats.h b/ACE/ace/Stats.h
index 8d97bb349c0..35cdde1a3d3 100644
--- a/ACE/ace/Stats.h
+++ b/ACE/ace/Stats.h
@@ -211,62 +211,6 @@ protected:
ACE_Unbounded_Queue <ACE_INT32> samples_;
};
-// ****************************************************************
-
-
-/// A simple class to make throughput and latency analysis.
-/**
- *
- * Keep the relevant information to perform throughput and latency
- * analysis, including:
- * -# Minimum, Average and Maximum latency
- * -# Jitter for the latency
- * -# Linear regression for throughput
- * -# Accumulate results from several samples to obtain aggregated
- * results, across several threads or experiments.
- *
- * @todo The idea behind this class was to use linear regression to
- * determine if the throughput was linear or exhibited jitter.
- * Unfortunately it never worked quite right, so only average
- * throughput is computed.
- */
-class ACE_Export ACE_Throughput_Stats : public ACE_Basic_Stats
-{
-public:
- /// Constructor
- ACE_Throughput_Stats (void);
-
- /// Store one sample
- void sample (ACE_UINT64 throughput, ACE_UINT64 latency);
-
- /// Update the values to reflect the stats in @a throughput
- void accumulate (const ACE_Throughput_Stats &throughput);
-
- /// Print down the stats
- void dump_results (const ACE_TCHAR* msg, ACE_UINT32 scale_factor);
-
- /// Dump the average throughput stats.
- static void dump_throughput (const ACE_TCHAR *msg,
- ACE_UINT32 scale_factor,
- ACE_UINT64 elapsed_time,
- ACE_UINT32 samples_count);
-private:
- /// The last throughput measurement.
- ACE_UINT64 throughput_last_;
-
-#if 0
- /// These are the fields that we should keep to perform linear
- /// regression
- //@{
- ///@}
- ACE_UINT64 throughput_sum_x_;
- ACE_UINT64 throughput_sum_x2_;
- ACE_UINT64 throughput_sum_y_;
- ACE_UINT64 throughput_sum_y2_;
- ACE_UINT64 throughput_sum_xy_;
-#endif /* 0 */
-};
-
ACE_END_VERSIONED_NAMESPACE_DECL
#if defined (__ACE_INLINE__)