codes/google/benchmark/benchmark07/main.cpp
static void CustomArguments(benchmark::internal::Benchmark* b) {
  for (int i = 0; i <= 10; ++i)
    for (int j = 32; j <= 1024*1024; j *= 8)
      b->Args({i, j});
}
// For more complex patterns of inputs, passing a custom function
// to Apply allows programmatic specification of an
// arbitrary set of arguments to run the microbenchmark on.
// The following example enumerates a dense range on
// one parameter, and a sparse range on the second.
For more complex patterns of inputs, passing a custom function
to Apply allows programmatic specification of an
arbitrary set of arguments to run the microbenchmark on.
The following example enumerates a dense range on
one parameter, and a sparse range on the second.
For more complex patterns of inputs passing a custom function to Apply allows programmatic specification of an arbitrary set of arguments to run the microbenchmark on . The following example enumerates a dense range on one parameter and a sparse range on the second .
static void CustomArguments(benchmark::internal::Benchmark* b) {
  for (int i = 0; i <= 10; ++i)
    for (int j = 32; j <= 1024*1024; j *= 8)
      b->Args({i, j});
}
static void CustomArguments ( benchmark :: internal :: Benchmark * b ) { for ( int i = 0 ; i <= 10 ; ++ i ) for ( int j = 32 ; j <= 1024 * 1024 ; j *= 8 ) b -> Args ( { i , j } ) ; }
For more complex patterns of inputs, passing a custom function
to Apply allows programmatic specification of an
arbitrary set of arguments to run the microbenchmark on.
For more complex patterns of inputs passing a custom function to Apply allows programmatic specification of an arbitrary set of arguments to run the microbenchmark on .