summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/cpuuse/cpuusagereset.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-25 15:10:11 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-26 11:55:47 +0200
commit88c74ab115b5135d4d93050596905d6ee573dd1e (patch)
tree395b852dd384040e20a6f178e913dddccac436bf /cpukit/libmisc/cpuuse/cpuusagereset.c
parentscore: Create object implementation header (diff)
downloadrtems-88c74ab115b5135d4d93050596905d6ee573dd1e.tar.bz2
score: Merge tod implementation into one file
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagereset.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuusagereset.c b/cpukit/libmisc/cpuuse/cpuusagereset.c
index 77bd095ffa..9f682f386c 100644
--- a/cpukit/libmisc/cpuuse/cpuusagereset.c
+++ b/cpukit/libmisc/cpuuse/cpuusagereset.c
@@ -18,11 +18,9 @@
#include "config.h"
#endif
-#include <stdlib.h>
-#include <ctype.h>
-#include <inttypes.h>
-
#include <rtems/cpuuse.h>
+#include <rtems/score/thread.h>
+#include <rtems/score/tod.h>
#include <rtems/score/watchdogimpl.h>
static void CPU_usage_Per_thread_handler(