forked from Imagelibrary/rtems
score: Merge tod implementation into one file
Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <rtems/cpuuse.h>
|
||||
#include <rtems/score/objectimpl.h>
|
||||
#include <rtems/score/tod.h>
|
||||
#include <rtems/score/watchdogimpl.h>
|
||||
|
||||
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user