zephyr/samples
Anas Nashif 802d214582 debug: analyzer: add support for thread runtime stats
Add thread runtime statistics to the thread analyser.

With CONFIG_THREAD_RUNTIME_STATS enabled:

Booting from ROM..*** Booting Zephyr OS build zephyr-v2.4.0-2330-g77be0e93e65b  ***
thread_a: Hello World from cpu 0 on qemu_x86!
Thread analyze:
 thread_b            : STACK: unused 740 usage 284 / 1024 (27 %); CPU: 0 %
 thread_analyzer     : STACK: unused 8 usage 504 / 512 (98 %); CPU: 0 %
 thread_a            : STACK: unused 648 usage 376 / 1024 (36 %); CPU: 98 %
 idle 00             : STACK: unused 204 usage 116 / 320 (36 %); CPU: 0 %
thread_b: Hello World from cpu 0 on qemu_x86!
thread_a: Hello World from cpu 0 on qemu_x86!
thread_b: Hello World from cpu 0 on qemu_x86!
thread_a: Hello World from cpu 0 on qemu_x86!
thread_b: Hello World from cpu 0 on qemu_x86!
thread_a: Hello World from cpu 0 on qemu_x86!
thread_b: Hello World from cpu 0 on qemu_x86!
thread_a: Hello World from cpu 0 on qemu_x86!
Thread analyze:
 thread_b            : STACK: unused 648 usage 376 / 1024 (36 %); CPU: 7 %
 thread_analyzer     : STACK: unused 8 usage 504 / 512 (98 %); CPU: 0 %
 thread_a            : STACK: unused 648 usage 376 / 1024 (36 %); CPU: 9 %
 idle 00             : STACK: unused 204 usage 116 / 320 (36 %); CPU: 82 %
thread_b: Hello World from cpu 0 on qemu_x86!

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-12-14 13:00:47 -05:00
..
application_development boards: arm: remove non-existing doc link from partition definitions 2020-10-27 15:01:19 -04:00
basic power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
bluetooth samples: bluetooth: hci_rpmsg: change the allowed platform to nRF5340 DK 2020-12-04 10:21:00 +02:00
boards power: pm_force_power_state -> pm_power_state_force 2020-12-09 15:18:29 -05:00
cpp_synchronization
debug
display samples: lvgl: Removed reel_board overlays 2020-12-14 11:22:06 +01:00
drivers power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
hello_world
lorawan/class_a samples: lorawan: class_a: fix selection of activation type 2020-10-21 08:33:39 -04:00
mpu
net net: lwm2m: Added execute arguments support 2020-12-13 15:39:08 -05:00
philosophers power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
portability
posix
scheduler
sensor power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
shields samples/shields: x_nucleo_iks01a3: Add config for stm32mp157c_dk2 2020-12-02 13:17:30 -06:00
smp Samples: Add SMP pktqueue application 2020-12-02 07:09:21 -05:00
subsys samples: shell: enable thread runtime stats 2020-12-14 13:00:47 -05:00
synchronization debug: analyzer: add support for thread runtime stats 2020-12-14 13:00:47 -05:00
testing/integration
tfm_integration tfm_integration.rst: Document executable file target properties 2020-12-14 11:24:16 +01:00
userspace kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
video
classic.rst
index.rst