Lines Matching full:usage
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()
304 zassert_true(more_args_usage <= MORE_ARGS_USAGE_LIMIT, "Usage:%zu, expected:%zu", in ZTEST()