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/cpuusagereset.c

    re41cec3 rbaef6771  
    1515#include "config.h"
    1616#endif
    17 
    18 #include <rtems.h>
    19 #include <rtems/score/timestamp.h>
    2017
    2118#include <stdlib.h>
     
    3734
    3835/*
    39  * External data that is shared by cpu usage code but not declared in .h files.
    40  */
    41 #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
    42   extern Timestamp_Control CPU_usage_Uptime_at_last_reset;
    43 #else
    44   extern uint32_t   CPU_usage_Ticks_at_last_reset;
    45 #endif
    46 
    47 /*
    4836 *  rtems_cpu_usage_reset
    4937 */
Note: See TracChangeset for help on using the changeset viewer.