CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
memcount.cc
Go to the documentation of this file.
1// -*- C++ -*-
12#include "memory/memcount.h"
13
14namespace CNORXZ
15{
16 SizeT MemCount::sMemUsage = 0;
17
18 void MemCount::add(SizeT x)
19 {
20 sMemUsage += x;
21 }
22
23 void MemCount::sub(SizeT x)
24 {
25 sMemUsage -= x;
26 }
27
29 {
30 return sMemUsage;
31 }
32
33}
static SizeT usage()
Definition memcount.cc:28
MemCount declaration.
uint64_t SizeT
Definition types.h:38