CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
src
lib
memory
memcount.cc
Go to the documentation of this file.
1
// -*- C++ -*-
12
#include "
memory/memcount.h
"
13
14
namespace
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
28
SizeT
MemCount::usage
()
29
{
30
return
sMemUsage;
31
}
32
33
}
CNORXZ::MemCount::usage
static SizeT usage()
Definition
memcount.cc:28
memcount.h
MemCount declaration.
CNORXZ
Definition
aindex.cc.h:18
CNORXZ::SizeT
uint64_t SizeT
Definition
types.h:38
Generated by
1.10.0