clang-tools  15.0.0git
Classes | Namespaces | Functions
MemoryTree.h File Reference
#include "Trace.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include <cstddef>
#include <string>
#include <vector>
Include dependency graph for MemoryTree.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  clang::clangd::MemoryTree
 A tree that can be used to represent memory usage of nested components while preserving the hierarchy. More...


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


void clang::clangd::record (const MemoryTree &MT, std::string RootName, const trace::Metric &Out)
 Records total memory usage of each node under Out. More...