Functions
perf_counters_test.cc File Reference
#include "../src/perf_counters.h"
#include "benchmark/benchmark.h"
#include "output_test.h"
Include dependency graph for perf_counters_test.cc:

Go to the source code of this file.

Functions

 ADD_CASES (TC_JSONOut, {{"\"name\": \"BM_Simple\",$"}})
 
 BENCHMARK (BM_Simple)
 
static void BM_Simple (benchmark::State &state)
 
 CHECK_BENCHMARK_RESULTS ("BM_Simple", &CheckSimple)
 
static void CheckSimple (Results const &e)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ ADD_CASES()

ADD_CASES ( TC_JSONOut  ,
{{"\"name\": \"BM_Simple\",$"}}   
)

◆ BENCHMARK()

BENCHMARK ( BM_Simple  )

◆ BM_Simple()

static void BM_Simple ( benchmark::State state)
static

Definition at line 8 of file perf_counters_test.cc.

◆ CHECK_BENCHMARK_RESULTS()

CHECK_BENCHMARK_RESULTS ( "BM_Simple"  ,
CheckSimple 
)

◆ CheckSimple()

static void CheckSimple ( Results const e)
static

Definition at line 16 of file perf_counters_test.cc.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 22 of file perf_counters_test.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:25