Home
last modified time | relevance | path

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

/xnu-10002.1.13/tests/ktrace/
H A Dkpc_tests.c302 uint64_t *ctrs_a; variable
323 ctrs_a = malloc(ctrs_cnt * sizeof(uint64_t));
324 T_QUIET; T_ASSERT_NOTNULL(ctrs_a, NULL);
326 err = kpc_get_thread_counters(0, ctrs_cnt, ctrs_a);
330 T_LOG("checking counter %d with value %" PRIu64 " > 0", i, ctrs_a[i]);
332 T_EXPECT_GT(ctrs_a[i], UINT64_C(0), "counter %d is non-zero", i);
343 " > previous value %" PRIu64, i, ctrs_b[i], ctrs_a[i]);
346 T_QUIET; T_EXPECT_LT(ctrs_a[i], ctrs_b[i],
350 free(ctrs_a);