Next: Timer Reference, Previous: Report Reference, Up: C API Reference [Contents][Index]
This section details the data collected and reported by MicroBenchmark.
MICRO_BENCHMARK_SAMPLE_INT64
, MICRO_BENCHMARK_SAMPLE_UINT64
, MICRO_BENCHMARK_SAMPLE_DOUBLE
, MICRO_BENCHMARK_SAMPLE_TIME
, MICRO_BENCHMARK_SAMPLE_SMALL_BUFFER
, MICRO_BENCHMARK_SAMPLE_USER_PROVIDED
} ¶Type of data collected.
int64_t
integer, uint64_t
modular, double
floating_point, micro_benchmark_clock_time
time, unsigned char
buffer[MICRO_BENCHMARK_SAMPLE_SB_SIZE]
, void *
user_provided } ¶Union of the data collection types.
bool
discarded, size_t
iterations, micro_benchmark_stats_meter_sample
value } ¶Generic data sampled on a test execution.
Pointer to a collected sample.
Pointer to an array of samples. It is effectively the same type as
micro_benchmark_stats_generic_sample
and it’s meant for
documentation purposes only.