#include "../include/frames.h"
Go to the source code of this file.
Functions | |
void | lqmToString (char **lqm, char *s, int nnodes) |
int | ms_to_us (int n) |
int | us_to_ms (int n) |
void | wmp_add_ms (struct timespec *ts, int ms) |
unsigned int | wmp_calculate_frame_duration_ms (int rate, int size) |
unsigned int | wmp_calculate_frame_duration_us (int rate, int size) |
long long | wmp_elapsed_ms (struct timespec *begin, struct timespec *end) |
void | wmp_print (const char *format,...) |
void | wmp_print_append (wmpFrame *p) |
void | wmp_print_clean (wmpFrame *p) |
int | wmp_print_get_size (void) |
void | wmp_print_lqm (char **lqm, char *s, int nnodes) |
int | wmp_print_put (wmpFrame *p) |
void | wmp_print_reset (void) |
long long | wmp_timespec_to_ns (struct timespec *ts) |
int | wmpGetFrameHash (wmpFrame *p) |
int | wmpGetFrameHashNoRetry (wmpFrame *p) |
void lqmToString | ( | char ** | lqm, |
char * | s, | ||
int | nnodes | ||
) |
Definition at line 89 of file wmp_utils.c.
int ms_to_us | ( | int | n | ) | [inline] |
Definition at line 180 of file wmp_utils.c.
int us_to_ms | ( | int | n | ) | [inline] |
Definition at line 183 of file wmp_utils.c.
void wmp_add_ms | ( | struct timespec * | ts, |
int | ms | ||
) |
Definition at line 56 of file wmp_utils.c.
unsigned int wmp_calculate_frame_duration_ms | ( | int | rate, |
int | size | ||
) |
Definition at line 66 of file wmp_utils.c.
unsigned int wmp_calculate_frame_duration_us | ( | int | rate, |
int | size | ||
) |
Definition at line 75 of file wmp_utils.c.
long long wmp_elapsed_ms | ( | struct timespec * | begin, |
struct timespec * | end | ||
) |
Definition at line 51 of file wmp_utils.c.
void wmp_print | ( | const char * | format, |
... | |||
) |
Definition at line 192 of file wmp_utils.c.
void wmp_print_append | ( | wmpFrame * | p | ) |
Definition at line 200 of file wmp_utils.c.
void wmp_print_clean | ( | wmpFrame * | p | ) |
Definition at line 217 of file wmp_utils.c.
int wmp_print_get_size | ( | void | ) |
Definition at line 209 of file wmp_utils.c.
void wmp_print_lqm | ( | char ** | lqm, |
char * | s, | ||
int | nnodes | ||
) |
Definition at line 120 of file wmp_utils.c.
int wmp_print_put | ( | wmpFrame * | p | ) |
Definition at line 225 of file wmp_utils.c.
void wmp_print_reset | ( | void | ) |
Definition at line 212 of file wmp_utils.c.
long long wmp_timespec_to_ns | ( | struct timespec * | ts | ) |
Definition at line 46 of file wmp_utils.c.
int wmpGetFrameHash | ( | wmpFrame * | p | ) |
Definition at line 80 of file wmp_utils.c.
int wmpGetFrameHashNoRetry | ( | wmpFrame * | p | ) |
Definition at line 85 of file wmp_utils.c.