ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 5847d35 was
76e2113,
checked in by Peter A. Buhr <pabuhr@…>, 5 years ago
|
add setter routines for sticky operations, add allocation size to header
|
-
Property mode set to
100644
|
File size:
1.2 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 |
---|
[76e2113] | 12 | // Last Modified On : Thu Apr 16 22:44:06 2020 |
---|
| 13 | // Update Count : 13 |
---|
[3354e6d] | 14 | // |
---|
| 15 | |
---|
[d46ed6e] | 16 | |
---|
| 17 | size_t default_mmap_start(); // CFA extras |
---|
| 18 | size_t default_heap_expansion(); |
---|
[5d4fa18] | 19 | |
---|
[93c2e0a] | 20 | bool traceHeap(); |
---|
| 21 | bool traceHeapOn(); |
---|
| 22 | bool traceHeapOff(); |
---|
[5d4fa18] | 23 | |
---|
[93c2e0a] | 24 | bool traceHeapTerm(); |
---|
| 25 | bool traceHeapTermOn(); |
---|
| 26 | bool traceHeapTermOff(); |
---|
[5d4fa18] | 27 | |
---|
[93c2e0a] | 28 | bool checkFree(); |
---|
| 29 | bool checkFreeOn(); |
---|
| 30 | bool checkFreeOff(); |
---|
[5d4fa18] | 31 | |
---|
[d46ed6e] | 32 | extern "C" { |
---|
[76e2113] | 33 | void * aalloc( size_t noOfElems, size_t elemSize ); |
---|
| 34 | void * amemalign( size_t alignment, size_t noOfElems, size_t elemSize ); |
---|
[cfbc703d] | 35 | void * cmemalign( size_t alignment, size_t noOfElems, size_t elemSize ); |
---|
[d46ed6e] | 36 | size_t malloc_alignment( void * ); |
---|
[93c2e0a] | 37 | bool malloc_zero_fill( void * ); |
---|
[76e2113] | 38 | size_t malloc_size( void * ); |
---|
[d46ed6e] | 39 | int malloc_stats_fd( int fd ); |
---|
| 40 | } // extern "C" |
---|
| 41 | |
---|
[3354e6d] | 42 | extern "C" { |
---|
| 43 | #include_next <malloc.h> // has internal check for multiple expansion |
---|
| 44 | } // extern "C" |
---|
| 45 | |
---|
| 46 | // Local Variables: // |
---|
| 47 | // tab-width: 4 // |
---|
| 48 | // mode: c++ // |
---|
| 49 | // compile-command: "make install" // |
---|
| 50 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.