Home
last modified time | relevance | path

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

/freebsd-13.1/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.cpp58 static cl::opt<GraphRenderer::StatType>
357 case GraphRenderer::StatType::NONE: in getString()
359 case GraphRenderer::StatType::COUNT: in getString()
379 case GraphRenderer::StatType::NONE: in getDouble()
382 case GraphRenderer::StatType::COUNT: in getDouble()
400 void GraphRenderer::exportGraphAsDOT(raw_ostream &OS, StatType ET, StatType EC, in exportGraphAsDOT()
401 StatType VT, StatType VC) { in exportGraphAsDOT()
404 if (VT != StatType::NONE) in exportGraphAsDOT()
411 if (EC != StatType::NONE) in exportGraphAsDOT()
427 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);
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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.cpp578 uptr getStats(AllocatorStat StatType) { in getStats()
582 return stats[StatType]; in getStats()