Home
last modified time | relevance | path

Searched refs:NumLabels (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/lib/monitoring/
Dcounter.h87 template <int NumLabels>
112 const MetricDef<MetricKind::kCumulative, int64, NumLabels>& metric_def) in Counter()
137 const MetricDef<MetricKind::kCumulative, int64, NumLabels> metric_def_;
141 using LabelArray = std::array<string, NumLabels>;
158 template <int NumLabels>
160 Counter<NumLabels>* Counter<NumLabels>::New( in New()
162 return new Counter<NumLabels>( in New()
163 MetricDef<MetricKind::kCumulative, int64, NumLabels>( in New()
167 template <int NumLabels>
169 CounterCell* Counter<NumLabels>::GetCell(const Labels&... labels) in GetCell()
[all …]
Dsampler.h123 template <int NumLabels>
137 NumLabels>& metric_def,
150 Sampler(const MetricDef<MetricKind::kCumulative, HistogramProto, NumLabels>& in Sampler()
178 const MetricDef<MetricKind::kCumulative, HistogramProto, NumLabels>
187 using LabelArray = std::array<string, NumLabels>;
208 template <int NumLabels>
209 Sampler<NumLabels>* Sampler<NumLabels>::New( in New()
210 const MetricDef<MetricKind::kCumulative, HistogramProto, NumLabels>& in New()
213 return new Sampler<NumLabels>(metric_def, std::move(buckets)); in New()
216 template <int NumLabels>
[all …]
Dcollection_registry.h57 template <MetricKind metric_kind, typename Value, int NumLabels>
63 void CollectValue(const std::array<string, NumLabels>& labels, Value value);
69 const MetricDef<metric_kind, Value, NumLabels>* const metric_def, in MetricCollector()
79 const MetricDef<metric_kind, Value, NumLabels>* const metric_def_;
100 template <MetricKind metric_kind, typename Value, int NumLabels>
101 MetricCollector<metric_kind, Value, NumLabels> Get(
102 const MetricDef<metric_kind, Value, NumLabels>* const metric_def);
263 template <MetricKind metric_kind, typename Value, int NumLabels>
264 MetricCollector<metric_kind, Value, NumLabels> GetMetricCollector( in GetMetricCollector()
265 const MetricDef<metric_kind, Value, NumLabels>* const metric_def, in GetMetricCollector()
[all …]
Dpercentile_sampler.h103 template <int NumLabels>
119 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels>&
136 NumLabels>& metric_def, in PercentileSampler()
178 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels> metric_def_;
191 using LabelArray = std::array<string, NumLabels>;
200 template <int NumLabels>
201 PercentileSampler<NumLabels>* PercentileSampler<NumLabels>::New( in New()
202 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels>& in New()
206 return new PercentileSampler<NumLabels>(metric_def, std::move(percentiles), in New()
210 template <int NumLabels>
[all …]
Dgauge.h131 template <typename ValueType, int NumLabels>
164 const MetricDef<MetricKind::kGauge, ValueType, NumLabels>& metric_def) in Gauge()
189 const MetricDef<MetricKind::kGauge, ValueType, NumLabels> metric_def_;
193 using LabelArray = std::array<string, NumLabels>;
222 template <typename ValueType, int NumLabels>
224 Gauge<ValueType, NumLabels>* Gauge<ValueType, NumLabels>::New( in New()
230 return new Gauge<ValueType, NumLabels>( in New()
231 MetricDef<MetricKind::kGauge, ValueType, NumLabels>( in New()
235 template <typename ValueType, int NumLabels>
237 GaugeCell<ValueType>* Gauge<ValueType, NumLabels>::GetCell( in GetCell()
[all …]
Dmobile_percentile_sampler.h46 template <int NumLabels>
50 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels>&
70 template <int NumLabels>
71 PercentileSampler<NumLabels>* PercentileSampler<NumLabels>::New( in New()
72 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels>& in New() argument
76 return new PercentileSampler<NumLabels>(); in New()
Dmobile_sampler.h81 template <int NumLabels>
88 NumLabels>& metric_def, in New()
90 return new Sampler<NumLabels>(std::move(buckets)); in New()
Dmetric_def.h106 template <MetricKind kind, typename Value, int NumLabels>
138 template <MetricKind metric_kind, typename Value, int NumLabels>
146 static_assert(sizeof...(LabelDesc) == NumLabels,
Dmobile_counter.h50 template <int NumLabels>
57 return new Counter<NumLabels>(); in New()
Dmobile_gauge.h52 template <typename ValueType, int NumLabels>
/external/tensorflow/tensorflow/c/eager/
Dtfe_monitoring_internal.h32 template <int NumLabels>
37 counter = absl::WrapUnique(tensorflow::monitoring::Counter<NumLabels>::New( in TFE_MonitoringCounter()
41 std::unique_ptr<tensorflow::monitoring::Counter<NumLabels>> counter;
64 template <typename ValueType, int NumLabels>
70 tensorflow::monitoring::Gauge<ValueType, NumLabels>::New( in TFE_MonitoringGauge()
74 std::unique_ptr<tensorflow::monitoring::Gauge<ValueType, NumLabels>> gauge;
122 template <int NumLabels>
129 sampler = absl::WrapUnique(tensorflow::monitoring::Sampler<NumLabels>::New( in TFE_MonitoringSampler()
133 std::unique_ptr<tensorflow::monitoring::Sampler<NumLabels>> sampler;
/external/llvm-project/clang/lib/Sema/
DSemaStmtAsm.cpp213 unsigned NumLabels, in getClobberConflictLocation() argument
218 for (unsigned int i = 0; i < Exprs.size() - NumLabels; ++i) { in getClobberConflictLocation()
246 unsigned NumLabels, in ActOnGCCAsmStmt() argument
279 NumClobbers, Clobbers, NumLabels, RParenLoc); in ActOnGCCAsmStmt()
348 NumClobbers, Clobbers, NumLabels, RParenLoc); in ActOnGCCAsmStmt()
370 NumClobbers, Clobbers, NumLabels, RParenLoc); in ActOnGCCAsmStmt()
469 NumClobbers, Clobbers, NumLabels, RParenLoc); in ActOnGCCAsmStmt()
476 AsmString, NumClobbers, Clobbers, NumLabels, in ActOnGCCAsmStmt()
681 NumLabels, in ActOnGCCAsmStmt()
689 for (unsigned i = 0, e = NumOutputs + NumInputs + NumLabels; i != e; ++i) in ActOnGCCAsmStmt()
DTreeTransform.h1430 unsigned NumLabels, in RebuildGCCAsmStmt() argument
1434 AsmString, Clobbers, NumLabels, RParenLoc); in RebuildGCCAsmStmt()
/external/libcxx/benchmarks/
DCartesianBenchmarks.hpp95 template <class Derived, class EnumType, size_t NumLabels>
98 std::make_index_sequence<NumLabels>{}));
/external/llvm-project/libcxx/benchmarks/
DCartesianBenchmarks.h94 template <class Derived, class EnumType, size_t NumLabels>
97 std::make_index_sequence<NumLabels>{}));
/external/llvm-project/clang/lib/AST/
DStmt.cpp539 unsigned NumLabels, in setOutputsAndInputsAndClobbers() argument
545 this->NumLabels = NumLabels; in setOutputsAndInputsAndClobbers()
547 unsigned NumExprs = NumOutputs + NumInputs + NumLabels; in setOutputsAndInputsAndClobbers()
842 RParenLoc(rparenloc), AsmStr(asmstr), NumLabels(numlabels) { in GCCAsmStmt()
843 unsigned NumExprs = NumOutputs + NumInputs + NumLabels; in GCCAsmStmt()
/external/llvm-project/clang/lib/Parse/
DParseStmtAsm.cpp830 unsigned NumLabels = 0; in ParseAsmStatement() local
851 NumLabels++; in ParseAsmStatement()
864 AsmString.get(), Clobbers, NumLabels, in ParseAsmStatement()
/external/llvm-project/clang/include/clang/AST/
DStmt.h2979 unsigned NumLabels = 0; variable
3115 return NumLabels > 0; in isAsmGoto()
3119 return NumLabels; in getNumLabels()
3138 return &Exprs[0] + NumOutputs + NumInputs + NumLabels; in end_labels()
3150 return &Exprs[0] + NumOutputs + NumInputs + NumLabels; in end_labels()
3164 unsigned NumLabels,
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp371 S->NumLabels = Record.readInt(); in VisitGCCAsmStmt()
378 unsigned NumLabels = S->getNumLabels(); in VisitGCCAsmStmt() local
396 for (unsigned I = 0, N = NumLabels; I != N; ++I) in VisitGCCAsmStmt()
402 NumLabels, in VisitGCCAsmStmt()
/external/llvm-project/clang/include/clang/Sema/
DSema.h4633 unsigned NumLabels,