#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
double | hwy::platform::InvariantTicksPerSecond () |
|
double | hwy::platform::Now () |
|
uint64_t | hwy::platform::TimerResolution () |
|
int | hwy::Unpredictable1 () |
|
size_t | hwy::Measure (const Func func, const uint8_t *arg, const FuncInput *inputs, const size_t num_inputs, Result *results, const Params &p=Params()) |
|
template<class Closure > |
static FuncOutput | hwy::CallClosure (const Closure *f, const FuncInput input) |
|
template<class Closure > |
static size_t | hwy::MeasureClosure (const Closure &closure, const FuncInput *inputs, const size_t num_inputs, Result *results, const Params &p=Params()) |
|
◆ NANOBENCHMARK_CHECK
#define NANOBENCHMARK_CHECK |
( |
|
condition | ) |
|
◆ NANOBENCHMARK_CHECK_ALWAYS
#define NANOBENCHMARK_CHECK_ALWAYS |
( |
|
condition | ) |
|
Value: while (!(condition)) { \
fprintf(stderr, "Nanobenchmark check failed at line %d\n", __LINE__); \
abort(); \
}
◆ NANOBENCHMARK_ENABLE_CHECKS
#define NANOBENCHMARK_ENABLE_CHECKS 0 |