Revision 307696753f6e7a224b6f3e2113598744171f704d authored by Norbert Grunwald on 10 May 2023, 18:02:03 UTC, committed by Norbert Grunwald on 10 May 2023, 18:02:03 UTC
[T/TH2M] Fix Ogata-Banks test

See merge request ogs/ogs!4533
2 parent s 8cee6d8 + 776d608
Raw File
MemWatch.h
/**
 * \file
 * \author Thomas Fischer
 * \date   2012-05-07
 * \brief  Definition of the MemWatch class.
 *
 * \copyright
 * Copyright (c) 2012-2023, 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