Home
last modified time | relevance | path

Searched refs:dev_stat (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dstep_stats_collector.cc290 for (const auto& dev_stat : dev_stats_) { in ReportAllocsOnResourceExhausted() local
291 const string& device = dev_stat.first; in ReportAllocsOnResourceExhausted()
298 for (const auto& stats : dev_stat.second) { in ReportAllocsOnResourceExhausted()
307 std::make_pair(dev_stat.first, alloc.first->allocator_name()); in ReportAllocsOnResourceExhausted()
383 for (const auto& dev_stat : dev_stats_) { in FinalizeInternal() local
384 if (dev_stats_pb.find(dev_stat.first) == dev_stats_pb.end()) { in FinalizeInternal()
386 ndev_stat->set_device(dev_stat.first); in FinalizeInternal()
387 dev_stats_pb[dev_stat.first] = ndev_stat; in FinalizeInternal()
389 DeviceStepStats* dss = dev_stats_pb.at(dev_stat.first); in FinalizeInternal()
390 for (auto& stats : dev_stat.second) { in FinalizeInternal()
Ddirect_session_with_tracking_alloc_test.cc341 for (const auto& dev_stat : run_metadata.step_stats().dev_stats()) { in TEST() local
342 for (const auto& node_stat : dev_stat.node_stats()) { in TEST()
/external/perfetto/src/traced/probes/filesystem/
Dfs_mount_unittest.cc58 struct stat dev_stat = {}, root_stat = {}; in TEST() local
59 ASSERT_NE(stat("/dev", &dev_stat), -1); in TEST()
61 EXPECT_THAT(mounts, Contains(Pair(dev_stat.st_dev, "/dev"))); in TEST()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dvirtual_cluster_test.cc95 for (const auto& dev_stat : metadata.step_stats().dev_stats()) { in TEST_F() local
96 EXPECT_EQ("/job:localhost/replica:0/task:0/cpu:0", dev_stat.device()); in TEST_F()
97 for (const auto& node : dev_stat.node_stats()) { in TEST_F()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_stats.cc276 for (const auto& dev_stat : run_meta->step_stats().dev_stats()) { in AddRunMeta() local
277 string dev = str_util::Lowercase(dev_stat.device()); in AddRunMeta()
284 for (const NodeExecStats& node_stat : dev_stat.node_stats()) { in AddRunMeta()
297 nodes_map_.at(name)->AddStepStat(step, dev_stat.device(), node_stat); in AddRunMeta()
301 node->second->AddStepStat(step, dev_stat.device(), node_stat); in AddRunMeta()
/external/tensorflow/tensorflow/python/profiler/internal/
Drun_metadata_test.py45 for dev_stat in run_meta.step_stats.dev_stats:
46 dev = dev_stat.device.lower()
54 for node_stat in dev_stat.node_stats:
/external/tensorflow/tensorflow/python/profiler/
Dtfprof_logger.py41 for dev_stat in run_meta.step_stats.dev_stats:
42 for node_stat in dev_stat.node_stats:
/external/tensorflow/tensorflow/core/grappler/costs/
Dutils.cc419 for (const auto& dev_stat : step_stats.dev_stats()) { in GetStatsStringFromRunMetadata() local
420 const auto& device_name = dev_stat.device(); in GetStatsStringFromRunMetadata()
422 for (const auto& node_stat : dev_stat.node_stats()) { in GetStatsStringFromRunMetadata()
/external/python/cpython3/Modules/
D_posixsubprocess.c97 struct stat dev_stat; in _is_fdescfs_mounted_on_dev_fd() local
99 if (stat("/dev", &dev_stat) != 0) in _is_fdescfs_mounted_on_dev_fd()
103 if (dev_stat.st_dev == dev_fd_stat.st_dev) in _is_fdescfs_mounted_on_dev_fd()