dummy.c File Reference

Include dependency graph for dummy.c:

Go to the source code of this file.

Functions

void dummy (void *array)
void dummy_ (void *array)
void dummy__ (void *array)
void DUMMY (void *array)
void _DUMMY (void *array)
void touch_dummy (double *array, int size)

Function Documentation

void _DUMMY ( void *  array  ) 

Definition at line 31 of file dummy.c.

00032 {
00033     ( void ) array;
00034 }

void DUMMY ( void *  array  ) 

Definition at line 25 of file dummy.c.

00026 {
00027     ( void ) array;
00028 }

void dummy ( void *  array  ) 

Definition at line 4 of file dummy.c.

00005 {
00006 /* Confuse the compiler so as not to optimize
00007    away the flops in the calling routine    */
00008 /* Cast the array as a void to eliminate unused argument warning */
00009     ( void ) array;
00010 }

Here is the caller graph for this function:

void dummy_ ( void *  array  ) 

Definition at line 13 of file dummy.c.

00014 {
00015     ( void ) array;
00016 }

void dummy__ ( void *  array  ) 

Definition at line 19 of file dummy.c.

00020 {
00021     ( void ) array;
00022 }

void touch_dummy ( double *  array,
int  size 
)

Definition at line 41 of file dummy.c.

00042 {
00043     int i;
00044     double *tmp = array;
00045     for ( i = 0; i < size; i++, tmp++ )
00046         *tmp = ( double ) rand(  );
00047 }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 17 Nov 2016 for PAPI by  doxygen 1.6.1