Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.cpp60 static cl::opt<GraphRenderer::StatType>
360 case GraphRenderer::StatType::NONE: in getString()
362 case GraphRenderer::StatType::COUNT: in getString()
382 case GraphRenderer::StatType::NONE: in getDouble()
385 case GraphRenderer::StatType::COUNT: in getDouble()
403 void GraphRenderer::exportGraphAsDOT(raw_ostream &OS, StatType ET, StatType EC, in exportGraphAsDOT()
404 StatType VT, StatType VC) { in exportGraphAsDOT()
407 if (VT != StatType::NONE) in exportGraphAsDOT()
414 if (EC != StatType::NONE) in exportGraphAsDOT()
430 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);
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()