Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph-diff.cpp105 static cl::opt<GraphRenderer::StatType> GraphDiffEdgeLabel(
108 cl::init(GraphRenderer::StatType::NONE),
131 cl::init(GraphRenderer::StatType::NONE),
155 cl::init(GraphRenderer::StatType::NONE),
179 cl::init(GraphRenderer::StatType::NONE),
259 if (T == GraphDiffRenderer::StatType::NONE) in getColor()
280 if (T == GraphDiffRenderer::StatType::NONE) in getColor()
304 case GraphDiffRenderer::StatType::NONE: in getLabel()
323 case GraphDiffRenderer::StatType::NONE: in getLabel()
344 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.h30 using StatType = GraphRenderer::StatType;
61 void exportGraphAsDOT(raw_ostream &OS, StatType EdgeLabel = StatType::NONE,
62 StatType EdgeColor = StatType::NONE,
63 StatType VertexLabel = StatType::NONE,
64 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);
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstats.h22 enum StatType { StatAllocated, StatFree, StatMapped, StatCount }; enum
35 DCHECK_EQ(get(static_cast<StatType>(I)), 0U); in init()
38 void add(StatType I, uptr V) { in add()
43 void sub(StatType I, uptr V) { in sub()
48 void set(StatType I, uptr V) { atomic_store_relaxed(&StatsArray[I], V); } in set()
50 uptr get(StatType I) const { return atomic_load_relaxed(&StatsArray[I]); } in get()
73 add(static_cast<StatType>(I), S->get(static_cast<StatType>(I))); in unlink()
79 S[I] = LocalStats::get(static_cast<StatType>(I)); in get()
82 S[I] += Stats.get(static_cast<StatType>(I)); in get()