diff options
author | Brent Eagles <brent@zeroc.com> | 2006-07-27 17:23:26 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2006-07-27 17:23:26 +0000 |
commit | c22c214d90cb0fd858233ba79c02bdc282a554af (patch) | |
tree | dbbe14ae1f8cab2d4e79d7e63904dff5db26863f /perf/src/CosEvent/Service.cpp | |
parent | ["nonmutating"] support (diff) | |
download | ice-c22c214d90cb0fd858233ba79c02bdc282a554af.tar.bz2 ice-c22c214d90cb0fd858233ba79c02bdc282a554af.tar.xz ice-c22c214d90cb0fd858233ba79c02bdc282a554af.zip |
- Some code cleanup.
- Renamed files that were implementation specific to more closely align
with Ice file naming rules.
- Changed dependencies so that they refer to environment variables instead
of relative or absolute directories specific to the platform that the
dependencies were generated on.
- Added file headers (still need to double check for missing ones)
- Removed CVS generated comments from cut-n-paste coding from TAO demos,
etc.
- Added a Make.tao.rules file to consolidate TAO build specific options,
similar to those being use by the IceE and Ice test programs.
- Changed the runIcePerf.py script to use external tables of test
descriptions and a loop instead of using hand coded repeated function
calls. This makes regular expression a little more intuitive. (It was
originally done to make it easier to remove the omniORB tests from the
distribution, but that was later deemed unnecessary, I like it better
anyway).
- Updated code to remove APIs that were deprecated in Ice 3.1 and the next
revision of IceE ... err. that might've been a mistake , since we
haven't released the new IceE yet.
Diffstat (limited to 'perf/src/CosEvent/Service.cpp')
-rw-r--r-- | perf/src/CosEvent/Service.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/perf/src/CosEvent/Service.cpp b/perf/src/CosEvent/Service.cpp index 5bef6ba75be..7004d6f07e6 100644 --- a/perf/src/CosEvent/Service.cpp +++ b/perf/src/CosEvent/Service.cpp @@ -15,36 +15,6 @@ const char *ior_output_file = "ec.ior"; -// -// Parse command line arguments, returning 0 on success, -1 on failure. -// -static int -parse_args(int argc, char *argv[]) -{ - ACE_Get_Opt get_opts(argc, argv, "n:o:"); - int c; - - while((c = get_opts()) != -1) - { - switch(c) - { - case 'o': - ior_output_file = get_opts.opt_arg(); - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s " - "-o <iorfile>" - "\n", - argv [0]), - -1); - } - } - return 0; -} - class EventChannel : public TAO_CEC_EventChannel { public: |