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 09/15/11 at 14:34:21

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
RevLine 
[793dd46]1/*
2 *  CPU Usage Reporter - Shared Data
3 *
[dca9a82]4 *  COPYRIGHT (c) 1989-2009
[793dd46]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
[c6f7e060]20#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
[baef6771]21  Timestamp_Control  CPU_usage_Uptime_at_last_reset;
[793dd46]22#else
23  uint32_t           CPU_usage_Ticks_at_last_reset;
24#endif
Note: See TracBrowser for help on using the repository browser.