Defines | Functions

mft1.c File Reference

#include <stdio.h>
#include <unistd.h>
#include <time.h>
#include <math.h>
#include <stdlib.h>
#include <sys/types.h>
#include "timing_instr.h"
Include dependency graph for mft1.c:

Defines

#define RUNS   5

Functions

__inline u_int32_t get_ip ()
__inline u_int32_t read_timebase ()
__inline u_int32_t store_timebase (u_int32_t volatile *p)
void malloc_timestamps (int size)
double get_mean (u_int32_t *dataset, int dataset_size)
double get_deviation (u_int32_t *dataset, int dataset_size, double mean)
void clear_dataset (u_int32_t *dataset, int dataset_size)
void print_results (u_int32_t *dataset, char *testname)
void measure_us (u_int32_t *dataset, int dataset_size, int delay)
void do_measurements ()
int main (void)

Define Documentation

#define RUNS   5

Function Documentation

void clear_dataset ( u_int32_t *  dataset,
int  dataset_size 
)
void do_measurements (  ) 

Here is the call graph for this function:

double get_deviation ( u_int32_t *  dataset,
int  dataset_size,
double  mean 
)

Here is the caller graph for this function:

__inline u_int32_t get_ip (  ) 
double get_mean ( u_int32_t *  dataset,
int  dataset_size 
)

Here is the caller graph for this function:

int main ( void   ) 

Here is the call graph for this function:

void malloc_timestamps ( int  size  ) 
void measure_us ( u_int32_t *  dataset,
int  dataset_size,
int  delay 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void print_results ( u_int32_t *  dataset,
char *  testname 
)

Here is the caller graph for this function:

__inline u_int32_t read_timebase (  ) 

Here is the caller graph for this function:

__inline u_int32_t store_timebase ( u_int32_t volatile *  p  ) 

Here is the caller graph for this function: