Next: Chronometer Reference, Previous: Meter Reference, Up: Data Collection reference [Contents][Index]
int32_t
seconds, ¶int32_t
nanoseconds }
Structure used by the framework for time measuring.
MICRO_BENCHMARK_CLOCK_REALTIME
, MICRO_BENCHMARK_CLOCK_MONOTONIC
, MICRO_BENCHMARK_CLOCK_PROCESS
, MICRO_BENCHMARK_CLOCK_THREAD
} ¶Clock type enumeration (see Predefined Clocks.)
bool
discarded, size_t
iterations, micro_benchmark_clock_time
elapsed } ¶Time sample value. This data type contains, at least, the specified
values discarded
, iterations
and elapsed
.
Pointer to a constant value of type
micro_benchmark_time_sample_
.
Pointer to an array of constant values of type
micro_benchmark_time_sample_
values. This type is equivalent
to micro_benchmark_time_sample
and it is used only for
documentation purposes.
MICRO_BENCHMARK_STATS_UNIT_NONE
, MICRO_BENCHMARK_STATS_ITERATIONS
, MICRO_BENCHMARK_STATS_TIME_MIN
, MICRO_BENCHMARK_STATS_TIME_S
, MICRO_BENCHMARK_STATS_TIME_MS
, MICRO_BENCHMARK_STATS_TIME_US
, MICRO_BENCHMARK_STATS_TIME_NS
} ¶Unit of measure.
micro_benchmark_stats_unit
unit, double
mean, double
variance, double
std_deviation } ¶Aggregated statistical values.
size_t
total_samples, size_t
samples, size_t
iterations, micro_benchmark_stats_value
iteration_time, micro_benchmark_stats_value
sample_time, micro_benchmark_stats_value
sample_iterations } ¶Information sampled during a test case execution.
Note: this type is experimental.
Next: Chronometer Reference, Previous: Meter Reference, Up: Data Collection reference [Contents][Index]