#include <fstream>
#include <iostream>
#include "benchmark/benchmark.h"
#include "benchmarks.pb.h"
#include "datasets/google_message1/proto2/benchmark_message1_proto2.pb.h"
#include "datasets/google_message1/proto3/benchmark_message1_proto3.pb.h"
#include "datasets/google_message2/benchmark_message2.pb.h"
#include "datasets/google_message3/benchmark_message3.pb.h"
#include "datasets/google_message4/benchmark_message4.pb.h"
Go to the source code of this file.
Classes | |
class | Fixture |
class | ParseNewArenaFixture< T > |
class | ParseNewFixture< T > |
class | ParseReuseFixture< T > |
class | SerializeFixture< T > |
class | WrappingCounter |
Macros | |
#define | PREFIX "dataset." |
#define | SUFFIX ".pb" |
Functions | |
int | main (int argc, char *argv[]) |
std::string | ReadFile (const std::string &name) |
void | RegisterBenchmarks (const std::string &dataset_bytes) |
template<class T > | |
void | RegisterBenchmarksForType (const BenchmarkDataset &dataset) |
#define PREFIX "dataset." |
Definition at line 42 of file cpp_benchmark.cc.
#define SUFFIX ".pb" |
Definition at line 43 of file cpp_benchmark.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 240 of file cpp_benchmark.cc.
std::string ReadFile | ( | const std::string & | name | ) |
Definition at line 194 of file cpp_benchmark.cc.
void RegisterBenchmarks | ( | const std::string & | dataset_bytes | ) |
Definition at line 216 of file cpp_benchmark.cc.
void RegisterBenchmarksForType | ( | const BenchmarkDataset & | dataset | ) |
Definition at line 205 of file cpp_benchmark.cc.