diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-16 13:43:32 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-16 13:43:32 +0000 |
commit | 22ce2af73b4ac9a08875c3aa5b747d51ebff6a93 (patch) | |
tree | 004758981f5843d106963203036610f5247ee560 /performance-tests | |
parent | dc81223953c6edcef9eb93c59a87c1a11b8651db (diff) | |
download | ATCD-22ce2af73b4ac9a08875c3aa5b747d51ebff6a93.tar.gz |
(main): fixed program name
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/Misc/preempt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/performance-tests/Misc/preempt.cpp b/performance-tests/Misc/preempt.cpp index 509a46c1d8e..524aa964ed2 100644 --- a/performance-tests/Misc/preempt.cpp +++ b/performance-tests/Misc/preempt.cpp @@ -120,7 +120,7 @@ High_Priority_Task::svc (void) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "getprio failed"), -1); ACE_DEBUG ((LM_DEBUG, "(%t) High: prio = %d, priority_ = %d\n", - prio, this->priority_)); + prio, this->priority_)); ACE_ASSERT (this->priority_ == prio); ACE_Time_Value pause (0, read_period); @@ -200,7 +200,7 @@ Low_Priority_Task::svc (void) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "getprio failed"), -1); ACE_DEBUG ((LM_DEBUG, "(%t) Low: prio = %d, priority_ = %d\n", - prio, this->priority_)); + prio, this->priority_)); ACE_ASSERT (this->priority_ == prio); const u_int interval = 1; /* seconds */ @@ -332,7 +332,7 @@ main (int argc, char *argv[]) } else { - ACE_OS::perror ("context_switch_time"); + ACE_OS::perror ("preempt; ACE_OS::sched_params ()"); ACE_OS::exit (-1); } } @@ -340,7 +340,7 @@ main (int argc, char *argv[]) High_Priority_Task *high_priority_task; ACE_NEW_RETURN (high_priority_task, High_Priority_Task [high_priority_tasks], 1); - + Low_Priority_Task low_priority_task (high_priority_task[0]); // Save the start time, so that deltas can be displayed later. |