Revision 6c47f325070e1a69285f632999f4d80b0288d6a0 authored by Dmitry Yu. Naumov on 15 March 2021, 08:32:37 UTC, committed by Dmitry Yu. Naumov on 15 March 2021, 08:32:37 UTC
Remove MathLib scalar product

See merge request ogs/ogs!3512
2 parent s c2a158d + dc4bc3b
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