4.104.115
Last change
on this file since c6f7e060 was
c6f7e060,
checked in by Glenn Humphrey <glenn.humphrey@…>, on 12/02/09 at 18:15:16
|
2009-12-02 Glenn Humphrey <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.
|
-
Property mode set to
100644
|
File size:
645 bytes
|
Line | |
---|
1 | /* |
---|
2 | * CPU Usage Reporter - Shared Data |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-2007 |
---|
5 | * On-Line Applications Research Corporation (OAR). |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.rtems.com/license/LICENSE. |
---|
10 | * |
---|
11 | * $Id$ |
---|
12 | */ |
---|
13 | |
---|
14 | #ifdef HAVE_CONFIG_H |
---|
15 | #include "config.h" |
---|
16 | #endif |
---|
17 | |
---|
18 | #include <rtems.h> |
---|
19 | #include <rtems/cpuuse.h> |
---|
20 | #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__ |
---|
21 | #include <rtems/score/timespec.h> |
---|
22 | #endif |
---|
23 | |
---|
24 | #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__ |
---|
25 | struct timespec CPU_usage_Uptime_at_last_reset; |
---|
26 | #else |
---|
27 | uint32_t CPU_usage_Ticks_at_last_reset; |
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.