source:
libcfa/src/stdhdr/malloc.h@
1cc4390
| Last change on this file since 1cc4390 was 0e0f128c, checked in by , 8 years ago | |
|---|---|
|
|
| File size: 1.1 KB | |
| Line | |
|---|---|
| 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 |
| 12 | // Last Modified On : Sat Aug 11 09:06:31 2018 |
| 13 | // Update Count : 10 |
| 14 | // |
| 15 | |
| 16 | |
| 17 | size_t default_mmap_start(); // CFA extras |
| 18 | size_t default_heap_expansion(); |
| 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 | |
| 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 | |
| 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.