PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | NUM_ACCELS 8 |
#define | MAX_NUM 100 |
#define | NUM_BINS 5 |
#define | BIN_MAX_NUM MAX_NUM/NUM_BINS |
#define | ARRAY_SIZE 36000 |
#define | OPS_PER_ACCEL ARRAY_SIZE/NUM_ACCELS |
Functions | |
void | histogram (int *input, int *output, int max_idx) |
int | main () |
#define ARRAY_SIZE 36000 |
Definition at line 5 of file histogram.c.
Definition at line 4 of file histogram.c.
Referenced by histogram().
#define MAX_NUM 100 |
Definition at line 2 of file histogram.c.
#define NUM_ACCELS 8 |
Definition at line 1 of file histogram.c.
Referenced by main().
#define NUM_BINS 5 |
Definition at line 3 of file histogram.c.
Referenced by main().
#define OPS_PER_ACCEL ARRAY_SIZE/NUM_ACCELS |
Definition at line 6 of file histogram.c.
Referenced by main().
void histogram | ( | int * | input, |
int * | output, | ||
int | max_idx | ||
) |
Definition at line 11 of file histogram.c.
References BIN_MAX_NUM.
int main | ( | void | ) |
Definition at line 49 of file histogram.c.
References expected_array, histogram(), input_array, main_result, NUM_ACCELS, NUM_BINS, OPS_PER_ACCEL, output_array, and output_array_accel.