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

4.115
Last change on this file since baef6771 was baef6771, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 15, 2011 at 2:34:21 PM

2011-09-15 Sebastian Huber <sebastian.huber@…>

  • cpukit/libmisc/cpuuse/cpuuse.h, cpukit/libmisc/cpuuse/cpuusagedata.c, cpukit/libmisc/cpuuse/cpuusagereport.c, cpukit/libmisc/cpuuse/cpuusagereset.c: Fixed timestamp usage.
  • Property mode set to 100644
File size: 540 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/cpuuse.h>
19
20#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
21  Timestamp_Control  CPU_usage_Uptime_at_last_reset;
22#else
23  uint32_t           CPU_usage_Ticks_at_last_reset;
24#endif
Note: See TracBrowser for help on using the repository browser.