diff options
Diffstat (limited to 'cpukit/libmisc/cpuuse/cpuuse.h')
-rw-r--r-- | cpukit/libmisc/cpuuse/cpuuse.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuuse.h b/cpukit/libmisc/cpuuse/cpuuse.h new file mode 100644 index 0000000000..b38927e7c6 --- /dev/null +++ b/cpukit/libmisc/cpuuse/cpuuse.h @@ -0,0 +1,51 @@ +/* cpuuse.h + * + * This include file contains information necessary to utilize + * and install the cpu usage reporting mechanism. + * + * COPYRIGHT (c) 1989-2007. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef __RTEMS_CPUUSE_h +#define __RTEMS_CPUUSE_h + +#include <rtems/bspIo.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * rtems_cpu_usage_report_with_handler + */ + +void rtems_cpu_usage_report_with_plugin( + void *context, + rtems_printk_plugin_t handler +); + +/* + * rtems_cpu_usage_report + */ + +void rtems_cpu_usage_report( void ); + +/* + * rtems_cpu_usage_reset + */ + +void rtems_cpu_usage_reset( void ); + +#ifdef __cplusplus +} +#endif + +#endif +/* end of include file */ |