in BenchmarkNdkSample/benchmark/cpp/benchmark/SampleBenchmarks.cpp [40:45]
static void BM_Skip(benchmark::State &state) {
while (state.KeepRunning()) {
// Try uncommenting the below line to print an error:
//state.SkipWithError("This is an error!");
}
} BENCHMARK(BM_Skip);