'Returns a namedtuple of (alloc, free, mi_alloc, mi_free) for count of
each memory operations.'

def get_allocation_stats(self):

    return _nrt_mstats(alloc=_nrt.memsys_get_stats_alloc(), free=_nrt.memsys_get_stats_free(), mi_alloc=_nrt.memsys_get_stats_mi_alloc(), mi_free=_nrt.memsys_get_stats_mi_free())
