Go to the documentation of this file.
   13 #include "../src/check.h" 
   14 #include "benchmark/benchmark.h" 
   16 #if defined(__GNUC__) && !defined(__EXCEPTIONS) 
   17 #define TEST_HAS_NO_EXCEPTIONS 
   21 #ifndef TEST_HAS_NO_EXCEPTIONS 
   22   throw std::logic_error(
"");
 
   29 #if !defined(TEST_BENCHMARK_LIBRARY_HAS_NO_ASSERTIONS) && !defined(TEST_HAS_NO_EXCEPTIONS) 
   33   } 
catch (std::logic_error 
const&) {
 
   38   } 
catch (std::logic_error 
const&) {
 
   46   static bool called_once = 
false;
 
   50   while (
state.KeepRunning()) {
 
   60 int main(
int argc, 
char* argv[]) {
 
  
BENCHMARK_ALWAYS_INLINE void DoNotOptimize(Tp const &value)
void BM_diagnostic_test(benchmark::State &state)
size_t RunSpecifiedBenchmarks()
int main(int argc, char *argv[])
void Initialize(int *argc, char **argv)
AbortHandlerT *& GetAbortHandler()
BENCHMARK(BM_diagnostic_test)
void try_invalid_pause_resume(benchmark::State &state)
grpc
Author(s): 
autogenerated on Fri May 16 2025 02:58:16