diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-04-12 12:32:30 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-04-12 12:32:30 +0000 |
commit | c725c2bf806ac02c1020423ecdf73bf5122587e4 (patch) | |
tree | 56fad91533321efb97688117600416dff8155519 /CIAO/performance-tests/Benchmark | |
parent | 1b07c2d449695b20e3660c978f115c83f3d59abb (diff) | |
download | ATCD-c725c2bf806ac02c1020423ecdf73bf5122587e4.tar.gz |
Mon Apr 12 12:33:31 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* performance-tests/Benchmark/RoundTrip/client.cpp:
Const change
* ciao/Servants/Connector_Servant_Impl_Base.cpp:
* ciao/Servants/Servant_Impl_Base.cpp:
Use regular guards instead of rw guards
Diffstat (limited to 'CIAO/performance-tests/Benchmark')
-rw-r--r-- | CIAO/performance-tests/Benchmark/RoundTrip/client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp b/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp index dd85e7b77d1..a365068b76f 100644 --- a/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp +++ b/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp @@ -133,18 +133,18 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) ACE_hrtime_t test_start = ACE_OS::gethrtime (); for (int i = 0; i < niterations; ++i) { - ACE_hrtime_t start = ACE_OS::gethrtime (); + ACE_hrtime_t const start = ACE_OS::gethrtime (); - //Test value to be sent to the server + // Test value to be sent to the server long test = 0; (void) round_trip->makeCall (test); - ACE_hrtime_t now = ACE_OS::gethrtime (); + ACE_hrtime_t const now = ACE_OS::gethrtime (); history.sample (now - start); } - ACE_hrtime_t test_end = ACE_OS::gethrtime (); + ACE_hrtime_t const test_end = ACE_OS::gethrtime (); ACE_DEBUG ((LM_DEBUG, "test finished\n")); |