Loading...
Searching...
No Matches
memory_debug.h
Go to the documentation of this file.
1// SPDX-License-Identifier: AGPL-3.0-only
2// Copyright (C) 2026 Artificial Intelligence Techniques, S.L. and Roberto López González
3
4#pragma once
5
7
8namespace opennn
9{
10struct MemoryPoolEntry;
11}
12
14{
15
16bool enabled();
17
18void reset();
19
20void record(const string&,
21 const string&,
22 Index,
23 const string& note = {});
24
25void record_pool_lifetimes(const string&,
26 const vector<MemoryPoolEntry>&,
27 const string&);
28
29void print(ostream&);
30
31}
Definition memory_debug.h:14
void print(ostream &)
void record(const string &, const string &, Index, const string &note={})
void record_pool_lifetimes(const string &, const vector< MemoryPoolEntry > &, const string &)
Definition configuration.h:10
Definition memory_pool.h:28