source: rtems/cpukit/libmisc/cpuuse/cpuusagedata.c @ dca9a82

4.104.115
Last change on this file since dca9a82 was dca9a82, checked in by Glenn Humphrey <glenn.humphrey@…>, on 12/02/09 at 18:22:19

2009-12-02 Glenn Humphrey <glenn.humphrey@…>

  • libcsupport/src/times.c, libmisc/cpuuse/cpuusagedata.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, rtems/include/rtems/rtems/types.h, rtems/src/ratemongetstatistics.c, rtems/src/ratemonreportstatistics.c, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Updated copyright line.
  • Property mode set to 100644
File size: 645 bytes
Line 
1/*
2 *  CPU Usage Reporter - Shared Data
3 *
4 *  COPYRIGHT (c) 1989-2009
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.