Home
last modified time | relevance | path

Searched refs:mem_usage (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_memory_test.cc54 const GraphMemory::MemoryUsage& mem_usage = in TEST_F() local
56 EXPECT_EQ(120, mem_usage.used_memory); in TEST_F()
59 for (const auto& t : mem_usage.live_tensors) { in TEST_F()
84 const GraphMemory::MemoryUsage& mem_usage = in TEST_F() local
86 EXPECT_EQ(16, mem_usage.used_memory); in TEST_F()
89 for (const auto& t : mem_usage.live_tensors) { in TEST_F()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dvirtual_cluster.cc105 for (const auto& mem_usage : peak_mem_usage) { in Run() local
106 const string& device_name = mem_usage.first; in Run()
119 int64 peak_mem = mem_usage.second; in Run()
/external/autotest/server/site_tests/enterprise_LongevityTrackerServer/
Denterprise_LongevityTrackerServer.py185 mem_usage = '%.3f' % enterprise_longevity_helper.get_memory_usage(
192 perf_values['mem'].append(float(mem_usage))
197 perf_writer.writerow([time_stamp, cpu_usage, mem_usage, max_temp])
199 time_stamp, cpu_usage, mem_usage, max_temp)
/external/autotest/client/site_tests/video_VideoDecodeMemoryUsage/
Dvideo_VideoDecodeMemoryUsage.py124 def _assert_no_memory_leak(name, mem_usage, threshold = MEMORY_LEAK_THRESHOLD): argument
126 index = range(len(mem_usage))
127 slope, delta = _get_linear_regression_slope(index, mem_usage)
131 logging.debug('memory usage for %s - %s', name, mem_usage)
/external/eigen/Eigen/src/SuperLUSupport/
DSuperLUSupport.h32 …mem_usage_t mem_usage; …
36 … ferr, berr, &gLU, &mem_usage, stats, info); \
37 …return mem_usage.for_lu; /* bytes used by the factor storage */ …
56 …mem_usage_t mem_usage; …
59 … ferr, berr, &mem_usage, stats, info); \
60 …return mem_usage.for_lu; /* bytes used by the factor storage */ …
91 mem_usage_t mem_usage; \
94 &mem_usage, stats, info); \
95 return mem_usage.for_lu; /* bytes used by the factor storage */ \
/external/autotest/client/site_tests/longevity_Tracker/
Dlongevity_Tracker.py142 mem_usage = '%.3f' % self._get_mem_usage()
147 perf_values['mem'].append(mem_usage)
152 perf_writer.writerow([time_stamp, cpu_usage, mem_usage, max_temp])
154 time_stamp, cpu_usage, mem_usage, max_temp)
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmemory_optimizer.cc535 const GraphMemory::MemoryUsage& mem_usage = memory.GetPeakMemoryUsage(name); in SchedulingPass() local
537 if (mem_usage.used_memory <= prop.memory_size() * 0.8) { in SchedulingPass()
541 for (const auto& live : mem_usage.live_tensors) { in SchedulingPass()
966 const GraphMemory::MemoryUsage& mem_usage = memory.GetPeakMemoryUsage(name); in IdentifySwappingCandidates() local
968 if (mem_usage.used_memory <= prop.memory_size()) { in IdentifySwappingCandidates()
971 int64 required_savings = mem_usage.used_memory - prop.memory_size(); in IdentifySwappingCandidates()
1000 for (const auto& live_tensor : mem_usage.live_tensors) { in IdentifySwappingCandidates()
1009 for (const auto& live_tensor : mem_usage.live_tensors) { in IdentifySwappingCandidates()
/external/tensorflow/tensorflow/core/util/
Dstat_summarizer.cc203 const int64 mem_usage = mem.total_bytes(); in ProcessStepStats() local
204 curr_node_mem += mem_usage; in ProcessStepStats()