Changeset View
Changeset View
Standalone View
Standalone View
src/memusage.h
// Copyright (c) 2015-2016 The Bitcoin Core developers | // Copyright (c) 2015-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_MEMUSAGE_H | #ifndef BITCOIN_MEMUSAGE_H | ||||
#define BITCOIN_MEMUSAGE_H | #define BITCOIN_MEMUSAGE_H | ||||
#include <indirectmap.h> | #include <indirectmap.h> | ||||
#include <cstdlib> | #include <cstdlib> | ||||
#include <map> | #include <map> | ||||
#include <memory> | |||||
#include <set> | #include <set> | ||||
#include <unordered_map> | #include <unordered_map> | ||||
#include <unordered_set> | #include <unordered_set> | ||||
#include <vector> | #include <vector> | ||||
namespace memusage { | namespace memusage { | ||||
/** Compute the total memory used by allocating alloc bytes. */ | /** Compute the total memory used by allocating alloc bytes. */ | ||||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |