diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-22 15:20:12 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-22 15:20:12 -0600 |
commit | d75e62056261d8f75ec5b1b4fb9fd61d4768c163 (patch) | |
tree | 09a09c84a6490999f87162b2973d64ce0f0941f8 /nuttx/fs/procfs/Kconfig | |
parent | b28a177cf7e0fb330a25c67b81fd3027ce72171d (diff) | |
download | px4-nuttx-d75e62056261d8f75ec5b1b4fb9fd61d4768c163.tar.gz px4-nuttx-d75e62056261d8f75ec5b1b4fb9fd61d4768c163.tar.bz2 px4-nuttx-d75e62056261d8f75ec5b1b4fb9fd61d4768c163.zip |
Add logic to meaure and calculate the CPU load percentage. From David Alessio
Diffstat (limited to 'nuttx/fs/procfs/Kconfig')
-rw-r--r-- | nuttx/fs/procfs/Kconfig | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/nuttx/fs/procfs/Kconfig b/nuttx/fs/procfs/Kconfig index 84df4a620..ff10519fe 100644 --- a/nuttx/fs/procfs/Kconfig +++ b/nuttx/fs/procfs/Kconfig @@ -17,16 +17,6 @@ if FS_PROCFS menu "Exclude individual procfs entries" -config FS_PROCFS_EXCLUDE_MOUNTS - bool "Exclude mounts" - depends on !DISABLE_MOUNTPOINT - default n - -config FS_PROCFS_EXCLUDE_MTD - bool "Exclude mtd" - depends on MTD - default n - config FS_PROCFS_EXCLUDE_PROCESS bool "Exclude process information" default n @@ -39,6 +29,21 @@ config FS_PROCFS_EXCLUDE_UPTIME bool "Exclude uptime" default n +config FS_PROCFS_EXCLUDE_CPULOAD + bool "Exclude CPU load" + default n + depends on SCHED_CPULOAD + +config FS_PROCFS_EXCLUDE_MOUNTS + bool "Exclude mounts" + default n + depends on !DISABLE_MOUNTPOINT + +config FS_PROCFS_EXCLUDE_MTD + bool "Exclude mtd" + depends on MTD + default n + config FS_PROCFS_EXCLUDE_PARTITIONS bool "Exclude partitions" depends on MTD_PARTITION |