summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstorri <storri@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-24 21:23:51 +0000
committerstorri <storri@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-24 21:23:51 +0000
commitc347ac03956f9055f59d87761314037576ce04c4 (patch)
tree14645f20dd414b1afe246020150bd8815e397f4a
parent15cd191695e672977138aaf014f8ad785c074860 (diff)
downloadATCD-c347ac03956f9055f59d87761314037576ce04c4.tar.gz
Corrected elapsed time output
-rw-r--r--TAO/examples/Kokyu_dsrt_schedulers/edf_example/dt_oneway_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/Kokyu_dsrt_schedulers/edf_example/dt_oneway_client.cpp b/TAO/examples/Kokyu_dsrt_schedulers/edf_example/dt_oneway_client.cpp
index 02b4e6cd932..56f7a1e67c7 100644
--- a/TAO/examples/Kokyu_dsrt_schedulers/edf_example/dt_oneway_client.cpp
+++ b/TAO/examples/Kokyu_dsrt_schedulers/edf_example/dt_oneway_client.cpp
@@ -310,10 +310,10 @@ main (int argc, char *argv[])
DSUI_EVENT_LOG(MAIN_GROUP_FAM, STOP, 1, 0, NULL);
non_dsui_timer.stop();
- ACE_Time_Value dsui_ovhd_time;
+ ACE_hrtime_t dsui_ovhd_time;
non_dsui_timer.elapsed_time (dsui_ovhd_time);
- ACE_DEBUG ((LM_DEBUG, "Elapsed time: %lu\n", ((double)dsui_ovhd_time.msec() / 1000)));
+ ACE_OS::printf ( ACE_TEXT ("Elapsed time: %lu (nsec)\n"), dsui_ovhd_time);
return 0;
}