Searched refs:values_u64 (Results 1 – 3 of 3) sorted by relevance
35 #define unsorted_value(stats, i) (stats->is_float ? stats->values_f[i] : stats->values_u64[i])90 stats->values_u64 = realloc(stats->values_u64, in igt_stats_ensure_capacity()91 sizeof(*stats->values_u64) * new_capacity); in igt_stats_ensure_capacity()92 igt_assert(stats->values_u64); in igt_stats_ensure_capacity()148 free(stats->values_u64); in igt_stats_fini()217 stats->values_u64[stats->n_values++] = value; in igt_stats_push()244 stats->values_f[n] = stats->values_u64[n]; in igt_stats_push_float()354 sizeof(*stats->values_u64)); in igt_stats_ensure_sorted_values()358 memcpy(stats->sorted_u64, stats->values_u64, in igt_stats_ensure_sorted_values()359 sizeof(*stats->values_u64) * stats->n_values); in igt_stats_ensure_sorted_values()[all …]
43 uint64_t *values_u64; member
224 igt_assert_eq(stats.values_u64[i], i); in test_reallocation()