ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
Last change
on this file since 73530d9 was cfbc703d, checked in by Peter A. Buhr <pabuhr@…>, 5 years ago |
add resize and more "alloc" routines
|
-
Property mode
set to
100644
|
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 : Sun Mar 8 10:01:20 2020
|
---|
13 | // Update Count : 11
|
---|
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 | void * cmemalign( size_t alignment, size_t noOfElems, size_t elemSize );
|
---|
34 | size_t malloc_alignment( void * );
|
---|
35 | bool malloc_zero_fill( void * );
|
---|
36 | size_t malloc_dimension( void * );
|
---|
37 | int malloc_stats_fd( int fd );
|
---|
38 | } // extern "C"
|
---|
39 |
|
---|
40 | extern "C" {
|
---|
41 | #include_next <malloc.h> // has internal check for multiple expansion
|
---|
42 | } // extern "C"
|
---|
43 |
|
---|
44 | // Local Variables: //
|
---|
45 | // tab-width: 4 //
|
---|
46 | // mode: c++ //
|
---|
47 | // compile-command: "make install" //
|
---|
48 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.