Defines | Functions

shist.c File Reference

#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <math.h>
#include "shist.h"
Include dependency graph for shist.c:

Defines

#define _ISOC99_SOURCE

Functions

void shist_init (struct shist_data *hist)
unsigned shist_index (struct shist_data *hist, double t)
void shist_add (struct shist_data *hist, double t)
double shist_low_bound (struct shist_data *hist, int index)
void shist_time2str (char *dest, double t)
void shist_print_line (double low, double high, unsigned count, unsigned total_count)
void shist_print (struct shist_data *hist, const char *msg)
void shist_print_progress (struct shist_data *hist)

Define Documentation

#define _ISOC99_SOURCE

Function Documentation

void shist_add ( struct shist_data hist,
double  t 
)

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned shist_index ( struct shist_data hist,
double  t 
)

Here is the caller graph for this function:

void shist_init ( struct shist_data hist  ) 

Here is the caller graph for this function:

double shist_low_bound ( struct shist_data hist,
int  index 
)

Here is the caller graph for this function:

void shist_print ( struct shist_data hist,
const char *  msg 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void shist_print_line ( double  low,
double  high,
unsigned  count,
unsigned  total_count 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void shist_print_progress ( struct shist_data hist  ) 

Here is the caller graph for this function:

void shist_time2str ( char *  dest,
double  t 
)

Here is the caller graph for this function: