mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2005-05-18 Chris Johns <chrisj@rtems.org>
* libmisc/capture/capture-cli.c: Fix the output of ctload when there exists a large number of tasks.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2005-05-18 Chris Johns <chrisj@rtems.org>
|
||||||
|
|
||||||
|
* libmisc/capture/capture-cli.c: Fix the output of ctload when
|
||||||
|
there exists a large number of tasks.
|
||||||
|
|
||||||
2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
|
2005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>
|
||||||
|
|
||||||
* Makefile.am, preinstall.am: Added a common irq.h
|
* Makefile.am, preinstall.am: Added a common irq.h
|
||||||
|
|||||||
@@ -433,12 +433,16 @@ rtems_capture_cli_task_load_thread (rtems_task_argument arg)
|
|||||||
fprintf(stdout," %qi\n", rtems_capture_task_time (tasks[i]));
|
fprintf(stdout," %qi\n", rtems_capture_task_time (tasks[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
while (j)
|
if (count < RTEMS_CAPTURE_CLI_MAX_LOAD_TASKS)
|
||||||
{
|
{
|
||||||
fprintf(stdout,"\x1b[K\n");
|
j = RTEMS_CAPTURE_CLI_MAX_LOAD_TASKS - count;
|
||||||
j--;
|
while (j > 0)
|
||||||
|
{
|
||||||
|
fprintf(stdout,"\x1b[K\n");
|
||||||
|
j--;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
last_count = count;
|
last_count = count;
|
||||||
|
|
||||||
cli_load_thread_active = 0;
|
cli_load_thread_active = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user