summaryrefslogtreecommitdiffstats
path: root/baseline/source/adpcm_dec/ChangeLog.txt
diff options
context:
space:
mode:
Diffstat (limited to 'baseline/source/adpcm_dec/ChangeLog.txt')
0 files changed, 0 insertions, 0 deletions
lude "wccmalloc.h" // This must be redefined for each new benchmark #define HEAP_SIZE 30000 char susan_simulated_heap[HEAP_SIZE]; unsigned int susan_freeHeapPos; void* susan_wccmalloc( unsigned int numberOfBytes ) { // Get a 4-byte adress for alignment purposes unsigned int offset = ( (unsigned long)susan_simulated_heap + susan_freeHeapPos ) % 4; if ( offset ) { susan_freeHeapPos += 4 - offset; } void* currentPos = (void*)&susan_simulated_heap[susan_freeHeapPos]; susan_freeHeapPos += numberOfBytes;