https://gitlab.opengeosys.org/ogs/ogs.git
Revision c2a478f85fe136133a4b4462a48122bb0c36fd72 authored by Dmitry Yu. Naumov on 27 April 2023, 15:11:23 UTC, committed by Dmitry Yu. Naumov on 27 April 2023, 15:11:23 UTC
Iterator concepts for the covariant view

See merge request ogs/ogs!4565
2 parent s 7116a3b + 7240436
Raw File
Tip revision: c2a478f85fe136133a4b4462a48122bb0c36fd72 authored by Dmitry Yu. Naumov on 27 April 2023, 15:11:23 UTC
Merge branch 'covariant-view' into 'master'
Tip revision: c2a478f
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