ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
Last change
on this file since d16f9fd was 5d4fa18, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago |
update heap and add test program
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[3354e6d] | 1 | //
|
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2017 University of Waterloo
|
---|
| 3 | //
|
---|
| 4 | // The contents of this file are covered under the licence agreement in the
|
---|
| 5 | // file "LICENCE" distributed with Cforall.
|
---|
| 6 | //
|
---|
| 7 | // malloc.h --
|
---|
| 8 | //
|
---|
| 9 | // Author : Peter A. Buhr
|
---|
| 10 | // Created On : Thu Jul 20 15:58:16 2017
|
---|
| 11 | // Last Modified By : Peter A. Buhr
|
---|
[5d4fa18] | 12 | // Last Modified On : Tue Jul 31 10:01:10 2018
|
---|
| 13 | // Update Count : 9
|
---|
[3354e6d] | 14 | //
|
---|
| 15 |
|
---|
[d46ed6e] | 16 |
|
---|
| 17 | size_t default_mmap_start(); // CFA extras
|
---|
| 18 | size_t default_heap_expansion();
|
---|
[5d4fa18] | 19 |
|
---|
| 20 | _Bool traceHeap();
|
---|
| 21 | _Bool traceHeapOn();
|
---|
| 22 | _Bool traceHeapOff();
|
---|
| 23 |
|
---|
| 24 | _Bool traceHeapTerm();
|
---|
| 25 | _Bool traceHeapTermOn();
|
---|
| 26 | _Bool traceHeapTermOff();
|
---|
| 27 |
|
---|
| 28 | _Bool checkFree();
|
---|
| 29 | _Bool checkFreeOn();
|
---|
| 30 | _Bool checkFreeOff();
|
---|
| 31 |
|
---|
[d46ed6e] | 32 | extern "C" {
|
---|
| 33 | size_t malloc_alignment( void * );
|
---|
| 34 | _Bool malloc_zero_fill( void * );
|
---|
| 35 | int malloc_stats_fd( int fd );
|
---|
| 36 | void * cmemalign( size_t alignment, size_t noOfElems, size_t elemSize );
|
---|
| 37 | } // extern "C"
|
---|
| 38 |
|
---|
[3354e6d] | 39 | extern "C" {
|
---|
| 40 | #include_next <malloc.h> // has internal check for multiple expansion
|
---|
| 41 | } // extern "C"
|
---|
| 42 |
|
---|
| 43 | // Local Variables: //
|
---|
| 44 | // tab-width: 4 //
|
---|
| 45 | // mode: c++ //
|
---|
| 46 | // compile-command: "make install" //
|
---|
| 47 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.