Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include <zephyr/kernel.h>
#include <zephyr/tc_util.h>
#include <zephyr/ztest.h>
#include <zephyr/sys/printk.h>
Macros | |
#define | STAMP_INTERVAL_s 60 |
#define | TIMER_DELAY_ms 500 |
#define | BUSY_WAIT_ms 100 |
Functions | |
static void | handler (struct k_timer *timer) |
static const char * | tag (void) |
ZTEST (starve_fn, test_starve) | |
ZTEST_SUITE (starve_fn, NULL, NULL, NULL, NULL, NULL) | |
Variables | |
static volatile uint32_t | na |
static uint32_t | iters |
static uint32_t | now |
#define BUSY_WAIT_ms 100 |
#define STAMP_INTERVAL_s 60 |
#define TIMER_DELAY_ms 500 |
|
static |
|
static |
ZTEST | ( | starve_fn | , |
test_starve | |||
) |
ZTEST_SUITE | ( | starve_fn | , |
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | |||
) |
|
static |
|
static |
|
static |