summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/cpuuse
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/cpuuse')
-rw-r--r--cpukit/libmisc/cpuuse/cpuinforeport.c2
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagedata.c7
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagereport.c5
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagereset.c5
-rw-r--r--cpukit/libmisc/cpuuse/cpuusagetop.c5
-rw-r--r--cpukit/libmisc/cpuuse/cpuuseimpl.h26
6 files changed, 39 insertions, 11 deletions
diff --git a/cpukit/libmisc/cpuuse/cpuinforeport.c b/cpukit/libmisc/cpuuse/cpuinforeport.c
index dcbc7f1747..ac9ad10169 100644
--- a/cpukit/libmisc/cpuuse/cpuinforeport.c
+++ b/cpukit/libmisc/cpuuse/cpuinforeport.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/*
- * Copyright (c) 2016 embedded brains GmbH. All rights reserved.
+ * Copyright (c) 2016 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/cpukit/libmisc/cpuuse/cpuusagedata.c b/cpukit/libmisc/cpuuse/cpuusagedata.c
index 350ade309b..fa39a6d754 100644
--- a/cpukit/libmisc/cpuuse/cpuusagedata.c
+++ b/cpukit/libmisc/cpuuse/cpuusagedata.c
@@ -3,11 +3,10 @@
/**
* @file
*
- * @ingroup libmisc_cpuuse CPU Usage
+ * @ingroup RTEMSImplCPUUsageReporting
*
- * @brief CPU Usage Data
- *
- * CPU Usage Reporter - Shared Data
+ * @brief This source file contains the definition of
+ * ::CPU_usage_Uptime_at_last_reset.
*/
/*
diff --git a/cpukit/libmisc/cpuuse/cpuusagereport.c b/cpukit/libmisc/cpuuse/cpuusagereport.c
index bc7c897db5..bdeee375e3 100644
--- a/cpukit/libmisc/cpuuse/cpuusagereport.c
+++ b/cpukit/libmisc/cpuuse/cpuusagereport.c
@@ -3,9 +3,10 @@
/**
* @file
*
- * @ingroup libmisc_cpuuse CPU Usage
+ * @ingroup RTEMSImplCPUUsageReporting
*
- * @brief CPU Usage Report
+ * @brief This source file contains the definition of
+ * rtems_cpu_usage_report() and rtems_cpu_usage_report_with_plugin().
*/
/*
diff --git a/cpukit/libmisc/cpuuse/cpuusagereset.c b/cpukit/libmisc/cpuuse/cpuusagereset.c
index bdfba7c944..e56ab3cded 100644
--- a/cpukit/libmisc/cpuuse/cpuusagereset.c
+++ b/cpukit/libmisc/cpuuse/cpuusagereset.c
@@ -3,9 +3,10 @@
/**
* @file
*
- * @ingroup libmisc_cpuuse CPU Usage
+ * @ingroup RTEMSImplCPUUsageReporting
*
- * @brief CPU Usage Reset
+ * @brief This source file contains the definition of
+ * rtems_cpu_usage_reset().
*/
/*
diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/cpuuse/cpuusagetop.c
index 045a38ae55..eed89ad211 100644
--- a/cpukit/libmisc/cpuuse/cpuusagetop.c
+++ b/cpukit/libmisc/cpuuse/cpuusagetop.c
@@ -3,9 +3,10 @@
/**
* @file
*
- * @ingroup libmisc_cpuuse CPU Usage
+ * @ingroup RTEMSImplCPUUsageReporting
*
- * @brief CPU Usage Top
+ * @brief This source file contains the definition of
+ * rtems_cpu_usage_top() and rtems_cpu_usage_top_with_plugin().
*/
/*
diff --git a/cpukit/libmisc/cpuuse/cpuuseimpl.h b/cpukit/libmisc/cpuuse/cpuuseimpl.h
index 1162d1e892..8c6c407b4b 100644
--- a/cpukit/libmisc/cpuuse/cpuuseimpl.h
+++ b/cpukit/libmisc/cpuuse/cpuuseimpl.h
@@ -1,5 +1,14 @@
/* SPDX-License-Identifier: BSD-2-Clause */
+/**
+ * @file
+ *
+ * @ingroup RTEMSImplCPUUsageReporting
+ *
+ * @brief This header file provides interfaces of the
+ * @ref RTEMSImplCPUUsageReporting implementation.
+ */
+
/*
* COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
@@ -35,8 +44,25 @@
extern "C" {
#endif
+/**
+ * @defgroup RTEMSImplCPUUsageReporting CPU Usage Reporting
+ *
+ * @ingroup RTEMSImpl
+ *
+ * @brief This group contains the implementation of
+ * @ref RTEMSAPICPUUsageReporting.
+ *
+ * @{
+ */
+
+/**
+ * @brief This object provides the uptime timestamp at the last CPU usage
+ * reset.
+ */
extern Timestamp_Control CPU_usage_Uptime_at_last_reset;
+/** @} */
+
#ifdef __cplusplus
}
#endif