summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/results.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/results.h')
-rw-r--r--TAO/tests/Param_Test/results.h77
1 files changed, 0 insertions, 77 deletions
diff --git a/TAO/tests/Param_Test/results.h b/TAO/tests/Param_Test/results.h
deleted file mode 100644
index 2b13af0495e..00000000000
--- a/TAO/tests/Param_Test/results.h
+++ /dev/null
@@ -1,77 +0,0 @@
-// $Id:
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Param_Test
-//
-// = FILENAME
-// results.h
-//
-// = DESCRIPTION
-// Printing the results
-//
-// = AUTHORS
-// Aniruddha Gokhale
-//
-// ============================================================================
-
-#if !defined (RESULTS_H)
-#define RESULTS_H
-
-#include "ace/Profile_Timer.h"
-#include "ace/Log_Msg.h"
-#include "tao/corba.h"
-
-class Results
-{
-public:
- Results (void);
- // ctor
-
- ~Results (void);
- // destructor
-
- void print_stats (const char *call_name);
- // prints the time stats
-
- void print_exception (const char *call_name,
- CORBA::Environment &);
- // print the exception
-
- void start_timer (void);
- // start timing
-
- void stop_timer (void);
- // stop timing
-
- CORBA::ULong call_count (void);
- // return call count
-
- void call_count (CORBA::ULong);
- // set the call count
-
- CORBA::ULong error_count (void);
- // return the error count
-
- void error_count (CORBA::ULong);
- // set error count
-
- void iterations (CORBA::ULong iters);
- // set the number of times the test will be run
-
-private:
- CORBA::ULong call_count_;
- // # of calls made to functions
-
- CORBA::ULong error_count_;
- // # of errors incurred in the lifetime of the application.
-
- ACE_Profile_Timer timer_;
- // for timing the test
-
- ACE_Profile_Timer::ACE_Elapsed_Time *elapsed_time_;
- // holds the elapsed time for each iteration
-};
-
-#endif /* RESULTS_H */