Home
last modified time | relevance | path

Searched refs:StatType (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp106 static cl::opt<GraphRenderer::StatType> GraphDiffEdgeLabel(
109 cl::init(GraphRenderer::StatType::NONE),
132 cl::init(GraphRenderer::StatType::NONE),
156 cl::init(GraphRenderer::StatType::NONE),
180 cl::init(GraphRenderer::StatType::NONE),
260 if (T == GraphDiffRenderer::StatType::NONE) in getColor()
281 if (T == GraphDiffRenderer::StatType::NONE) in getColor()
305 case GraphDiffRenderer::StatType::NONE: in getLabel()
324 case GraphDiffRenderer::StatType::NONE: in getLabel()
345 case GraphDiffRenderer::StatType::NONE: in getLineWidth()
[all …]
H A Dxray-graph.cpp58 static cl::opt<GraphRenderer::StatType>
358 case GraphRenderer::StatType::NONE: in getString()
360 case GraphRenderer::StatType::COUNT: in getString()
380 case GraphRenderer::StatType::NONE: in getDouble()
383 case GraphRenderer::StatType::COUNT: in getDouble()
401 void GraphRenderer::exportGraphAsDOT(raw_ostream &OS, StatType ET, StatType EC, in exportGraphAsDOT()
402 StatType VT, StatType VC) { in exportGraphAsDOT()
405 if (VT != StatType::NONE) in exportGraphAsDOT()
412 if (EC != StatType::NONE) in exportGraphAsDOT()
428 if (VT != StatType::NONE) in exportGraphAsDOT()
[all …]
H A Dxray-graph-diff.h31 using StatType = GraphRenderer::StatType;
62 void exportGraphAsDOT(raw_ostream &OS, StatType EdgeLabel = StatType::NONE,
63 StatType EdgeColor = StatType::NONE,
64 StatType VertexLabel = StatType::NONE,
65 StatType VertexColor = StatType::NONE,
H A Dxray-graph.h39 enum class StatType { NONE, COUNT, MIN, MED, PCT90, PCT99, MAX, SUM }; enum
51 std::string getString(StatType T) const;
52 double getDouble(StatType T) const;
156 void exportGraphAsDOT(raw_ostream &OS, StatType EdgeLabel = StatType::NONE,
157 StatType EdgeColor = StatType::NONE,
158 StatType VertexLabel = StatType::NONE,
159 StatType VertexColor = StatType::NONE);
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dstats.h21 enum StatType { StatAllocated, StatFree, StatMapped, StatCount }; enum
34 DCHECK_EQ(get(static_cast<StatType>(I)), 0U); in init()
37 void add(StatType I, uptr V) { in add()
42 void sub(StatType I, uptr V) { in sub()
47 void set(StatType I, uptr V) { atomic_store_relaxed(&StatsArray[I], V); } in set()
49 uptr get(StatType I) const { return atomic_load_relaxed(&StatsArray[I]); } in get()
72 add(static_cast<StatType>(I), S->get(static_cast<StatType>(I))); in unlink()
78 S[I] = LocalStats::get(static_cast<StatType>(I)); in get()
81 S[I] += Stats.get(static_cast<StatType>(I)); in get()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator_combined.h60 void getStats(AllocatorStatCounters StatType) const { in getStats() argument
61 Stats.Get(StatType); in getStats()
H A Dscudo_allocator.cpp579 uptr getStats(AllocatorStat StatType) { in getStats()
583 return stats[StatType]; in getStats()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dstats_test.cpp17 EXPECT_EQ(LStats.get(static_cast<scudo::StatType>(I)), 0U); in TEST()
37 LStats.add(static_cast<scudo::StatType>(I), 4096U); in TEST()