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 101 of file local_support.c.
References bench_args_t::level_counts, and N_LEVELS.
void data_to_input | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 54 of file local_support.c.
References node_t_struct::edge_begin, node_t_struct::edge_end, bench_args_t::edges, N_EDGES, N_NODES, bench_args_t::nodes, nodes, bench_args_t::starting_node, write_section_header(), and write_uint64_t_array().
void data_to_output | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 94 of file local_support.c.
References bench_args_t::level_counts, N_LEVELS, write_section_header(), and write_uint64_t_array().
void input_to_data | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 21 of file local_support.c.
References node_t_struct::edge_begin, node_t_struct::edge_end, bench_args_t::edges, find_section_start(), bench_args_t::level, MAX_LEVEL, N_EDGES, N_NODES, bench_args_t::nodes, nodes, parse_uint64_t_array(), readfile(), and bench_args_t::starting_node.
void output_to_data | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 81 of file local_support.c.
References find_section_start(), bench_args_t::level_counts, N_LEVELS, parse_uint64_t_array(), and readfile().
void run_benchmark | ( | void * | vargs | ) |
Definition at line 7 of file local_support.c.
References test_panda::args, bfs(), bench_args_t::edges, bench_args_t::level, bench_args_t::level_counts, bench_args_t::nodes, and bench_args_t::starting_node.
int INPUT_SIZE = sizeof(struct bench_args_t) |
Definition at line 5 of file local_support.c.