/third_party/musl/Benchmark/musl/ |
D | libc_math.cpp | 41 benchmark::DoNotOptimize(copysignl(x, y)); in Bm_function_Copysignl_Allpositive() 50 benchmark::DoNotOptimize(copysignl(x, y)); in Bm_function_Copysignl_Allnegative() 59 benchmark::DoNotOptimize(copysignl(x, y)); in Bm_function_Copysignl_Np() 68 benchmark::DoNotOptimize(copysignl(x, y)); in Bm_function_Copysignl_Pn() 78 benchmark::DoNotOptimize(fmodl(x, y)); in Bm_function_Fmodl() 87 benchmark::DoNotOptimize(fmodf(x, y)); in Bm_function_Fmodf() 95 benchmark::DoNotOptimize(exp(x)); in Bm_function_Exp() 104 benchmark::DoNotOptimize(log(x)); in Bm_function_Log() 114 benchmark::DoNotOptimize(cos(x * val)); in Bm_function_Cos() 124 benchmark::DoNotOptimize(frexpl(x, &e)); in Bm_function_Frexpl() [all …]
|
D | libc_stdio.cpp | 69 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_read() 85 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_write() 101 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_append() 117 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_rplus() 133 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_wplus() 149 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_append_plus() 165 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_rb() 181 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_wb() 197 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_ab() 213 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_rb_plus() [all …]
|
D | libc_errno.cpp | 28 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_noerror() 37 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_enoent() 46 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_enomem() 55 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_eacces() 64 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_eexist() 73 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_einval() 82 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_erofs() 91 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_etimeout() 101 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_noerror() 110 benchmark::DoNotOptimize(strerror_r(e, g_errorBuffer, sizeof(g_errorBuffer))); in Bm_function_Strerror_r_enoent() [all …]
|
D | libc_time.cpp | 37 benchmark::DoNotOptimize(nanosleep(&req, &rem)); in Bm_function_Nanosleep_0ns() 47 benchmark::DoNotOptimize(nanosleep(&req, &rem)); in Bm_function_Nanosleep_10ns() 57 benchmark::DoNotOptimize(nanosleep(&req, &rem)); in Bm_function_Nanosleep_100ns() 74 benchmark::DoNotOptimize(clock_nanosleep(CLOCK_REALTIME, 0, &req, &rem)); in Bm_function_Clock_nanosleep_realtime() 84 benchmark::DoNotOptimize(clock_nanosleep(CLOCK_REALTIME_COARSE, 0, &req, &rem)); in Bm_function_Clock_nanosleep_realtime_raw() 94 benchmark::DoNotOptimize(clock_nanosleep(CLOCK_REALTIME_COARSE, 0, &req, &rem)); in Bm_function_Clock_nanosleep_realtime_coarse() 104 benchmark::DoNotOptimize(clock_nanosleep(CLOCK_MONOTONIC, 0, &req, &rem)); in Bm_function_Clock_nanosleep_monotonic() 113 benchmark::DoNotOptimize(clock_nanosleep(CLOCK_MONOTONIC_COARSE, 0, &req, &rem)); in Bm_function_Clock_nanosleep_monotonic_coarse() 122 benchmark::DoNotOptimize(clock_nanosleep(CLOCK_MONOTONIC_RAW, 0, &req, &rem)); in Bm_function_Clock_nanosleep_monotonic_raw() 131 benchmark::DoNotOptimize(clock_nanosleep(CLOCK_BOOTTIME, 0, &req, &rem)); in Bm_function_Clock_nanosleep_boottime() [all …]
|
D | libc_ctype.cpp | 32 benchmark::DoNotOptimize(tolower(c)); in Bm_function_Tolower_a() 41 benchmark::DoNotOptimize(tolower(c)); in Bm_function_Tolower_A() 50 benchmark::DoNotOptimize(tolower(i)); in Bm_function_Tolower_all_ascii() 59 benchmark::DoNotOptimize(isspace(' ')); in Bm_function_Isspace_space() 68 benchmark::DoNotOptimize(isspace(i)); in Bm_function_Isspace_all_ascii() 77 benchmark::DoNotOptimize(isalnum('a')); in Bm_function_Isalnum_a() 85 benchmark::DoNotOptimize(isalnum('A')); in Bm_function_Isalnum_A() 93 benchmark::DoNotOptimize(isalnum('0')); in Bm_function_Isalnum_0() 102 benchmark::DoNotOptimize(isalnum(i)); in Bm_function_Isalnum_all_ascii() 114 benchmark::DoNotOptimize(isxdigit(b)); in Bm_function_Isxdigit() [all …]
|
D | libc_fcntl.cpp | 40 benchmark::DoNotOptimize(ret); in Bm_function_Fcntl_getfl() 58 benchmark::DoNotOptimize(ret); in Bm_function_Fcntl_setfl() 92 benchmark::DoNotOptimize(ret); in Bm_function_Fcntl_setlkw() 109 benchmark::DoNotOptimize(dupfd); in Bm_function_Fcntl_dupfd() 140 benchmark::DoNotOptimize(ret); in Bm_function_Fcntl_setlk() 164 benchmark::DoNotOptimize(ret); in Bm_function_Fcntl_getlk() 181 benchmark::DoNotOptimize(ret); in Bm_function_Fcntl_getfd() 205 benchmark::DoNotOptimize(ret); in Bm_function_Fcntl_setfd() 226 benchmark::DoNotOptimize(fd); in Bm_function_Open_rdonly() 242 benchmark::DoNotOptimize(fd); in Bm_function_Open_rdwr() [all …]
|
D | libc_syscall.cpp | 46 benchmark::DoNotOptimize(pid); in Bm_function_Syscall_getpid() 56 benchmark::DoNotOptimize(tid); in Bm_function_Syscall_gettid() 65 benchmark::DoNotOptimize(syscall(SYS_adjtimex, &timeInfo)); in Bm_function_Syscall_adjtimex() 77 benchmark::DoNotOptimize(syscall(SYS_write, fp, "Bad Mind", BYTES_WRITTEN)); in Bm_function_Syscall_write() 95 benchmark::DoNotOptimize(ret); in Bm_function_Syscall_read() 113 benchmark::DoNotOptimize(ret); in Bm_function_Syscall_fcntl() 125 benchmark::DoNotOptimize(result); in Bm_function_Syscall_getrusage() 139 benchmark::DoNotOptimize(ret); in Bm_function_Syscall_uname() 150 benchmark::DoNotOptimize(getpriority(PRIO_PROCESS, pid)); in Bm_function_Syscall_getpriority() 163 benchmark::DoNotOptimize(setpriority(PRIO_PROCESS, pid, prio)); in Bm_function_Syscall_setpriority()
|
D | libc_stdlib.cpp | 124 benchmark::DoNotOptimize(strtod(str, &ptr)); in Bm_function_Strtod() 136 benchmark::DoNotOptimize(strtof(str, &ptr)); in Bm_function_Strtof() 148 benchmark::DoNotOptimize(strtold(str, &ptr)); in Bm_function_Strtold() 220 benchmark::DoNotOptimize(getenv("TZ")); in Bm_function_Getenv_TZ() 227 benchmark::DoNotOptimize(getenv("LD_LIBRARY_PATH")); in Bm_function_Getenv_LD_LIBRARY_PATH() 234 benchmark::DoNotOptimize(getenv("LD_PRELOAD")); in Bm_function_Getenv_LD_PRELOAD() 241 benchmark::DoNotOptimize(getenv("LC_ALL")); in Bm_function_Getenv_LC_ALL() 248 benchmark::DoNotOptimize(getenv("LOGNAME")); in Bm_function_Getenv_LOGNAME() 260 benchmark::DoNotOptimize(realpath(path, resolvedPath)); in Bm_function_Realpath() 298 benchmark::DoNotOptimize(lrand48()); in Bm_function_Srand48_Lrand48() [all …]
|
D | libc_network.cpp | 33 benchmark::DoNotOptimize(n); in Bm_function_Getaddrinfo_Freeaddrinfo_external_network() 52 benchmark::DoNotOptimize(n); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet1() 71 benchmark::DoNotOptimize(n); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet2() 90 benchmark::DoNotOptimize(n); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet3() 109 benchmark::DoNotOptimize(n); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet4() 128 benchmark::DoNotOptimize(n); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet5() 147 benchmark::DoNotOptimize(n); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet6() 162 benchmark::DoNotOptimize(n); in Bm_function_Getaddrinfo_Freeaddrinfo_intranet7() 173 benchmark::DoNotOptimize(ntohs(srcPort)); in Bm_function_Network_ntohs() 181 benchmark::DoNotOptimize(inet_pton(AF_INET, "127.0.0.1", buf)); in Bm_function_Inet_pton() [all …]
|
D | libc_locale.cpp | 44 benchmark::DoNotOptimize(setlocale(LC_ALL, nullptr)); in Bm_function_Setlocale_All() 52 benchmark::DoNotOptimize(setlocale(LC_ALL, "C")); in Bm_function_Setlocale_All1() 60 benchmark::DoNotOptimize(setlocale(LC_ALL, "")); in Bm_function_Setlocale_All2() 68 benchmark::DoNotOptimize(setlocale(LC_COLLATE, nullptr)); in Bm_function_Setlocale_Collate() 76 benchmark::DoNotOptimize(setlocale(LC_CTYPE, nullptr)); in Bm_function_Setlocale_Ctype() 84 benchmark::DoNotOptimize(setlocale(LC_TIME, nullptr)); in Bm_function_Setlocale_Time() 92 benchmark::DoNotOptimize(nl_langinfo(CODESET)); in Bm_function_Locale_nl_langinfo() 99 benchmark::DoNotOptimize(localeconv()); in Bm_function_Locale_localeconv()
|
D | libc_unistd.cpp | 108 benchmark::DoNotOptimize(pid); in Bm_function_Getpid() 118 benchmark::DoNotOptimize(uid); in Bm_function_Geteuid() 132 benchmark::DoNotOptimize(close(fd)); in Bm_function_Close() 142 benchmark::DoNotOptimize(usleep(SECOND)); in Bm_function_Usleep() 169 benchmark::DoNotOptimize(len); in Bm_function_Readlink() 189 benchmark::DoNotOptimize(len); in Bm_function_Readlinkat() 212 benchmark::DoNotOptimize(len); in Bm_function_Readlinkat_chk() 223 benchmark::DoNotOptimize(uid); in Bm_function_Getuid() 233 benchmark::DoNotOptimize(gid); in Bm_function_Getegid() 252 benchmark::DoNotOptimize(access(filename, F_OK)); in Bm_function_Access_exist() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | charconv_benchmark.cc | 28 benchmark::DoNotOptimize(pi); in BM_Strtod_Pi() 29 benchmark::DoNotOptimize(strtod(pi, nullptr)); in BM_Strtod_Pi() 38 benchmark::DoNotOptimize(pi); in BM_Absl_Pi() 41 benchmark::DoNotOptimize(v); in BM_Absl_Pi() 49 benchmark::DoNotOptimize(pi); in BM_Strtod_Pi_float() 50 benchmark::DoNotOptimize(strtof(pi, nullptr)); in BM_Strtod_Pi_float() 59 benchmark::DoNotOptimize(pi); in BM_Absl_Pi_float() 62 benchmark::DoNotOptimize(v); in BM_Absl_Pi_float() 70 benchmark::DoNotOptimize(num); in BM_Strtod_HardLarge() 71 benchmark::DoNotOptimize(strtod(num, nullptr)); in BM_Strtod_HardLarge() [all …]
|
D | string_view_benchmark.cc | 42 benchmark::DoNotOptimize(ps); in BM_StringViewFromString() 43 benchmark::DoNotOptimize(psv); in BM_StringViewFromString() 46 benchmark::DoNotOptimize(sv); in BM_StringViewFromString() 62 benchmark::DoNotOptimize(a == b); in DoEqualityComparisons() 107 benchmark::DoNotOptimize(a == "aaa"); in DoConstantSizeInlinedEqualityComparisons() 108 benchmark::DoNotOptimize(a == "bbb"); in DoConstantSizeInlinedEqualityComparisons() 109 benchmark::DoNotOptimize(a == "ccc"); in DoConstantSizeInlinedEqualityComparisons() 110 benchmark::DoNotOptimize(a == "ddd"); in DoConstantSizeInlinedEqualityComparisons() 111 benchmark::DoNotOptimize(a == "eee"); in DoConstantSizeInlinedEqualityComparisons() 112 benchmark::DoNotOptimize(a == "fff"); in DoConstantSizeInlinedEqualityComparisons() [all …]
|
/third_party/benchmark/test/ |
D | donotoptimize_assembly_test.cc | 41 benchmark::DoNotOptimize(Add42(0)); in test_with_rvalue() 48 benchmark::DoNotOptimize(Large{ExternInt, {ExternInt, ExternInt}}); in test_with_large_rvalue() 58 benchmark::DoNotOptimize(NotTriviallyCopyable(ExternInt)); in test_with_non_trivial_rvalue() 66 benchmark::DoNotOptimize(x); in test_with_lvalue() 75 benchmark::DoNotOptimize(L); in test_with_large_lvalue() 86 benchmark::DoNotOptimize(ExtraLargeObj); in test_with_extra_large_lvalue_with_op() 94 benchmark::DoNotOptimize(BigArray); in test_with_big_array_with_op() 102 benchmark::DoNotOptimize(NTC); in test_with_non_trivial_lvalue() 111 benchmark::DoNotOptimize(x); in test_with_const_lvalue() 119 benchmark::DoNotOptimize(L); in test_with_large_const_lvalue() [all …]
|
D | donotoptimize_test.cc | 33 benchmark::DoNotOptimize(buffer1); in main() 36 benchmark::DoNotOptimize(buffer2); in main() 39 benchmark::DoNotOptimize(buffer3); in main() 42 benchmark::DoNotOptimize(buffer8); in main() 45 benchmark::DoNotOptimize(buffer20); in main() 48 benchmark::DoNotOptimize(buffer1024); in main() 50 benchmark::DoNotOptimize(bptr); in main() 53 benchmark::DoNotOptimize(x); in main() 55 benchmark::DoNotOptimize(xp); in main() 56 benchmark::DoNotOptimize(x += 42); in main() [all …]
|
D | basic_test.cc | 9 benchmark::DoNotOptimize(iterations); in BM_empty() 18 benchmark::DoNotOptimize(x); in BM_spin_empty() 27 benchmark::DoNotOptimize(i); in BM_spin_pause_before() 31 benchmark::DoNotOptimize(i); in BM_spin_pause_before() 42 benchmark::DoNotOptimize(i); in BM_spin_pause_during() 46 benchmark::DoNotOptimize(i); in BM_spin_pause_during() 67 benchmark::DoNotOptimize(i); in BM_spin_pause_after() 71 benchmark::DoNotOptimize(i); in BM_spin_pause_after() 79 benchmark::DoNotOptimize(i); in BM_spin_pause_before_and_after() 83 benchmark::DoNotOptimize(i); in BM_spin_pause_before_and_after() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
D | duration_benchmark.cc | 38 benchmark::DoNotOptimize(absl::Nanoseconds(i)); in BM_Duration_Factory_Nanoseconds() 47 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds() 56 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds() 65 benchmark::DoNotOptimize(absl::Seconds(i)); in BM_Duration_Factory_Seconds() 74 benchmark::DoNotOptimize(absl::Minutes(i)); in BM_Duration_Factory_Minutes() 83 benchmark::DoNotOptimize(absl::Hours(i)); in BM_Duration_Factory_Hours() 92 benchmark::DoNotOptimize(absl::Nanoseconds(d)); in BM_Duration_Factory_DoubleNanoseconds() 101 benchmark::DoNotOptimize(absl::Microseconds(d)); in BM_Duration_Factory_DoubleMicroseconds() 110 benchmark::DoNotOptimize(absl::Milliseconds(d)); in BM_Duration_Factory_DoubleMilliseconds() 119 benchmark::DoNotOptimize(absl::Seconds(d)); in BM_Duration_Factory_DoubleSeconds() [all …]
|
D | time_benchmark.cc | 42 benchmark::DoNotOptimize(t += nano); in BM_Time_Arithmetic() 43 benchmark::DoNotOptimize(t -= sec); in BM_Time_Arithmetic() 57 benchmark::DoNotOptimize(diff += end - start); in BM_Time_Difference() 80 benchmark::DoNotOptimize(t.In(tz)); in BM_Time_ToDateTime_Absl() 94 benchmark::DoNotOptimize(localtime_r(&t, &tm)); in BM_Time_ToDateTime_Libc() 96 benchmark::DoNotOptimize(localtime_s(&tm, &t)); in BM_Time_ToDateTime_Libc() 107 benchmark::DoNotOptimize(t.In(tz)); in BM_Time_ToDateTimeUTC_Absl() 118 benchmark::DoNotOptimize(gmtime_r(&t, &tm)); in BM_Time_ToDateTimeUTC_Libc() 120 benchmark::DoNotOptimize(gmtime_s(&tm, &t)); in BM_Time_ToDateTimeUTC_Libc() 133 benchmark::DoNotOptimize(absl::FromUnixMicros(i)); in BM_Time_FromUnixMicros() [all …]
|
D | clock_benchmark.cc | 30 benchmark::DoNotOptimize(absl::Now()); in BM_Clock_Now_AbslTime() 37 benchmark::DoNotOptimize(absl::GetCurrentTimeNanos()); in BM_Clock_Now_GetCurrentTimeNanos() 44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos() 51 benchmark::DoNotOptimize(absl::base_internal::CycleClock::Now()); in BM_Clock_Now_CycleClock() 60 benchmark::DoNotOptimize(gettimeofday(&tv, nullptr)); in BM_Clock_Now_gettimeofday() 68 benchmark::DoNotOptimize(clock_gettime(CLOCK_REALTIME, &ts)); in BM_Clock_Now_clock_gettime()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | inlined_vector_benchmark.cc | 36 benchmark::DoNotOptimize(v); in BM_InlinedVectorFill() 47 benchmark::DoNotOptimize(src); in BM_InlinedVectorFillRange() 49 benchmark::DoNotOptimize(v); in BM_InlinedVectorFillRange() 63 benchmark::DoNotOptimize(v); in BM_StdVectorFill() 138 benchmark::DoNotOptimize(dst); in BM_InlinedVectorAssignments() 139 benchmark::DoNotOptimize(src); in BM_InlinedVectorAssignments() 154 benchmark::DoNotOptimize(src); in BM_CreateFromContainer() 156 benchmark::DoNotOptimize(dst); in BM_CreateFromContainer() 226 benchmark::DoNotOptimize(a); in BM_SwapElements() 227 benchmark::DoNotOptimize(b); in BM_SwapElements() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | cctz_benchmark.cc | 36 benchmark::DoNotOptimize(c - epoch); in BM_Difference_Days() 45 benchmark::DoNotOptimize(++c); in BM_Step_Days() 53 benchmark::DoNotOptimize(cctz::get_weekday(c)); in BM_GetWeekday() 72 benchmark::DoNotOptimize(cctz::next_weekday(from, to)); in BM_NextWeekday() 93 benchmark::DoNotOptimize(cctz::prev_weekday(from, to)); in BM_PrevWeekday() 726 benchmark::DoNotOptimize(cctz::load_time_zone("UTC", &tz)); in BM_Zone_LoadUTCTimeZoneFirst() 737 benchmark::DoNotOptimize(cctz::load_time_zone("UTC", &tz)); in BM_Zone_LoadUTCTimeZoneLast() 749 benchmark::DoNotOptimize(cctz::load_time_zone(name, &tz)); in BM_Zone_LoadTimeZoneFirst() 760 benchmark::DoNotOptimize(cctz::load_time_zone(name, &tz)); in BM_Zone_LoadTimeZoneCached() 770 benchmark::DoNotOptimize(cctz::local_time_zone()); in BM_Zone_LoadLocalTimeZoneCached() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | memutil_benchmark.cc | 99 benchmark::DoNotOptimize( in BM_Memmem() 108 benchmark::DoNotOptimize( in BM_MemmemMedium() 117 benchmark::DoNotOptimize(absl::strings_internal::memmem( in BM_MemmemPathological() 127 benchmark::DoNotOptimize( in BM_Memcasemem() 136 benchmark::DoNotOptimize( in BM_MemcasememMedium() 145 benchmark::DoNotOptimize(absl::strings_internal::memcasemem( in BM_MemcasememPathological() 159 benchmark::DoNotOptimize(std::search(kHaystack, kHaystack + kHaystackSize, in BM_Search() 169 benchmark::DoNotOptimize(std::search(kHaystack, kHaystack + kHaystackSize, in BM_SearchMedium() 179 benchmark::DoNotOptimize(std::search(kHaystack, kHaystack + kHaystackSize, in BM_SearchPathological() 189 benchmark::DoNotOptimize(std::search(kHaystack, kHaystack + kHaystackSize, in BM_Searchcase() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | layout_benchmark.cc | 27 using ::benchmark::DoNotOptimize; 35 DoNotOptimize(Offset); in BM_OffsetConstantHeadroom() 45 DoNotOptimize(L::Partial(3, 5, 7).template Offset<3>()); in BM_OffsetConstant() 74 DoNotOptimize(n); in BM_OffsetVariableHeadroom() 75 DoNotOptimize(m); in BM_OffsetVariableHeadroom() 76 DoNotOptimize(k); in BM_OffsetVariableHeadroom() 77 DoNotOptimize(VariableOffset<Ts...>(n, m, k)); in BM_OffsetVariableHeadroom() 90 DoNotOptimize(n); in BM_OffsetVariable() 91 DoNotOptimize(m); in BM_OffsetVariable() 92 DoNotOptimize(k); in BM_OffsetVariable() [all …]
|
D | raw_hash_set_benchmark.cc | 169 ::benchmark::DoNotOptimize(t.find(*--it)); in BM_CacheInSteadyState() 172 for (int i = 0; i != 10; ++i) ::benchmark::DoNotOptimize(t.find(gen(rng))); in BM_CacheInSteadyState() 215 benchmark::DoNotOptimize(it); in BM_EndComparison() 216 benchmark::DoNotOptimize(t); in BM_EndComparison() 217 benchmark::DoNotOptimize(it != t.end()); in BM_EndComparison() 235 benchmark::DoNotOptimize(t2); in BM_CopyCtor() 252 benchmark::DoNotOptimize(t2); in BM_CopyAssign() 269 benchmark::DoNotOptimize(t); in BM_RangeCtor() 278 benchmark::DoNotOptimize(t); in BM_NoOpReserveIntTable() 288 benchmark::DoNotOptimize(t); in BM_NoOpReserveStringTable() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/functional/ |
D | function_ref_benchmark.cc | 28 void FreeFunction() { benchmark::DoNotOptimize(dummy); } in FreeFunction() 31 void operator()() const { benchmark::DoNotOptimize(dummy); } in operator ()() 35 void operator()() const { benchmark::DoNotOptimize(this); } in operator ()() 91 benchmark::DoNotOptimize(&f); in CallFunctionBenchmark() 98 benchmark::DoNotOptimize(a); in operator ()() 99 benchmark::DoNotOptimize(b); in operator ()() 100 benchmark::DoNotOptimize(c); in operator ()() 118 benchmark::DoNotOptimize(&a); in operator ()() 119 benchmark::DoNotOptimize(&b); in operator ()() 120 benchmark::DoNotOptimize(&c); in operator ()()
|