cfitsio  3390
Macros | Functions | Variables
speed.c File Reference
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include "fitsio.h"
Include dependency graph for speed.c:

Macros

#define minvalue(A, B)   ((A) < (B) ? (A) : (B))
 
#define XSIZE   3000
 
#define YSIZE   3000
 
#define SHTSIZE   20000
 
#define BROWS   2500000
 
#define AROWS   400000
 
#define CLOCKTICKS   1000000
 
#define difftime(A, B)   ((double) A - (double) B)
 

Functions

int writeimage (fitsfile *fptr, int *status)
 
int writebintable (fitsfile *fptr, int *status)
 
int writeasctable (fitsfile *fptr, int *status)
 
int readimage (fitsfile *fptr, int *status)
 
int readatable (fitsfile *fptr, int *status)
 
int readbtable (fitsfile *fptr, int *status)
 
void printerror (int status)
 
int marktime (int *status)
 
int gettime (double *elapse, float *elapscpu, int *status)
 
int main (void)
 

Variables

clock_t scpu
 
clock_t ecpu
 
time_t start
 
time_t finish
 
long startsec
 
int startmilli
 

Macro Definition Documentation

#define AROWS   400000
#define BROWS   2500000
#define CLOCKTICKS   1000000
#define difftime (   A,
 
)    ((double) A - (double) B)
#define minvalue (   A,
 
)    ((A) < (B) ? (A) : (B))
#define SHTSIZE   20000
#define XSIZE   3000
#define YSIZE   3000

Function Documentation

int gettime ( double *  elapse,
float *  elapscpu,
int *  status 
)

Here is the caller graph for this function:

int main ( void  )

Here is the call graph for this function:

int marktime ( int *  status)

Here is the caller graph for this function:

void printerror ( int  status)

Here is the caller graph for this function:

int readatable ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int readbtable ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int readimage ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int writeasctable ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int writebintable ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int writeimage ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

clock_t ecpu
time_t finish
clock_t scpu
time_t start
int startmilli
long startsec