![]() |
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 69 of file local_support.c.
References bench_args_t::n_matches.
| void data_to_input | ( | int | fd, |
| void * | vdata | ||
| ) |
Definition at line 34 of file local_support.c.
References bench_args_t::input, bench_args_t::pattern, PATTERN_SIZE, STRING_SIZE, write_section_header(), and write_string().

| void data_to_output | ( | int | fd, |
| void * | vdata | ||
| ) |
Definition at line 62 of file local_support.c.
References bench_args_t::n_matches, write_int32_t_array(), and write_section_header().

| void input_to_data | ( | int | fd, |
| void * | vdata | ||
| ) |
Definition at line 18 of file local_support.c.
References find_section_start(), bench_args_t::input, parse_string(), bench_args_t::pattern, PATTERN_SIZE, readfile(), and STRING_SIZE.

| void output_to_data | ( | int | fd, |
| void * | vdata | ||
| ) |
Definition at line 49 of file local_support.c.
References find_section_start(), bench_args_t::n_matches, parse_int32_t_array(), and readfile().

| void run_benchmark | ( | void * | vargs | ) |
Definition at line 6 of file local_support.c.
References test_panda::args, bench_args_t::input, kmp(), bench_args_t::kmpNext, bench_args_t::n_matches, and bench_args_t::pattern.

| int INPUT_SIZE = sizeof(struct bench_args_t) |
Definition at line 4 of file local_support.c.
1.8.13