HPCToolkit
stress.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for stress.c:

Go to the source code of this file.

Macros

#define KILOBYTE   1024
 

Functions

void initialize_pointer_chase (long bytes)
 
void pointer_chase (long iterations, long kilobytes)
 
void memory_stride (long iterations, long kb_to_alloc)
 
int main (int argc, char **argv)
 

Variables

int stride = 128
 
long chases
 
unsigned char * chase_array
 

Macro Definition Documentation

◆ KILOBYTE

#define KILOBYTE   1024

Definition at line 54 of file stress.c.

Function Documentation

◆ initialize_pointer_chase()

void initialize_pointer_chase ( long  bytes)

Definition at line 61 of file stress.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 126 of file stress.c.

Here is the call graph for this function:

◆ memory_stride()

void memory_stride ( long  iterations,
long  kb_to_alloc 
)

Definition at line 103 of file stress.c.

Here is the call graph for this function:

◆ pointer_chase()

void pointer_chase ( long  iterations,
long  kilobytes 
)

Definition at line 86 of file stress.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ chase_array

unsigned char* chase_array

Definition at line 58 of file stress.c.

◆ chases

long chases

Definition at line 57 of file stress.c.

◆ stride

int stride = 128

Definition at line 56 of file stress.c.