IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
memory.hpp File Reference

Memory debugger. More...

#include <chrono>
#include <core.hpp>

Go to the source code of this file.

Classes

class  iganet::MemoryDebugger< id >
 Memory debugger. More...
 
struct  iganet::MemoryDebugger< id >::MemoryObject
 Memory object. More...
 

Namespaces

namespace  iganet
 

Macros

#define register_memory(obj)   ::iganet::global_memory_debugger.add(#obj, obj)
 

Functions

template<std::size_t id>
std::ostream & iganet::operator<< (std::ostream &os, const MemoryDebugger< id > &obj)
 Print (as string) a memory debugger object.
 

Variables

static MemoryDebugger< std::numeric_limits< std::size_t >::max()> iganet::global_memory_debugger
 System-wide memory debugger.
 

Detailed Description

Memory debugger.

Author
Matthias Moller

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Macro Definition Documentation

◆ register_memory

#define register_memory (   obj)    ::iganet::global_memory_debugger.add(#obj, obj)