5
Last change
on this file since 5e072f6d was
5e072f6d,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/31/16 at 07:52:36
|
cpuuse: Hide implementation details
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/cpuuse.h |
---|
3 | * |
---|
4 | * @defgroup libmisc_cpuuse CPU Usage |
---|
5 | * |
---|
6 | * @ingroup libmisc |
---|
7 | * @brief CPU Usage Report |
---|
8 | * |
---|
9 | * This include file contains information necessary to utilize |
---|
10 | * and install the cpu usage reporting mechanism. |
---|
11 | */ |
---|
12 | |
---|
13 | /* |
---|
14 | * COPYRIGHT (c) 1989-2011. |
---|
15 | * On-Line Applications Research Corporation (OAR). |
---|
16 | * |
---|
17 | * The license and distribution terms for this file may be |
---|
18 | * found in the file LICENSE in this distribution or at |
---|
19 | * http://www.rtems.org/license/LICENSE. |
---|
20 | */ |
---|
21 | |
---|
22 | #ifndef __RTEMS_CPUUSE_h |
---|
23 | #define __RTEMS_CPUUSE_h |
---|
24 | |
---|
25 | #include <rtems.h> |
---|
26 | #include <rtems/print.h> |
---|
27 | |
---|
28 | /** |
---|
29 | * @defgroup libmisc_cpuuse CPU Usage |
---|
30 | * |
---|
31 | * @ingroup libmisc |
---|
32 | */ |
---|
33 | /**@{*/ |
---|
34 | #ifdef __cplusplus |
---|
35 | extern "C" { |
---|
36 | #endif |
---|
37 | |
---|
38 | /* |
---|
39 | * rtems_cpu_usage_report_with_handler |
---|
40 | */ |
---|
41 | |
---|
42 | void rtems_cpu_usage_report_with_plugin( const rtems_printer *printer ); |
---|
43 | |
---|
44 | /** |
---|
45 | * @brief Report CPU usage. |
---|
46 | * |
---|
47 | * CPU Usage Reporter |
---|
48 | */ |
---|
49 | |
---|
50 | void rtems_cpu_usage_report( void ); |
---|
51 | |
---|
52 | /** |
---|
53 | * @brief CPU usage Top plugin |
---|
54 | * |
---|
55 | * Report CPU Usage in top format to |
---|
56 | * to a print plugin. |
---|
57 | */ |
---|
58 | void rtems_cpu_usage_top_with_plugin( const rtems_printer *printer ); |
---|
59 | |
---|
60 | /** |
---|
61 | * @brief CPU usage top. |
---|
62 | * |
---|
63 | * CPU Usage top |
---|
64 | */ |
---|
65 | |
---|
66 | void rtems_cpu_usage_top( void ); |
---|
67 | |
---|
68 | /** |
---|
69 | * @brief Reset CPU usage. |
---|
70 | * |
---|
71 | * CPU Usage Reporter |
---|
72 | */ |
---|
73 | |
---|
74 | void rtems_cpu_usage_reset( void ); |
---|
75 | |
---|
76 | #ifdef __cplusplus |
---|
77 | } |
---|
78 | #endif |
---|
79 | /**@}*/ |
---|
80 | #endif |
---|
81 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.