summaryrefslogtreecommitdiff
path: root/ACE/TAO/performance-tests/CSD_Strategy/TestServant/Foo_Statistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/performance-tests/CSD_Strategy/TestServant/Foo_Statistics.h')
-rw-r--r--ACE/TAO/performance-tests/CSD_Strategy/TestServant/Foo_Statistics.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/ACE/TAO/performance-tests/CSD_Strategy/TestServant/Foo_Statistics.h b/ACE/TAO/performance-tests/CSD_Strategy/TestServant/Foo_Statistics.h
new file mode 100644
index 00000000000..e864489f9b3
--- /dev/null
+++ b/ACE/TAO/performance-tests/CSD_Strategy/TestServant/Foo_Statistics.h
@@ -0,0 +1,33 @@
+// $Id$
+#ifndef FOO_STATISTICS_H
+#define FOO_STATISTICS_H
+
+#include "CSD_PT_TestServant_Export.h"
+
+
+class CSD_PT_TestServant_Export Foo_Statistics
+{
+ public:
+
+ Foo_Statistics();
+ virtual ~Foo_Statistics();
+
+ void init(unsigned num_clients, unsigned num_loops);
+
+ void expected(unsigned op_num, unsigned count);
+ void actual(unsigned op_num, unsigned count);
+
+ bool actual_vs_expected();
+
+ unsigned total() const;
+
+
+ private:
+
+ unsigned num_clients_;
+ unsigned num_loops_;
+ unsigned expected_[5];
+ unsigned actual_[5];
+};
+
+#endif