summaryrefslogtreecommitdiff
path: root/nuttx/sched/Makefile
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-23 10:55:01 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-23 10:55:01 -0600
commit7c745cd460ea7361719b9fd18a35491beed92623 (patch)
treeb35642399f2cbe11bbe6c9a57f6cf2d90fea3ffb /nuttx/sched/Makefile
parent875b32e8389ac6e06bfb328e992c1865445d96c1 (diff)
downloadpx4-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/Makefile4
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