Addresses/order.c File Reference

Base task definition for building 'addr' table.Constructs the 'addr' table full of allocated memory. Only later options (UP, DOWN, SCATTERED) determine the order in which it is free'd. More...

#include <stdlib.h>
#include <stdio.h>

Functions

void fillList ()
 Required code to populate addr table with appropriate number of allocated memory pointers.
void postInputProcessing ()
 Validate that all 'addr' entries are NULL.
void problemUsage ()
 No specific problem usage.

Variables

int numT = 1048576
 Number of instances that were allocated.
char * 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.
int verbose
 Should information be printed during the processing of this function?


Detailed Description

Base task definition for building 'addr' table.Constructs the 'addr' table full of allocated memory. Only later options (UP, DOWN, SCATTERED) determine the order in which it is free'd.

Author:
George Heineman
Date:
6/15/08

Function Documentation

void fillList (  ) 

Required code to populate addr table with appropriate number of allocated memory pointers.

void postInputProcessing (  ) 

Validate that all 'addr' entries are NULL.

void problemUsage (  ) 

No specific problem usage.


Variable Documentation

char* 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.

int verbose

Should information be printed during the processing of this function?

Algorithm Development Kit 1.0