Stxxl
1.4.0
|
#include <iomanip>
#include <vector>
#include <cstdio>
#include <stxxl/io>
#include <stxxl/aligned_alloc>
#include <stxxl/timer>
Go to the source code of this file.
Defines | |
#define | BLOCK_ALIGN 4096 |
#define | MB (1024 * 1024) |
#define | GB (1024 * 1024 * 1024) |
Functions | |
void | usage (const char *argv0) |
double | throughput (double bytes, double seconds) |
int | main (int argc, char *argv[]) |
#define BLOCK_ALIGN 4096 |
Definition at line 29 of file iobench_scatter_in_place.cpp.
#define GB (1024 * 1024 * 1024) |
Definition at line 34 of file iobench_scatter_in_place.cpp.
#define MB (1024 * 1024) |
Definition at line 33 of file iobench_scatter_in_place.cpp.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 55 of file iobench_scatter_in_place.cpp.
References stxxl::atoint64(), block_size, stxxl::div_ceil(), MB, stxxl::timer::seconds(), stxxl::timer::stop(), stxxl::STXXL_MAX(), throughput(), and usage().
double throughput | ( | double | bytes, |
double | seconds | ||
) | [inline] |
Definition at line 48 of file iobench_scatter_in_place.cpp.
void usage | ( | const char * | argv0 | ) |
Definition at line 36 of file iobench_scatter_in_place.cpp.