PandA-2024.02
Macros | Functions | Variables
add.c File Reference
#include <stdio.h>
#include "add.h"
Include dependency graph for add.c:

Go to the source code of this file.

Macros

#define NUM_ACCELS   5
 
#define ARRAY_SIZE   10000
 
#define OPS_PER_ACCEL   ARRAY_SIZE/NUM_ACCELS
 

Functions

 __attribute__ ((noinline))
 
int main ()
 

Variables

int output [NUM_ACCELS]
 

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE   10000

Definition at line 2 of file add.c.

◆ NUM_ACCELS

#define NUM_ACCELS   5

Definition at line 1 of file add.c.

Referenced by main().

◆ OPS_PER_ACCEL

#define OPS_PER_ACCEL   ARRAY_SIZE/NUM_ACCELS

Definition at line 3 of file add.c.

Referenced by __attribute__().

Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  )

Definition at line 10 of file add.c.

References add(), array, OPS_PER_ACCEL, output, and sum.

Here is the call graph for this function:

◆ main()

int main ( void  )

Definition at line 35 of file add.c.

References NUM_ACCELS, output, and sum.

Variable Documentation

◆ output

int output[NUM_ACCELS]

Definition at line 8 of file add.c.

Referenced by __attribute__(), add(), and main().


Generated on Mon Feb 12 2024 13:03:07 for PandA-2024.02 by doxygen 1.8.13