Stxxl  1.4.0
Defines | Functions | Variables
io/benchmark_disks.cpp File Reference
#include <iomanip>
#include <vector>
#include <stxxl/io>
#include <stxxl/aligned_alloc>
#include <stxxl/timer>
#include <stxxl/bits/version.h>
Include dependency graph for benchmark_disks.cpp:

Go to the source code of this file.

Defines

#define BLOCK_ALIGN   4096
#define POLL_DELAY   1000
#define RAW_ACCESS
#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[])

Variables

const char * default_file_type = "syscall"

Define Documentation

#define BLOCK_ALIGN   4096

Definition at line 43 of file benchmark_disks.cpp.

#define GB   (1024 * 1024 * 1024)

Definition at line 100 of file benchmark_disks.cpp.

Referenced by main().

#define MB   (1024 * 1024)

Definition at line 99 of file benchmark_disks.cpp.

Referenced by main().

#define POLL_DELAY   1000

Definition at line 49 of file benchmark_disks.cpp.

#define RAW_ACCESS

Definition at line 51 of file benchmark_disks.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)
double throughput ( double  bytes,
double  seconds 
) [inline]

Definition at line 127 of file benchmark_disks.cpp.

Referenced by main().

void usage ( const char *  argv0)

Definition at line 102 of file benchmark_disks.cpp.

References default_file_type.


Variable Documentation

const char* default_file_type = "syscall"

Definition at line 59 of file benchmark_disks.cpp.

Referenced by main(), and usage().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines