diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-29 18:11:10 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-29 18:11:10 +0000 |
commit | f238872f1a0c417175f374c9b411489e051e1f39 (patch) | |
tree | e7f5edd8f50b986824fd2833580120f581463e1e | |
parent | 86adb58cd66561861157c658267384acb294de9c (diff) | |
download | ATCD-f238872f1a0c417175f374c9b411489e051e1f39.tar.gz |
ChangeLogTag:Sat Nov 29 11:08:08 2003 Nanbor Wang <nanbor@cse.wustl.edu>
-rw-r--r-- | TAO/CIAO/ChangeLog | 9 | ||||
-rw-r--r-- | TAO/CIAO/docs/EnvVars.html | 39 | ||||
-rw-r--r-- | TAO/CIAO/performance-tests/Benchmark/RoundTripClient/RoundTripClient_exec.cpp | 7 |
3 files changed, 55 insertions, 0 deletions
diff --git a/TAO/CIAO/ChangeLog b/TAO/CIAO/ChangeLog index 78eb7f81e23..e099068dc71 100644 --- a/TAO/CIAO/ChangeLog +++ b/TAO/CIAO/ChangeLog @@ -1,3 +1,12 @@ +Sat Nov 29 11:08:08 2003 Nanbor Wang <nanbor@cse.wustl.edu> + + * docs/EnvVars.html: Documented the environment variables + recognized by CIAO. + + * performance-tests/Benchmark/RoundTripClient/RoundTripClient_exec.cpp: + Allowed dumping if sample history if the environment variable + CIAO_DUMP_SAMPLE_HISTORY = 1. + Fri Nov 28 22:45:13 2003 Nanbor Wang <nanbor@cse.wustl.edu> * ciao/ServerActivator_Impl.cpp: diff --git a/TAO/CIAO/docs/EnvVars.html b/TAO/CIAO/docs/EnvVars.html new file mode 100644 index 00000000000..2e8b08a8820 --- /dev/null +++ b/TAO/CIAO/docs/EnvVars.html @@ -0,0 +1,39 @@ +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> +<!-- $Id$ --> +<html> <head> +<title>Environment Variables used by CIAO</title> +</head> + +<body> +<h1>Environment Variables used by CIAO</h1> + +<ul> +<!-- <li><b><code></code></b><p> --> + <li><b><code>CIAO_DEBUG_LEVEL</code></b>: An interger value + accessible using <CODE>CIAO::debug_level()</CODE> call. + Currently, CIAO follow the following usage + conventions: + <ul> + <li> 20 < debug_level ≤ 20: Generate CIAO internal + debug messages + <li> 10 < debug_level ≤ 20: Generate CIAO tools + debug messages + <li> 0 < debug_level ≤ 10: Generate component-level + debug messages + </ul> <p> + + <li><b><code>CIAO_FIFO_SCHED</code></b>: Defining this Env. Var to 1 + will trigger ComponentServer to run in FIFO scheduling class.<p> + + <li><B><CODE>CIAO_DUMP_SAMPLE_HISTORY</CODE></B>: This environment + variable was added for lack of component configuration support. + Set it to 1 to turn on the dumping of performance samples to + stdout in some performance test components.<p> +</ul> + +<hr> +<address></address> +<!-- hhmts start --> +Last modified: Sat Nov 29 11:09:56 Mountain Standard Time 2003 +<!-- hhmts end --> +</body> </html> diff --git a/TAO/CIAO/performance-tests/Benchmark/RoundTripClient/RoundTripClient_exec.cpp b/TAO/CIAO/performance-tests/Benchmark/RoundTripClient/RoundTripClient_exec.cpp index 14ff7e05d66..775f640dd46 100644 --- a/TAO/CIAO/performance-tests/Benchmark/RoundTripClient/RoundTripClient_exec.cpp +++ b/TAO/CIAO/performance-tests/Benchmark/RoundTripClient/RoundTripClient_exec.cpp @@ -4,6 +4,7 @@ #include "ace/Sample_History.h" #include "ace/High_Res_Timer.h" #include "CIAO_common.h" +#include "ace/Env_Value_T.h" #include "RoundTripClient_exec.h" @@ -101,6 +102,12 @@ MyImpl::RoundTripClient_exec_i::start () ACE_UINT32 gsf = ACE_High_Res_Timer::global_scale_factor (); ACE_DEBUG ((LM_DEBUG, "done\n")); + ACE_Env_Value<int> envar ("CIAO_DUMP_SAMPLE_HISTORY", 0); + if (envar != 0) + { + history.dump_samples ("HISTORY", gsf); + } + ACE_Basic_Stats stats; history.collect_basic_stats (stats); stats.dump_results ("Total", gsf); |