diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-07 21:53:24 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-07 21:53:24 +0000 |
commit | 0ca066bc20ad42f8e3a42b67117caa07bb7ef5ed (patch) | |
tree | 8497a0b39e7076e28c5736e06762bc1121561a3a /TAO/orbsvcs/tests | |
parent | 7ed129730facc385b08d877581353d967f458a78 (diff) | |
download | ATCD-0ca066bc20ad42f8e3a42b67117caa07bb7ef5ed.tar.gz |
added Quantify probes
Diffstat (limited to 'TAO/orbsvcs/tests')
-rw-r--r-- | TAO/orbsvcs/tests/Sched/DynSched_Test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Sched/DynSched_Test.cpp b/TAO/orbsvcs/tests/Sched/DynSched_Test.cpp index e91dd0c7d73..5456886a893 100644 --- a/TAO/orbsvcs/tests/Sched/DynSched_Test.cpp +++ b/TAO/orbsvcs/tests/Sched/DynSched_Test.cpp @@ -1,6 +1,9 @@ // $Id$ #include "Strategy_Scheduler.h" +#if defined (quantify) + #include <quantify.h> +#endif /* quantify */ // period times, in 100 nanoseconds #define ONE_HZ 10000000 @@ -173,7 +176,14 @@ run_schedule (ACE_Scheduler_Strategy &strategy, return -1; } +#if defined (quantify) + quantify_start_recording_data (); +#endif /* quantify */ ACE_DynScheduler::status_t status = scheduler.schedule (); +#if defined (quantify) + quantify_stop_recording_data (); +#endif /* quantify */ + switch (status) { case ACE_DynScheduler::SUCCEEDED: |