PAPI  5.0.1.0
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.

{
    ( void ) array;
}
void dummy ( void *  array)

Definition at line 4 of file dummy.c.

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

Here is the caller graph for this function:

void DUMMY ( void *  array)

Definition at line 25 of file dummy.c.

{
    ( void ) array;
}
void dummy_ ( void *  array)

Definition at line 13 of file dummy.c.

{
    ( void ) array;
}
void dummy__ ( void *  array)

Definition at line 19 of file dummy.c.

{
    ( void ) array;
}
void touch_dummy ( double *  array,
int  size 
)

Definition at line 41 of file dummy.c.

{
    int i;
    double *tmp = array;
    for ( i = 0; i < size; i++, tmp++ )
        *tmp = ( double ) rand(  );
}

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines