source: src/libcfa/stdhdr/malloc.h@ d16f9fd

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
RevLine 
[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
17size_t default_mmap_start(); // CFA extras
18size_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]32extern "C" {
33size_t malloc_alignment( void * );
34_Bool malloc_zero_fill( void * );
35int malloc_stats_fd( int fd );
36void * cmemalign( size_t alignment, size_t noOfElems, size_t elemSize );
37} // extern "C"
38
[3354e6d]39extern "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.