TwiceAsNice
2019-02-18
|
#include "hpdi32_api.h"
Macros | |
#define | VERSION "1.02" |
#define | ARRAY_ELEMENTS(a) (sizeof((a))/sizeof((a)[0])) |
#define | BLOCK_COUNT_LIMIT (100L * 1024L * 1024L) |
#define | BLOCK_SAMPLES_LIMIT (10L * 1024L * 1024L) |
#define | TRANSFER_PERIOD_LIMIT_DAYS 7 |
#define | SECONDS_PER_YEAR (60L * 60 * 24 * 7 * 52) |
#define | SECONDS_PER_WEEK (60L * 60 * 24 * 7) |
#define | SECONDS_PER_DAY (60L * 60 * 24) |
#define | SECONDS_PER_HOUR (60L * 60) |
#define | SECONDS_PER_MINUTE (60L) |
Functions | |
void | actual_duration (long begin) |
U32 | estimate_duration (U32 clock, U32 size, double bytes) |
void | format_value (U32 u32, const char *units) |
U32 | read_config_file (void *device, const char *name) |
U32 | rx_process (void *device) |
U32 | show_data_rate (U32 which, U32 clock, U32 size) |
U32 | show_data_set (void *device, U32 which, unsigned long *size, double *bytes) |
U32 | test_status (U32 status, const char *service) |
U32 | tx_process (void *device) |
U32 | tx_rx_tristate (void *device) |
Variables | |
U32 | block_count |
U32 | block_samples |
U32 | io_clock |
#define ARRAY_ELEMENTS | ( | a | ) | (sizeof((a))/sizeof((a)[0])) |
#define BLOCK_COUNT_LIMIT (100L * 1024L * 1024L) |
#define BLOCK_SAMPLES_LIMIT (10L * 1024L * 1024L) |
#define SECONDS_PER_DAY (60L * 60 * 24) |
#define SECONDS_PER_HOUR (60L * 60) |
#define SECONDS_PER_MINUTE (60L) |
#define SECONDS_PER_WEEK (60L * 60 * 24 * 7) |
#define SECONDS_PER_YEAR (60L * 60 * 24 * 7 * 52) |
#define TRANSFER_PERIOD_LIMIT_DAYS 7 |
#define VERSION "1.02" |
void actual_duration | ( | long | begin | ) |
U32 estimate_duration | ( | U32 | clock, |
U32 | size, | ||
double | bytes | ||
) |
void format_value | ( | U32 | u32, |
const char * | units | ||
) |
U32 read_config_file | ( | void * | device, |
const char * | name | ||
) |
U32 rx_process | ( | void * | device | ) |
U32 show_data_rate | ( | U32 | which, |
U32 | clock, | ||
U32 | size | ||
) |
U32 show_data_set | ( | void * | device, |
U32 | which, | ||
unsigned long * | size, | ||
double * | bytes | ||
) |
U32 test_status | ( | U32 | status, |
const char * | service | ||
) |
U32 tx_process | ( | void * | device | ) |
U32 tx_rx_tristate | ( | void * | device | ) |
U32 block_count |
U32 block_samples |
U32 io_clock |