/Zephyr-latest/kernel/ |
D | usage.c | 38 if (!cpu->usage->track_usage) { in sched_cpu_update_usage() 43 cpu->usage->total += cycles; in sched_cpu_update_usage() 46 cpu->usage->current += cycles; in sched_cpu_update_usage() 48 if (cpu->usage->longest < cpu->usage->current) { in sched_cpu_update_usage() 49 cpu->usage->longest = cpu->usage->current; in sched_cpu_update_usage() 52 cpu->usage->current = 0; in sched_cpu_update_usage() 53 cpu->usage->num_windows++; in sched_cpu_update_usage() 63 thread->base.usage.total += cycles; in sched_thread_update_usage() 66 thread->base.usage.current += cycles; in sched_thread_update_usage() 68 if (thread->base.usage.longest < thread->base.usage.current) { in sched_thread_update_usage() [all …]
|
/Zephyr-latest/include/zephyr/usb/class/ |
D | hid.h | 90 /** HID Usage Page item tag */ 111 /** HID Usage item tag */ 113 /** HID Usage Minimum item tag */ 115 /** HID Usage Maximum item tag */ 128 /** Usage Switch collection type */ 134 /* Usage page and IDs from Universal Serial Bus HID Usage Tables */ 136 /** HID Generic Desktop Controls Usage page */ 138 /** HID Keyboard Usage page */ 140 /** HID LEDs Usage page */ 142 /** HID Button Usage page */ [all …]
|
/Zephyr-latest/include/zephyr/kernel/ |
D | stats.h | 15 * and CPU usage. 19 uint64_t total; /**< total usage in cycles */ 25 uint64_t current; /**< \# of cycles in current usage window */ 26 uint64_t longest; /**< \# of cycles in longest usage window */ 27 uint32_t num_windows; /**< \# of usage windows */ 30 bool track_usage; /**< true if gathering usage stats */
|
/Zephyr-latest/doc/services/debugging/ |
D | thread-analyzer.rst | 7 the thread information, e.g. thread stack size usage and other runtime thread 31 thread_b : STACK: unused 740 usage 284 / 1024 (27 %); CPU: 0 % 32 thread_analyzer : STACK: unused 8 usage 504 / 512 (98 %); CPU: 0 % 33 thread_a : STACK: unused 648 usage 376 / 1024 (36 %); CPU: 98 % 34 idle : STACK: unused 204 usage 116 / 320 (36 %); CPU: 0 % 44 thread_b : STACK: unused 648 usage 376 / 1024 (36 %); CPU: 7 % 45 thread_analyzer : STACK: unused 8 usage 504 / 512 (98 %); CPU: 0 % 46 thread_a : STACK: unused 648 usage 376 / 1024 (36 %); CPU: 9 % 47 idle : STACK: unused 204 usage 116 / 320 (36 %); CPU: 82 % 57 thread_b : STACK: unused 648 usage 376 / 1024 (36 %); CPU: 7 % [all …]
|
/Zephyr-latest/tests/subsys/debug/thread_analyzer/ |
D | testcase.yaml | 28 - "(.*)0x([0-9a-fA-F]+)([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)" 29 - "(.*)ISR0([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)" 39 - "(.*)0x([0-9a-fA-F]+)([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)" 40 - "(.*)ISR0([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)" 49 # usage of privileged stacks. 56 - "(.*)0x([0-9a-fA-F]+)([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)" 57 - "(.*)PRIV_STACK: unused [0-9]+ usage [0-9]+ / [0-9]+" 58 - "(.*)ISR0([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)" 68 - "(.*)0x([0-9a-fA-F]+)([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)" 69 - "(.*)ISR0([ ]+) : STACK: unused [0-9]+ usage [0-9]+ / [0-9]+ (.*)" [all …]
|
/Zephyr-latest/samples/bluetooth/central_hr/ |
D | prj_minimal.conf | 56 # BT RX : STACK: unused 576 usage 448 / 1024 (43 %); CPU: 0 % 57 # BT RX pri : STACK: unused 260 usage 188 / 448 (41 %); CPU: 0 % 58 # BT ECC : STACK: unused 256 usage 888 / 1144 (77 %); CPU: 1 % 59 # BT TX : STACK: unused 296 usage 344 / 640 (53 %); CPU: 0 % 60 # thread_analyzer : STACK: unused 128 usage 384 / 512 (75 %); CPU: 1 % 61 # sysworkq : STACK: unused 856 usage 168 / 1024 (16 %); CPU: 0 % 62 # logging : STACK: unused 232 usage 536 / 768 (69 %); CPU: 0 % 63 # idle 00 : STACK: unused 208 usage 48 / 256 (18 %); CPU: 97 % 64 # main : STACK: unused 576 usage 448 / 1024 (43 %); CPU: 0 %
|
/Zephyr-latest/drivers/tee/optee/ |
D | optee_smc.h | 151 * Call register usage, OPTEE_SMC_CALL_WITH_ARG and 161 * Call register usage, OPTEE_SMC_CALL_WITH_REGD_ARG: 170 * Normal return register usage: 175 * OPTEE_SMC_RETURN_ETHREAD_LIMIT return register usage: 180 * RPC return register usage: 212 * Call register usage: 217 * Have config return register usage: 225 * Not available register usage: 237 * Disables, enables usage of L2CC mutex. Returns or sets physical address 240 * Call register usage: [all …]
|
/Zephyr-latest/samples/bluetooth/peripheral_hr/ |
D | prj_minimal.conf | 62 # BT RX : STACK: unused 576 usage 448 / 1024 (43 %); CPU: 0 % 63 # BT RX pri : STACK: unused 260 usage 188 / 448 (41 %); CPU: 0 % 64 # BT ECC : STACK: unused 256 usage 888 / 1144 (77 %); CPU: 1 % 65 # BT TX : STACK: unused 296 usage 344 / 640 (53 %); CPU: 0 % 66 # thread_analyzer : STACK: unused 128 usage 384 / 512 (75 %); CPU: 1 % 67 # sysworkq : STACK: unused 856 usage 168 / 1024 (16 %); CPU: 0 % 68 # logging : STACK: unused 232 usage 536 / 768 (69 %); CPU: 0 % 69 # idle 00 : STACK: unused 208 usage 48 / 256 (18 %); CPU: 97 % 70 # main : STACK: unused 576 usage 448 / 1024 (43 %); CPU: 0 %
|
/Zephyr-latest/samples/drivers/smbus/ |
D | README.rst | 46 Usage: quick <device> <addr> 48 Usage: scan <device> 50 Usage: byte_read <device> <addr> 52 Usage: byte_write <device> <addr> <value> 54 Usage: byte_data_read <device> <addr> <cmd> 56 Usage: byte_data_write <device> <addr> <cmd> <value> 58 Usage: word_data_read <device> <addr> <cmd> 60 Usage: word_data_write <device> <addr> <cmd> <value> 62 Usage: block_write <device> <addr> <cmd> [<byte1>, ...] 64 Usage: block_read <device> <addr> <cmd>
|
/Zephyr-latest/tests/kernel/profiling/profiling_api/src/ |
D | main.c | 41 * @brief Test stack usage through main thread 44 * stack usage through main thread. 57 * @brief Test stack usage through idle thread 60 * stack usage through idle thread. 74 * @brief Test stack usage through system workqueue 77 * stack usage through system workqueue. 95 /*TODO: add test case to capture the usage of interrupt call stack*/
|
/Zephyr-latest/cmake/usage/ |
D | CMakeLists.txt | 4 usage target 8 -P ${CMAKE_CURRENT_SOURCE_DIR}/usage.cmake 11 # NB: The reason it is 'usage' and not help is that CMake already
|
D | usage.cmake | 29 message(" puncover - Local web server to view RAM, ROM and stack usage (requires puncover pip … 30 message(" ram_report - Build and create RAM usage report") 31 message(" rom_report - Build and create ROM usage report") 32 message(" footprint - Create JSON RAM/ROM usage report in the build directory") 36 message(" usage - Display this text")
|
/Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/ |
D | write_shared_memory.sh | 3 # Usage write_shared_memory.sh [-s size in bytes] [-l location] [-m message] [-v] 15 usage() function 17 echo "Usage: $0 [-s size in bytes] [-l location] [-m message] [-v]" 54 usage 64 usage
|
/Zephyr-latest/include/zephyr/pm/ |
D | device_runtime.h | 75 * @brief Resume a device based on usage count. 77 * This function will resume the device if the device is suspended (usage count 78 * equal to 0). In case of a resume failure, usage count and device state will 79 * be left unchanged. In all other cases, usage count will be incremented. 100 * @brief Suspend a device based on usage count. 103 * (usage count equal to 0). In case of suspend failure, usage count and device 104 * state will be left unchanged. In all other cases, usage count will be 122 * @brief Suspend a device based on usage count (asynchronously). 125 * required (usage count equal to 0). In all other cases, usage count will be 162 * @brief Return the current device usage counter. [all …]
|
/Zephyr-latest/scripts/checkpatch/ |
D | timestamp | 13 # usage: timestamp [-a] [-d] [-u] [-s] [-S] 27 function usage { function 28 printf "usage: %s [-a] [-d] [-u] [-s] [-S]\n" $exe_name >&2 32 usage 45 h) usage; exit 0 ;;
|
D | maintainer-checkpatch.bash | 12 # usage: maintainer-checkpatch.bash [(-n <num commits>) | (-c <commit>)] [-s] 39 function usage { function 40 printf "usage: %s [(-n <num commits>) | (-c <commit>)] [-s]\n" $exe_name >&2 44 usage 74 h) usage; exit 0 ;;
|
/Zephyr-latest/dts/bindings/fpga/ |
D | lattice,ice40-fpga-bitbang.yaml | 17 Example usage: 24 Example usage: 31 Example usage: 38 Example usage:
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | vlan.c | 105 goto usage; in cmd_net_vlan_add() 116 goto usage; in cmd_net_vlan_add() 122 goto usage; in cmd_net_vlan_add() 129 goto usage; in cmd_net_vlan_add() 156 usage: in cmd_net_vlan_add() 157 PR("Usage:\n"); in cmd_net_vlan_add() 177 goto usage; in cmd_net_vlan_del() 193 usage: in cmd_net_vlan_del() 194 PR("Usage:\n"); in cmd_net_vlan_del()
|
/Zephyr-latest/tests/subsys/logging/log_stack/src/ |
D | main.c | 10 /* The idea of this test is to estimate stack usage of logging messages. Each 11 * test checks stack usage before and after logging a message. Increase of stack 12 * usage is interpreted as stack used by the logging. Test has been used to 17 * by logging increase stack usage. Failure of the test should lead to investigation 18 * to determine if stack usage change is justified. If it is justified, thresholds 47 #define TEST_LOG_STACK(usage, log_msg) do { \ argument 61 usage = unused - unused2; \ 62 PRINT("Stack increase due to log usage: %zu\n", usage); \ 283 zassert_true(simple_usage <= SIMPLE_USAGE_LIMIT, "Usage:%zu, expected:%zu", in ZTEST() 293 zassert_true(hexdump_usage <= HEXDUMP_USAGE_LIMIT, "Usage:%zu, expected:%zu", in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/pm/device_runtime_api/src/ |
D | main.c | 30 /* usage: 0, +1, resume: yes */ in get_runner() 101 /* usage: 0, +1, resume: yes */ in ZTEST() 108 /* usage: 1, +1, resume: no */ in ZTEST() 113 /* usage: 2, -1, suspend: no */ in ZTEST() 120 /* usage: 1, -1, suspend: yes */ in ZTEST() 128 /* usage: 0, -1, suspend: no (unbalanced call) */ in ZTEST() 135 /* usage: 0, +1, resume: yes */ in ZTEST() 145 /* usage: 1, -1, suspend: yes (queued) */ in ZTEST() 159 /* usage: 0, -1, suspend: no (unbalanced call) */ in ZTEST() 163 /* usage: 0, -1, suspend: no (unbalanced call) */ in ZTEST() [all …]
|
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/ |
D | hog.c | 62 0x05, 0x01, /* Usage Page (Generic Desktop Ctrls) */ 63 0x09, 0x02, /* Usage (Mouse) */ 66 0x09, 0x01, /* Usage (Pointer) */ 68 0x05, 0x09, /* Usage Page (Button) */ 69 0x19, 0x01, /* Usage Minimum (0x01) */ 70 0x29, 0x03, /* Usage Maximum (0x03) */ 79 0x05, 0x01, /* Usage Page (Generic Desktop Ctrls) */ 80 0x09, 0x30, /* Usage (X) */ 81 0x09, 0x31, /* Usage (Y) */
|
/Zephyr-latest/subsys/debug/ |
D | thread_analyzer.c | 45 " %-20s: STACK: unused %zu usage %zu / %zu (%zu %%); CPU: %u %%"), in thread_print_cb() 57 " %-20s: PRIV_STACK: unused %zu usage %zu / %zu (%zu %%)"), in thread_print_cb() 66 " ", info->usage.total_cycles); in thread_print_cb() 73 " ", info->usage.current_cycles, info->usage.peak_cycles, in thread_print_cb() 74 info->usage.average_cycles); in thread_print_cb() 80 " %-20s: unused %zu usage %zu / %zu (%zu %%)"), in thread_print_cb() 144 if (k_thread_runtime_stats_get(thread, &info.usage) != 0) { in thread_analyze_cb() 159 info.utilization = (info.usage.execution_cycles * 100U) / in thread_analyze_cb() 183 " %s%-17d: STACK: unused %zu usage %zu / %zu (%zu %%)"), in isr_stack()
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_server_shell.c | 46 shell_error(sh, "Usage: start <service>"); in cmd_start() 69 shell_error(sh, "Usage: stop <service>"); in cmd_stop() 90 "Usage: start <service>", 94 "Usage: stop <service>",
|
/Zephyr-latest/scripts/kconfig/ |
D | diffconfig | 14 def usage(): function 15 print("""Usage: diffconfig [-h] [-m] [<config1> <config2>] 30 Example usage: 75 usage() 85 usage() 104 usage()
|
/Zephyr-latest/samples/subsys/tracing/ |
D | README.rst | 15 Usage for UART Tracing Backend 42 Usage for USB Tracing Backend 81 Usage for POSIX Tracing Backend 103 Usage for USER Tracing Backend 117 Usage for SEGGER SystemView RTT 131 Usage for GPIO Tracing Backend
|