diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-23 10:55:01 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-23 10:55:01 -0600 |
commit | 7c745cd460ea7361719b9fd18a35491beed92623 (patch) | |
tree | b35642399f2cbe11bbe6c9a57f6cf2d90fea3ffb /nuttx/sched/Makefile | |
parent | 875b32e8389ac6e06bfb328e992c1865445d96c1 (diff) | |
download | px4-nuttx-7c745cd460ea7361719b9fd18a35491beed92623.tar.gz px4-nuttx-7c745cd460ea7361719b9fd18a35491beed92623.tar.bz2 px4-nuttx-7c745cd460ea7361719b9fd18a35491beed92623.zip |
CPU load calculations now available for all threads. Available in /proc/pid/loadavg
Diffstat (limited to 'nuttx/sched/Makefile')
-rw-r--r-- | nuttx/sched/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/sched/Makefile b/nuttx/sched/Makefile index a9ee0dc3e..67da182ab 100644 --- a/nuttx/sched/Makefile +++ b/nuttx/sched/Makefile @@ -93,6 +93,10 @@ SCHED_SRCS += sched_waitid.c sched_wait.c endif endif +ifeq ($(CONFIG_SCHED_CPULOAD),y) +SCHED_SRCS += sched_cpuload.c +endif + GRP_SRCS = group_create.c group_join.c group_leave.c group_find.c GRP_SRCS += group_setupstreams.c group_setupidlefiles.c group_setuptaskfiles.c GRP_SRCS += task_getgroup.c group_foreachchild.c group_killchildren.c |