diff options
author | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-02-08 03:31:10 +0000 |
---|---|---|
committer | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-02-08 03:31:10 +0000 |
commit | d20bbddef56700f0a09ee730e7de7ddd249c0e48 (patch) | |
tree | 659d6fdc3a5cd5b2d2bb5d2ce6459d9d77125f69 /CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Benchmark_Impl.h | |
parent | 8205dd8f81b048634ccd4c87725f475e16559c24 (diff) | |
download | ATCD-ReDaC_02.tar.gz |
Added a Plan_Launcher_Benchmark_Impl.{h,cpp} subclass which overrides the launch_plan() method to collect benchmarking results.ReDaC_02
Also modified the base class to take additional command line argument to specify the number of iterations to deploy the application.
Diffstat (limited to 'CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Benchmark_Impl.h')
-rw-r--r-- | CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Benchmark_Impl.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Benchmark_Impl.h b/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Benchmark_Impl.h new file mode 100644 index 00000000000..8599434714f --- /dev/null +++ b/CIAO/DAnCE/Plan_Launcher/Plan_Launcher_Benchmark_Impl.h @@ -0,0 +1,44 @@ +/** + * $Id$ + * @file Plan_Launcher_Benchmark_Impl.h + * @author Gan Deng <dengg@dre.vanderbilt.edu> + * + * A subclass of the Plan_Launcher_i class, which overrides the method + * called lauch_plan() to collect benchmarking results.. + */ +#ifndef PLAN_LAUNCHER_BENCHMARK_IMPL_H +#define PLAN_LAUNCHER_BENCHMARK_IMPL_H + +#include "Plan_Launcher_Impl.h" + +namespace CIAO +{ + namespace Plan_Launcher + { + /** + * @class Plan_Launcher_Benchmark_i + * @brief This class is a subclass of Plan_Launcher_i which is solely for + * benchmarking purpose. + */ + class Plan_Launcher_Impl_Export Plan_Launcher_Benchmark_i + : public Plan_Launcher_i + { + public: + + /** + * @brief Launch a plan, given an IDL deployment plan + * @param plan A valid IDL deployment plan + * @returns a string containing the UUID of the plan. Null indicates failure. + */ + virtual const char * launch_plan (const ::Deployment::DeploymentPlan &plan + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((Plan_Launcher_i::Deployment_Failure)); + + protected: + + }; + + } +} + +#endif /* PLAN_LAUNCHER_BENCHMARK_IMPL_H */ |