|
Zephyr Project API
3.1.0
A Scalable Open Source RTOS
|
#include <ztest.h>#include <zephyr/pm/pm.h>#include <zephyr/irq_offload.h>#include <zephyr/debug/stack.h>Macros | |
| #define | SLEEP_MS 100 |
| #define | NUM_OF_WORK 2 |
| #define | TEST_STRING "TEST" |
Functions | |
| static void | tdata_dump_callback (const struct k_thread *thread, void *user_data) |
| const struct pm_state_info * | pm_policy_next_state (uint8_t cpu, int32_t ticks) |
| static void | work_handler (struct k_work *w) |
| void | test_call_stacks_analyze_main (void) |
| Test stack usage through main thread. More... | |
| void | test_call_stacks_analyze_idle (void) |
| Test stack usage through idle thread. More... | |
| void | test_call_stacks_analyze_workq (void) |
| Test stack usage through system workqueue. More... | |
| void | test_main (void) |
Variables | |
| static struct k_work | work [2] |
| static struct k_sem | sync_sema |
| #define NUM_OF_WORK 2 |
| #define SLEEP_MS 100 |
| #define TEST_STRING "TEST" |
| const struct pm_state_info * pm_policy_next_state | ( | uint8_t | cpu, |
| int32_t | ticks | ||
| ) |
|
static |
TESTPOINT: stack analyze
| void test_main | ( | void | ) |
test case main entry
|
static |
|
static |
|
static |