Go to the source code of this file.
Macros | |
#define | ADD_CASES(...) int CONCAT(dummy, __LINE__) = AddCases(__VA_ARGS__) |
#define | CONCAT(x, y) CONCAT2(x, y) |
#define | CONCAT2(x, y) x##y |
Functions | |
ADD_CASES ("BM_error_after_running", {{"/threads:1", true, "error message"}, {"/threads:2", true, "error message"}, {"/threads:4", true, "error message"}, {"/threads:8", true, "error message"}}) | |
ADD_CASES ("BM_error_before_running", {{"", true, "error message"}}) | |
ADD_CASES ("BM_error_during_running", {{"/1/threads:1", true, "error message"}, {"/1/threads:2", true, "error message"}, {"/1/threads:4", true, "error message"}, {"/1/threads:8", true, "error message"}, {"/2/threads:1", false, ""}, {"/2/threads:2", false, ""}, {"/2/threads:4", false, ""}, {"/2/threads:8", false, ""}}) | |
ADD_CASES ("BM_error_while_paused", {{"/1/threads:1", true, "error message"}, {"/1/threads:2", true, "error message"}, {"/1/threads:4", true, "error message"}, {"/1/threads:8", true, "error message"}, {"/2/threads:1", false, ""}, {"/2/threads:2", false, ""}, {"/2/threads:4", false, ""}, {"/2/threads:8", false, ""}}) | |
BENCHMARK (BM_error_after_running) -> ThreadRange(1, 8) | |
BENCHMARK (BM_error_before_running) | |
BENCHMARK (BM_error_during_running) -> Arg(1) ->Arg(2) ->ThreadRange(1, 8) | |
BENCHMARK (BM_error_while_paused) -> Arg(1) ->Arg(2) ->ThreadRange(1, 8) | |
void | BM_error_after_running (benchmark::State &state) |
void | BM_error_before_running (benchmark::State &state) |
void | BM_error_during_running (benchmark::State &state) |
void | BM_error_while_paused (benchmark::State &state) |
int | main (int argc, char *argv[]) |
Definition at line 60 of file skip_with_error_test.cc.
ADD_CASES | ( | "BM_error_after_running" | , |
{{"/threads:1", true, "error message"}, {"/threads:2", true, "error message"}, {"/threads:4", true, "error message"}, {"/threads:8", true, "error message"}} | |||
) |
ADD_CASES | ( | "BM_error_during_running" | , |
{{"/1/threads:1", true, "error message"}, {"/1/threads:2", true, "error message"}, {"/1/threads:4", true, "error message"}, {"/1/threads:8", true, "error message"}, {"/2/threads:1", false, ""}, {"/2/threads:2", false, ""}, {"/2/threads:4", false, ""}, {"/2/threads:8", false, ""}} | |||
) |
ADD_CASES | ( | "BM_error_while_paused" | , |
{{"/1/threads:1", true, "error message"}, {"/1/threads:2", true, "error message"}, {"/1/threads:4", true, "error message"}, {"/1/threads:8", true, "error message"}, {"/2/threads:1", false, ""}, {"/2/threads:2", false, ""}, {"/2/threads:4", false, ""}, {"/2/threads:8", false, ""}} | |||
) |
BENCHMARK | ( | BM_error_after_running | ) | -> ThreadRange(1, 8) |
BENCHMARK | ( | BM_error_before_running | ) |
BENCHMARK | ( | BM_error_during_running | ) | -> Arg(1) ->Arg(2) ->ThreadRange(1, 8) |
BENCHMARK | ( | BM_error_while_paused | ) | -> Arg(1) ->Arg(2) ->ThreadRange(1, 8) |
void BM_error_after_running | ( | benchmark::State & | state | ) |
Definition at line 96 of file skip_with_error_test.cc.
void BM_error_before_running | ( | benchmark::State & | state | ) |
Definition at line 64 of file skip_with_error_test.cc.
void BM_error_during_running | ( | benchmark::State & | state | ) |
Definition at line 73 of file skip_with_error_test.cc.
void BM_error_while_paused | ( | benchmark::State & | state | ) |
Definition at line 109 of file skip_with_error_test.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 133 of file skip_with_error_test.cc.