aboutsummaryrefslogtreecommitdiff
path: root/src/modules/systemlib/cpuload.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-01-30 13:07:17 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-01-30 13:07:17 +0100
commit1458bdfbcb34d251da2476386864ee680407b90f (patch)
tree02e346b0e110bcdb5c4ef066c34826d7da3f46c2 /src/modules/systemlib/cpuload.h
parent2b17909f0c4131f6a728697f5de1eb13a1337234 (diff)
downloadpx4-firmware-1458bdfbcb34d251da2476386864ee680407b90f.tar.gz
px4-firmware-1458bdfbcb34d251da2476386864ee680407b90f.tar.bz2
px4-firmware-1458bdfbcb34d251da2476386864ee680407b90f.zip
Pure code style fix of cpuload, no funcationality changes
Diffstat (limited to 'src/modules/systemlib/cpuload.h')
-rw-r--r--src/modules/systemlib/cpuload.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/systemlib/cpuload.h b/src/modules/systemlib/cpuload.h
index c7aa18d3c..16d132fdb 100644
--- a/src/modules/systemlib/cpuload.h
+++ b/src/modules/systemlib/cpuload.h
@@ -40,15 +40,15 @@ __BEGIN_DECLS
#include <nuttx/sched.h>
struct system_load_taskinfo_s {
- uint64_t total_runtime; ///< Runtime since start (start_time - total_runtime)/(start_time - current_time) = load
- uint64_t curr_start_time; ///< Start time of the current scheduling slot
- uint64_t start_time; ///< FIRST start time of task
- FAR struct tcb_s *tcb; ///<
- bool valid; ///< Task is currently active / valid
+ uint64_t total_runtime; ///< Runtime since start (start_time - total_runtime)/(start_time - current_time) = load
+ uint64_t curr_start_time; ///< Start time of the current scheduling slot
+ uint64_t start_time; ///< FIRST start time of task
+ FAR struct tcb_s *tcb; ///<
+ bool valid; ///< Task is currently active / valid
};
struct system_load_s {
- uint64_t start_time; ///< Global start time of measurements
+ uint64_t start_time; ///< Global start time of measurements
struct system_load_taskinfo_s tasks[CONFIG_MAX_TASKS];
uint8_t initialized;
int total_count;