Searched refs:ctrs_a (Results 1 – 1 of 1) sorted by relevance
| /xnu-12377.61.12/tests/cpu_counters/ |
| H A D | kpc_tests.c | 355 uint64_t *ctrs_a; variable 376 ctrs_a = malloc(ctrs_cnt * sizeof(uint64_t)); 377 T_QUIET; T_ASSERT_NOTNULL(ctrs_a, NULL); 379 err = kpc_get_thread_counters(0, ctrs_cnt, ctrs_a); 383 T_LOG("checking counter %d with value %" PRIu64 " > 0", i, ctrs_a[i]); 385 T_EXPECT_GT(ctrs_a[i], UINT64_C(0), "counter %d is non-zero", i); 396 " > previous value %" PRIu64, i, ctrs_b[i], ctrs_a[i]); 399 T_QUIET; T_EXPECT_LT(ctrs_a[i], ctrs_b[i], 403 free(ctrs_a);
|