TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Typedefs | Functions | Variables
benchVecAdd.cpp File Reference
#include <iostream>
#include <Eigen/Core>
#include <bench/BenchTimer.h>

Macros

#define SIZE   50
 
#define REPEAT   10000
 

Typedefs

typedef float Scalar
 

Functions

 __attribute__ ((noinline)) void benchVec(Scalar *a
 
 __attribute__ ((noinline)) void benchVec(MatrixXf &a
 
int main (int argc, char *argv[])
 
void benchVec (MatrixXf &a, MatrixXf &b, MatrixXf &c)
 
void benchVec (VectorXf &a, VectorXf &b, VectorXf &c)
 
void benchVec (Scalar *a, Scalar *b, Scalar *c, int size)
 

Variables

Scalarb
 
Scalar Scalarc
 
Scalar Scalar int size
 

Macro Definition Documentation

◆ REPEAT

#define REPEAT   10000

◆ SIZE

#define SIZE   50

Typedef Documentation

◆ Scalar

typedef float Scalar

Function Documentation

◆ __attribute__() [1/2]

__attribute__ ( (noinline)  ) &

◆ __attribute__() [2/2]

__attribute__ ( (noinline)  )

◆ benchVec() [1/3]

void benchVec ( MatrixXf &  a,
MatrixXf &  b,
MatrixXf &  c 
)

◆ benchVec() [2/3]

void benchVec ( Scalar a,
Scalar b,
Scalar c,
int  size 
)

◆ benchVec() [3/3]

void benchVec ( VectorXf &  a,
VectorXf &  b,
VectorXf &  c 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ b

VectorXf & b

◆ c

VectorXf VectorXf & c

◆ size