##// END OF EJS Templates
timegen version 0.0.0.1
timegen version 0.0.0.1

File last commit:

r167:6c1a4ac855d5 patch rev 2
r170:3efd0a6e1344 VHDL_0_1_28
Show More
lfr_cpu_usage_report.h
32 lines | 653 B | text/x-c | CLexer
#ifndef LFR_CPU_USAGE_REPORT_H
#define LFR_CPU_USAGE_REPORT_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <inttypes.h>
#include <rtems/cpuuse.h>
#include <rtems/bspIo.h>
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
#include <rtems/score/timestamp.h>
#endif
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
extern Timestamp_Control CPU_usage_Uptime_at_last_reset;
#else
extern uint32_t CPU_usage_Ticks_at_last_reset;
#endif
unsigned char lfr_rtems_cpu_usage_report( void );
#endif // LFR_CPU_USAGE_REPORT_H