#include <stdlib.h>
Functions | |
| void | prepareInput () |
| No preprocessing needed. | |
| void | execute () |
| Execute by invoking malloc(numElements) a total of numT times. | |
| void | postInputProcessing () |
| No postprocessing needed. | |
| void | problemUsage () |
| No specific problem usage. | |
Variables | |
| int | numT = 1048576 |
| Number of instances that were allocated. | |
| void * | addr [1048576] |
| The table of allocated memory. | |
| int | numElements |
| In this context, this becomes the SIZE of the allocated space, as directed by the -n command line argument. | |
| void execute | ( | ) |
Execute by invoking malloc(numElements) a total of numT times.
| void postInputProcessing | ( | ) |
No postprocessing needed.
| void prepareInput | ( | ) |
No preprocessing needed.
| void problemUsage | ( | ) |
No specific problem usage.
| void* addr[1048576] |
The table of allocated memory.
| int numElements |
In this context, this becomes the SIZE of the allocated space, as directed by the -n command line argument.
Note: This behavior is unusual. You have been warned.
| int numT = 1048576 |
Number of instances that were allocated.
Algorithm Development Kit 1.0