Home
last modified time | relevance | path

Searched refs:NTICKS (Results 1 – 1 of 1) sorted by relevance

/external/jemalloc_new/test/unit/
Dticker.c7 #define NTICKS 3 in TEST_BEGIN() macro
11 ticker_init(&ticker, NTICKS); in TEST_BEGIN()
13 for (j = 0; j < NTICKS; j++) { in TEST_BEGIN()
14 assert_u_eq(ticker_read(&ticker), NTICKS - j, in TEST_BEGIN()
23 assert_u32_eq(ticker_read(&ticker), NTICKS, in TEST_BEGIN()
26 #undef NTICKS in TEST_BEGIN()
31 #define NTICKS 3 in TEST_BEGIN() macro
34 ticker_init(&ticker, NTICKS); in TEST_BEGIN()
36 assert_u_eq(ticker_read(&ticker), NTICKS, "Unexpected ticker value"); in TEST_BEGIN()
37 assert_false(ticker_ticks(&ticker, NTICKS), "Unexpected ticker fire"); in TEST_BEGIN()
[all …]