PAPI  5.4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.

32 {
33  ( void ) array;
34 }
void
Definition: iozone.c:18627
void dummy ( void array)

Definition at line 4 of file dummy.c.

5 {
6 /* Confuse the compiler so as not to optimize
7  away the flops in the calling routine */
8 /* Cast the array as a void to eliminate unused argument warning */
9  ( void ) array;
10 }
void
Definition: iozone.c:18627
void DUMMY ( void array)

Definition at line 25 of file dummy.c.

26 {
27  ( void ) array;
28 }
void
Definition: iozone.c:18627
void dummy_ ( void array)

Definition at line 13 of file dummy.c.

14 {
15  ( void ) array;
16 }
void
Definition: iozone.c:18627
void dummy__ ( void array)

Definition at line 19 of file dummy.c.

20 {
21  ( void ) array;
22 }
void
Definition: iozone.c:18627
void touch_dummy ( double array,
int  size 
)

Definition at line 41 of file dummy.c.

42 {
43  int i;
44  double *tmp = array;
45  for ( i = 0; i < size; i++, tmp++ )
46  *tmp = ( double ) rand( );
47 }
int i
Definition: fileop.c:140
char *long long size
Definition: iozone.c:12023
int rand()
long long tmp
Definition: iozone.c:12031

Here is the call graph for this function:

Here is the caller graph for this function: