update README.md
This commit is contained in:
@@ -36,12 +36,8 @@ void pingpong(bench::State &state) {
|
|||||||
delete[] rbuf;
|
delete[] rbuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
BENCH(pingpong)->timing_root_rank()->no_iter_barrier();
|
||||||
bench::init(argc, argv);
|
BENCH_MAIN()
|
||||||
bench::register_bench("pingpong", pingpong)->timing_root_rank()->no_iter_barrier();
|
|
||||||
bench::run_benchmarks();
|
|
||||||
bench::finalize();
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
The library will automatically determine the number of iterations to run.
|
The library will automatically determine the number of iterations to run.
|
||||||
|
Reference in New Issue
Block a user