Heap Manager

This is the Dragon heap manager interface for Python

Classes

class BitSet

A Cython class interface for the malloc Bitset library

static init(num_bits, space)

Initialize the space with a BitSet of size num_bits.

Parameters
  • num_bits – The size of the BitSet.

  • space – The space big enough to hold the BitSet.

Returns

The BitSet object

class MemStats

Stats wrapper to provide python-accessible object

class Heap

A cython class interface for the DynMem DynHeap Manager

free_lists(idx)

Returns whether a free_list pointer is NULL or not