Home
last modified time | relevance | path

Searched refs:GetCell (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/core/framework/
Dmetrics.cc172 tf_data_autotune_counter->GetCell(name)->IncrementBy(1); in RecordTFDataAutotune()
176 return tf_data_bytes_consumed_counter->GetCell(name); in GetTFDataBytesConsumedCounter()
180 return tf_data_bytes_produced_counter->GetCell(name); in GetTFDataBytesProducedCounter()
184 return tf_data_bytes_read_counter->GetCell(name); in GetTFDataBytesReadCounter()
188 return tf_data_elements_counter->GetCell(name); in GetTFDataElementsCounter()
192 tf_data_bytes_fetched_counter->GetCell()->IncrementBy(num_bytes); in RecordTFDataBytesFetched()
196 tf_data_experiment_counter->GetCell(name)->IncrementBy(1); in RecordTFDataExperiment()
200 tf_data_fingerprint_counter->GetCell(name)->IncrementBy(1); in RecordTFDataFingerprint()
205 tf_data_get_next_duration_usecs_histogram->GetCell(); in RecordTFDataGetNextDuration()
211 tf_data_iterator_busy_counter->GetCell(); in RecordTFDataIteratorBusy()
[all …]
/external/tensorflow/tensorflow/core/lib/monitoring/
Dgauge_test.cc28 EXPECT_EQ(0, gauge_with_labels->GetCell("Empty")->value()); in TEST()
31 TEST(LabeledGaugeTest, GetCell) { in TEST() argument
32 auto* cell = gauge_with_labels->GetCell("GetCellOp"); in TEST()
38 auto* same_cell = gauge_with_labels->GetCell("GetCellOp"); in TEST()
50 EXPECT_EQ(0, gauge_without_labels->GetCell()->value()); in TEST()
53 TEST(UnlabeledGaugeTest, GetCell) { in TEST() argument
54 auto* cell = gauge_without_labels->GetCell(); in TEST()
60 auto* same_cell = gauge_without_labels->GetCell(); in TEST()
72 EXPECT_EQ("", string_gauge->GetCell()->value()); in TEST()
75 TEST(GaugeOfStringValue, GetCell) { in TEST() argument
[all …]
Dcounter_test.cc29 EXPECT_EQ(0, counter_with_labels->GetCell("Empty")->value()); in TEST()
32 TEST(LabeledCounterTest, GetCell) { in TEST() argument
33 auto* cell = counter_with_labels->GetCell("GetCellOp"); in TEST()
39 auto* same_cell = counter_with_labels->GetCell("GetCellOp"); in TEST()
49 { counter_with_labels->GetCell("DyingOp")->IncrementBy(-1); }, in TEST()
58 EXPECT_EQ(0, init_counter_without_labels->GetCell()->value()); in TEST()
64 TEST(UnlabeledCounterTest, GetCell) { in TEST() argument
65 auto* cell = counter_without_labels->GetCell(); in TEST()
71 auto* same_cell = counter_without_labels->GetCell(); in TEST()
85 { dead_counter_without_labels->GetCell()->IncrementBy(-1); }, in TEST()
Dsampler_test.cc41 EqHistograms(empty, sampler_with_labels->GetCell("Empty")->value()); in TEST()
47 auto* cell = sampler_with_labels->GetCell("BucketBoundaries"); in TEST()
48 sampler_with_labels->GetCell("AddedToCheckPreviousCellValidity"); in TEST()
68 EqHistograms(empty, init_sampler_without_labels->GetCell()->value()); in TEST()
79 auto* cell = sampler_without_labels->GetCell(); in TEST()
99 auto* cell = sampler_with_exponential->GetCell("BucketBoundaries"); in TEST()
100 sampler_with_exponential->GetCell("AddedToCheckPreviousCellValidity"); in TEST()
Dcollection_registry_test.cc89 counter_with_labels->GetCell("Label00", "Label10")->IncrementBy(42); in TEST()
90 counter_with_labels->GetCell("Label01", "Label11")->IncrementBy(58); in TEST()
91 counter_without_labels->GetCell()->IncrementBy(7); in TEST()
179 string_gauge_with_labels->GetCell("Label00", "Label10")->Set("test1"); in TEST()
180 string_gauge_with_labels->GetCell("Label01", "Label11")->Set("test2"); in TEST()
181 inteter_gauge_without_labels->GetCell()->Set(7); in TEST()
278 sampler_with_labels->GetCell("Label00", "Label10")->Add(0.7); in TEST()
282 sampler_with_labels->GetCell("Label01", "Label11")->Add(1.5); in TEST()
286 sampler_without_labels->GetCell()->Add(0.5); in TEST()
378 sampler_with_labels->GetCell("Label00", "Label10")->Add(0.7); in TEST()
[all …]
Dpercentile_sampler_test.cc34 auto* cell = pctsampler_with_labels->GetCell("MyLabel"); in TEST()
52 auto* cell = pctsampler_without_labels->GetCell(); in TEST()
Dcounter.h106 CounterCell* GetCell(const Labels&... labels) TF_LOCKS_EXCLUDED(mu_);
169 CounterCell* Counter<NumLabels>::GetCell(const Labels&... labels) in GetCell() function
Dsampler.h143 SamplerCell* GetCell(const Labels&... labels) TF_LOCKS_EXCLUDED(mu_);
218 SamplerCell* Sampler<NumLabels>::GetCell(const Labels&... labels) in GetCell() function
Dgauge.h158 GaugeCell<ValueType>* GetCell(const Labels&... labels) TF_LOCKS_EXCLUDED(mu_);
237 GaugeCell<ValueType>* Gauge<ValueType, NumLabels>::GetCell( in GetCell() function
Dpercentile_sampler.h127 PercentileSamplerCell* GetCell(const Labels&... labels)
212 PercentileSamplerCell* PercentileSampler<NumLabels>::GetCell( in GetCell() function
Dmobile_counter.h61 CounterCell* GetCell(const Labels&... labels) { in GetCell() function
Dmobile_percentile_sampler.h56 PercentileSamplerCell* GetCell(const Labels&... labels) { in GetCell() function
Dmobile_gauge.h67 GaugeCell<ValueType>* GetCell(const Labels&... labels) { in GetCell() function
Dmobile_sampler.h94 SamplerCell* GetCell(const Labels&... labels) { in GetCell() function
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_metrics.cc98 ->GetCell(); in GetAllocateCell()
109 ->GetCell(); in GetAllocateUninitializedCell()
120 ->GetCell(); in GetAllocateFromTensorCell()
130 ->GetCell(); in GetSubTupleCell()
140 ->GetCell(); in GetMakeTupleCell()
150 ->GetCell(); in GetReadLiteralCell()
160 ->GetCell(); in GetReadToTensorCell()
170 ->GetCell(); in GetWriteLiteralCell()
181 ->GetCell(); in GetReleaseAllocationCell()
192 ->GetCell(); in GetReleaseAllAllocationsCell()
[all …]
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental.cc93 static_cast<void*>(counter->counter->GetCell())); in TFE_MonitoringGetCellCounter0()
116 static_cast<void*>(counter->counter->GetCell(label1))); in TFE_MonitoringGetCellCounter1()
141 static_cast<void*>(counter->counter->GetCell(label1, label2))); in TFE_MonitoringGetCellCounter2()
172 static_cast<void*>(gauge->gauge->GetCell())); in TFE_MonitoringGetCellIntGauge0()
195 static_cast<void*>(gauge->gauge->GetCell(label1))); in TFE_MonitoringGetCellIntGauge1()
220 static_cast<void*>(gauge->gauge->GetCell(label1, label2))); in TFE_MonitoringGetCellIntGauge2()
258 static_cast<void*>(gauge->gauge->GetCell())); in TFE_MonitoringGetCellStringGauge0()
280 static_cast<void*>(gauge->gauge->GetCell(label1))); in TFE_MonitoringGetCellStringGauge1()
303 static_cast<void*>(gauge->gauge->GetCell(label1, label2))); in TFE_MonitoringGetCellStringGauge2()
334 static_cast<void*>(gauge->gauge->GetCell())); in TFE_MonitoringGetCellBoolGauge0()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dmlir_bridge_pass.cc122 mlir_bridge_gauge_v2->GetCell()->Set(false); in Run()
134 mlir_bridge_gauge_v2->GetCell()->Set(true); in Run()
166 mlir_bridge_gauge_v1->GetCell()->Set(false); in Run()
178 mlir_bridge_gauge_v1->GetCell()->Set(true); in Run()
/external/tensorflow/tensorflow/compiler/mlir/
Dmlir_graph_optimization_pass.cc212 mlir_function_optimization_pass_failure->GetCell("graph_to_mlir", "") in Run()
263 mlir_function_optimization_pass_failure->GetCell("pass", name.str()) in Run()
269 mlir_function_pass_failed_fallback->GetCell()->IncrementBy(1); in Run()
293 mlir_function_optimization_pass_success->GetCell()->IncrementBy(1); in Run()
295 mlir_function_optimization_pass_failure->GetCell("mlir_to_graph", "") in Run()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor_conversion.cc46 scalar_cache_misses->GetCell()->IncrementBy(1); in Lookup()
50 scalar_cache_hits->GetCell()->IncrementBy(1); in Lookup()
/external/tensorflow/tensorflow/core/common_runtime/
Dsession.cc66 session_created->GetCell()->Set(true); in NewSession()
87 session_created->GetCell()->Set(true); in NewSession()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_resource_base.cc42 cell->GetCell(model_name, absl::StrCat(execution_batch_size), op_name) in RecordPaddingSize()
55 cell->GetCell(model_name, op_name)->Add(static_cast<double>(batch_size)); in RecordInputBatchSize()
67 cell->GetCell(model_name, op_name)->Add(static_cast<double>(batch_size)); in RecordProcessedBatchSize()
79 cell->GetCell(model_name, op_name)->Add(static_cast<double>(batch_delay_us)); in RecordBatchDelayUs()
89 cell->GetCell(model_name, op_name)->Set(batch_timeout_micros); in RecordBatchParamBatchTimeoutMicros()
98 cell->GetCell(model_name, op_name)->Set(max_batch_size); in RecordBatchParamMaxBatchSize()
108 cell->GetCell(model_name, op_name)->Set(max_enqueued_batches); in RecordBatchParamMaxEnqueuedBatches()
118 cell->GetCell(model_name, op_name)->Set(allowed_batch_sizes); in RecordBatchParamAllowedBatchSizes()
/external/tensorflow/tensorflow/cc/saved_model/
Dloader.cc280 load_attempt_count->GetCell(export_dir, status_str)->IncrementBy(1); in LoadSavedModel()
287 load_latency->GetCell(export_dir) in LoadSavedModel()
424 load_latency_by_stage->GetCell(export_dir, "restore_graph") in RestoreSession()
427 load_latency_by_stage->GetCell(export_dir, "init_graph") in RestoreSession()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker_session.cc125 worker_session_created->GetCell()->Set(true); in WorkerSession()
171 worker_session_created->GetCell()->Set(true); in WorkerSession()
/external/tensorflow/tensorflow/compiler/mlir/tfr/integration/
Dgraph_decompose_pass.cc50 tf_core_op_expansion_graph_counter->GetCell()->IncrementBy(1); in Run()
Dnode_expansion_pass.cc58 tf_core_op_expansion_node_counter->GetCell()->IncrementBy(1); in Run()

12