BioDynaMo  v1.05.120-25dc9790
plot_memory_layout.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright (C) 2021 CERN & University of Surrey for the benefit of the
4 // BioDynaMo collaboration. All Rights Reserved.
5 //
6 // Licensed under the Apache License, Version 2.0 (the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // See the LICENSE file distributed with this work for details.
10 // See the NOTICE file distributed with this work for additional information
11 // regarding copyright ownership.
12 //
13 // -----------------------------------------------------------------------------
14 
15 #ifndef CORE_UTIL_PLOT_MEMORY_LAYOUT_H_
16 #define CORE_UTIL_PLOT_MEMORY_LAYOUT_H_
17 
18 #include <vector>
19 
20 namespace bdm {
21 
22 class Agent;
23 
24 // -----------------------------------------------------------------------------
25 void PlotMemoryLayout(const std::vector<Agent*>& agents, int numa_node);
26 
27 // -----------------------------------------------------------------------------
28 void PlotMemoryHistogram(const std::vector<Agent*>& agents, int numa_node);
29 
30 // -----------------------------------------------------------------------------
31 void PlotNeighborMemoryHistogram(bool before = false);
32 
33 } // namespace bdm
34 
35 #endif // CORE_UTIL_PLOT_MEMORY_LAYOUT_H_
bdm
Definition: agent.cc:39
bdm::PlotMemoryHistogram
void PlotMemoryHistogram(const std::vector< Agent * > &agents, int numa_node)
Definition: plot_memory_layout.cc:74
bdm::PlotNeighborMemoryHistogram
void PlotNeighborMemoryHistogram(bool before)
Definition: plot_memory_layout.cc:137
bdm::PlotMemoryLayout
void PlotMemoryLayout(const std::vector< Agent * > &agents, int numa_node)
Definition: plot_memory_layout.cc:42