diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-12 07:31:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-31 10:10:36 +0200 |
commit | 01cb5540bd7b391f9a19c79b284fdfc4385afc06 (patch) | |
tree | 8ede13cd3006ac9d24990e8a5b6baffc5e324dfb /cpukit/libmisc/cpuuse/cpuuse.h | |
parent | cpuuse: Hide implementation details (diff) | |
download | rtems-01cb5540bd7b391f9a19c79b284fdfc4385afc06.tar.bz2 |
shell: Add CPUINFO command
Update #2723.
Diffstat (limited to 'cpukit/libmisc/cpuuse/cpuuse.h')
-rw-r--r-- | cpukit/libmisc/cpuuse/cpuuse.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuuse.h b/cpukit/libmisc/cpuuse/cpuuse.h index 55777186f8..23f58faf1b 100644 --- a/cpukit/libmisc/cpuuse/cpuuse.h +++ b/cpukit/libmisc/cpuuse/cpuuse.h @@ -73,6 +73,13 @@ void rtems_cpu_usage_top( void ); void rtems_cpu_usage_reset( void ); +/** + * @brief Reports per-processor information. + * + * @return The number of characters printed. + */ +int rtems_cpu_info_report( const rtems_printer *printer ); + #ifdef __cplusplus } #endif |