Go to the documentation of this file. 1 #ifndef BENCHMARK_REGISTER_H
2 #define BENCHMARK_REGISTER_H
26 for (
T i =
static_cast<T>(1);
i <= hi;
i *= mult) {
32 if (
i > kmax / mult)
break;
49 const auto lo_complement =
static_cast<T>(-lo);
50 const auto hi_complement =
static_cast<T>(-hi);
52 const auto it =
AddPowers(
dst, hi_complement, lo_complement, mult);
54 std::for_each(
it,
dst->end(), [](
T& t) { t *= -1; });
61 "Args type must be a signed integer");
81 const auto lo_inner =
static_cast<T>(lo + 1);
82 const auto hi_inner =
static_cast<T>(hi - 1);
90 if (lo < 0 && hi >= 0) {
100 if (hi !=
dst->back()) {
108 #endif // BENCHMARK_REGISTER_H
#define BM_CHECK_LE(a, b)
const typedef MCPhysReg * iterator
#define T(upbtypeconst, upbtype, ctype, default_value)
void AddNegatedPowers(std::vector< T > *dst, T lo, T hi, int mult)
void AddRange(std::vector< T > *dst, T lo, T hi, int mult)
std::vector< T >::iterator AddPowers(std::vector< T > *dst, T lo, T hi, int mult)
#define BM_CHECK_GE(a, b)
#define BM_CHECK_GT(a, b)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:46