Simpatico
v1.10
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
src
util
archives
MemoryCounter.cpp
1
/*
2
* Util Package - C++ Utilities for Scientific Computation
3
*
4
* Copyright 2010 - 2017, The Regents of the University of Minnesota
5
* Distributed under the terms of the GNU General Public License.
6
*/
7
8
#include "MemoryCounter.h"
9
10
namespace
Util
11
{
12
13
/*
14
* Constructor.
15
*/
16
MemoryCounter::MemoryCounter
()
17
: size_(0),
18
version_(0)
19
{}
20
21
/*
22
* Destructor.
23
*/
24
MemoryCounter::~MemoryCounter
()
25
{}
26
27
/*
28
* Return cursor to beginning.
29
*/
30
void
MemoryCounter::clear
()
31
{ size_ = 0; }
32
33
}
Util::MemoryCounter::MemoryCounter
MemoryCounter()
Constructor.
Definition:
MemoryCounter.cpp:16
Util
Utility classes for scientific computation.
Definition:
accumulators.mod:1
Util::MemoryCounter::~MemoryCounter
~MemoryCounter()
Destructor.
Definition:
MemoryCounter.cpp:24
Util::MemoryCounter::clear
void clear()
Resets the size counter to zero.
Definition:
MemoryCounter.cpp:30
Generated on Wed Mar 7 2018 12:59:41 for Simpatico by
1.8.11