Revision 40b61fd50fa21c77855bea1dd6e09366046209fd authored by Thomas Fischer on 17 June 2021, 10:53:59 UTC, committed by Thomas Fischer on 18 June 2021, 09:20:16 UTC
Explanation is here: https://eigen.tuxfamily.org/dox/group__TopicStlContainers.html
1 parent 4edddb1
Raw File
MemWatch.h
/**
 * \file
 * \author Thomas Fischer
 * \date   2012-05-07
 * \brief  Definition of the MemWatch class.
 *
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

namespace BaseLib {

class MemWatch {
public:
    MemWatch ();
    unsigned long getVirtMemUsage ();

private:
    unsigned updateMemUsage ();
    unsigned long vmem_size_ = 0;
};

}  // namespace BaseLib
back to top