From c6f7e060eaeb951a86dc640855e88c6f8260a347 Mon Sep 17 00:00:00 2001 From: Glenn Humphrey Date: Wed, 2 Dec 2009 18:15:16 +0000 Subject: 2009-12-02 Glenn Humphrey * configure.ac, libcsupport/src/__times.c, libmisc/cpuuse/cpuusagedata.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, rtems/include/rtems/rtems/ratemon.h, rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c, score/include/rtems/score/thread.h, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Changed the configuration of statistics granularity to use just one define. --- cpukit/configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/configure.ac') diff --git a/cpukit/configure.ac b/cpukit/configure.ac index eca8f670f7..cac444653f 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -154,6 +154,11 @@ RTEMS_CPUOPT([RTEMS_VERSION], ["]_RTEMS_VERSION["], [RTEMS version string]) +RTEMS_CPUOPT([__RTEMS_USE_TICKS_FOR_STATISTICS__], + [test x"${USE_TICKS_FOR_STATISTICS}" = x"1"], + [1], + [disable nanosecond granularity for statistics]) + RTEMS_CPUOPT([__RTEMS_USE_TICKS_CPU_USAGE_STATISTICS__], [test x"${USE_TICKS_FOR_CPU_USAGE_STATISTICS}" = x"1"], [1], -- cgit v1.2.3