MACSio  0.9
Multi-purpose, Application-Centric, Scalable I/O Proxy App
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
probe.c File Reference
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <unistd.h>

Go to the source code of this file.


#define BUF_SIZE   ((size_t)1<<27) /* 1/8th Gigabyte */
#define TOT_BUFS   8192 /* 1024 Gigabytes */


static double time_random_accesses (char **bufs, int nbufs, double *dummy_sum)
int main (int argc, char **argv)


static int buf_ids [TOT_BUFS]

Macro Definition Documentation

#define BUF_SIZE   ((size_t)1<<27) /* 1/8th Gigabyte */

Definition at line 38 of file probe.c.

#define TOT_BUFS   8192 /* 1024 Gigabytes */

Definition at line 39 of file probe.c.

Function Documentation

static double time_random_accesses ( char **  bufs,
int  nbufs,
double *  dummy_sum 

Definition at line 46 of file probe.c.

int main ( int  argc,
char **  argv 

Definition at line 74 of file probe.c.

Variable Documentation

int buf_ids[TOT_BUFS]

Definition at line 41 of file probe.c.