PandA-2024.02
|
Go to the source code of this file.
Functions | |
void | run_benchmark (void *vargs) |
void | input_to_data (int fd, void *vdata) |
void | data_to_input (int fd, void *vdata) |
void | output_to_data (int fd, void *vdata) |
void | data_to_output (int fd, void *vdata) |
int | check_data (void *vdata, void *vref) |
Variables | |
int | INPUT_SIZE = sizeof(struct bench_args_t) |
int check_data | ( | void * | vdata, |
void * | vref | ||
) |
Definition at line 85 of file local_support.c.
References bench_args_t::buf, N_OBS, and bench_args_t::path.
void data_to_input | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 44 of file local_support.c.
References bench_args_t::emission, bench_args_t::init, N_OBS, N_STATES, N_TOKENS, bench_args_t::obs, STAC, bench_args_t::transition, TYPE, write_section_header(), and write_uint8_t_array().
void data_to_output | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 78 of file local_support.c.
References N_OBS, bench_args_t::path, write_section_header(), and write_uint8_t_array().
void input_to_data | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 22 of file local_support.c.
References bench_args_t::emission, find_section_start(), bench_args_t::init, N_OBS, N_STATES, N_TOKENS, bench_args_t::obs, parse_uint8_t_array(), readfile(), STAC, bench_args_t::transition, and TYPE.
void output_to_data | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 65 of file local_support.c.
References find_section_start(), N_OBS, parse_uint8_t_array(), bench_args_t::path, and readfile().
void run_benchmark | ( | void * | vargs | ) |
Definition at line 6 of file local_support.c.
References test_panda::args, bench_args_t::emission, bench_args_t::init, bench_args_t::obs, bench_args_t::path, bench_args_t::transition, and viterbi().
int INPUT_SIZE = sizeof(struct bench_args_t) |
Definition at line 4 of file local_support.c.