Changeset baef6771 in rtems for cpukit/libmisc/cpuuse/cpuuse.h


Ignore:
Timestamp:
Sep 15, 2011, 2:34:21 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
82db8e56
Parents:
e41cec3
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/cpuuse/cpuuse.h

    re41cec3 rbaef6771  
    2020#define __RTEMS_CPUUSE_h
    2121
     22#include <rtems.h>
    2223#include <rtems/bspIo.h>
     24
     25#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
     26  #include <rtems/score/timestamp.h>
     27#endif
    2328
    2429#ifdef __cplusplus
    2530extern "C" {
     31#endif
     32
     33#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
     34  extern Timestamp_Control  CPU_usage_Uptime_at_last_reset;
     35#else
     36  extern uint32_t           CPU_usage_Ticks_at_last_reset;
    2637#endif
    2738
Note: See TracChangeset for help on using the changeset viewer.