Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / performance-tests / CSD_Strategy / TestServant / Foo_Statistics.h
blob287fb68ab8010f72b1382ac82bec9b669a1e92dc
1 #ifndef FOO_STATISTICS_H
2 #define FOO_STATISTICS_H
4 #include "CSD_PT_TestServant_Export.h"
7 class CSD_PT_TestServant_Export Foo_Statistics
9 public:
10 Foo_Statistics();
11 virtual ~Foo_Statistics();
13 void init(unsigned num_clients, unsigned num_loops);
15 void expected(unsigned op_num, unsigned count);
16 void actual(unsigned op_num, unsigned count);
18 bool actual_vs_expected();
20 unsigned total() const;
23 private:
24 unsigned num_clients_;
25 unsigned num_loops_;
26 unsigned expected_[5];
27 unsigned actual_[5];
30 #endif