summaryrefslogtreecommitdiff
path: root/ttcp/rtems_ttcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttcp/rtems_ttcp.c')
-rw-r--r--ttcp/rtems_ttcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ttcp/rtems_ttcp.c b/ttcp/rtems_ttcp.c
index 0a4d81b..a828c66 100644
--- a/ttcp/rtems_ttcp.c
+++ b/ttcp/rtems_ttcp.c
@@ -85,6 +85,7 @@ getrusage(int ignored, struct rusage *ru)
static void
rtems_ttcp_exit (int code)
{
+ rtems_cpu_usage_report();
rtems_task_wake_after( RTEMS_MILLISECONDS_TO_TICKS(1000) );
rtems_bsdnet_show_mbuf_stats ();
rtems_bsdnet_show_if_stats ();
@@ -160,6 +161,7 @@ ttcpTask (rtems_task_argument arg)
printf ("or\n");
printf (" -t destination.internet.address\n");
}
+ rtems_cpu_usage_reset();
code = rtems_ttcp_main (argc, argv);
rtems_ttcp_exit (code);
}