Home
last modified time | relevance | path

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

/freebsd/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),
109 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
111 clEnumValN(GraphRenderer::StatType::COUNT, "count",
113 clEnumValN(GraphRenderer::StatType::MIN, "min",
115 clEnumValN(GraphRenderer::StatType::MED, "med",
117 clEnumValN(GraphRenderer::StatType::PCT90, "90p",
119 clEnumValN(GraphRenderer::StatType::PCT99, "99p",
121 clEnumValN(GraphRenderer::StatType::MAX, "max",
123 clEnumValN(GraphRenderer::StatType::SUM, "sum",
[all …]
H A Dxray-graph.cpp60 static cl::opt<GraphRenderer::StatType>
64 cl::init(GraphRenderer::StatType::NONE),
65 cl::values(clEnumValN(GraphRenderer::StatType::NONE, "none",
67 clEnumValN(GraphRenderer::StatType::COUNT,
69 clEnumValN(GraphRenderer::StatType::MIN, "min",
71 clEnumValN(GraphRenderer::StatType::MED, "med",
73 clEnumValN(GraphRenderer::StatType::PCT90, "90p",
75 clEnumValN(GraphRenderer::StatType::PCT99, "99p",
77 clEnumValN(GraphRenderer::StatType::MAX, "max",
79 clEnumValN(GraphRenderer::StatType::SUM, "sum",
[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
[all...]
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/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()