Home
last modified time | relevance | path

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

/xnu-8019.80.24/tests/ktrace/
H A Dkpc_tests.c297 uint64_t *ctrs_a; variable
318 ctrs_a = malloc(ctrs_cnt * sizeof(uint64_t));
319 T_QUIET; T_ASSERT_NOTNULL(ctrs_a, NULL);
321 err = kpc_get_thread_counters(0, ctrs_cnt, ctrs_a);
325 T_LOG("checking counter %d with value %" PRIu64 " > 0", i, ctrs_a[i]);
327 T_EXPECT_GT(ctrs_a[i], UINT64_C(0), "counter %d is non-zero", i);
338 " > previous value %" PRIu64, i, ctrs_b[i], ctrs_a[i]);
341 T_QUIET; T_EXPECT_LT(ctrs_a[i], ctrs_b[i],
345 free(ctrs_a);