Home
last modified time | relevance | path

Searched refs:MemoryUsage (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/lite/profiling/
Dmemory_info_test.cc23 TEST(MemoryUsage, AddAndSub) { in TEST() argument
24 MemoryUsage mem1, mem2; in TEST()
44 TEST(MemoryUsage, GetMemoryUsage) { in TEST() argument
45 MemoryUsage result; in TEST()
46 EXPECT_EQ(MemoryUsage::kValueNotSet, result.max_rss_kb); in TEST()
47 EXPECT_EQ(MemoryUsage::kValueNotSet, result.total_allocated_bytes); in TEST()
48 EXPECT_EQ(MemoryUsage::kValueNotSet, result.in_use_allocated_bytes); in TEST()
58 EXPECT_NE(MemoryUsage::kValueNotSet, result.total_allocated_bytes); in TEST()
62 TEST(MemoryUsage, IsSupported) { in TEST() argument
64 EXPECT_TRUE(MemoryUsage::IsSupported()); in TEST()
[all …]
Dmemory_info.h25 struct MemoryUsage { struct
32 MemoryUsage() in MemoryUsage() function
50 MemoryUsage operator+(MemoryUsage const& obj) const { argument
51 MemoryUsage res; argument
60 MemoryUsage operator-(MemoryUsage const& obj) const {
61 MemoryUsage res; argument
73 const MemoryUsage& obj) {
82 MemoryUsage GetMemoryUsage();
Dmemory_info.cc27 const size_t MemoryUsage::kValueNotSet = 0;
29 bool MemoryUsage::IsSupported() { in IsSupported()
36 MemoryUsage GetMemoryUsage() { in GetMemoryUsage()
37 MemoryUsage result; in GetMemoryUsage()
54 void MemoryUsage::AllStatsToStream(std::ostream* stream) const { in AllStatsToStream()
Dmemory_usage_monitor.h42 virtual bool IsSupported() { return MemoryUsage::IsSupported(); } in IsSupported()
43 virtual MemoryUsage GetMemoryUsage() { in GetMemoryUsage()
Dmemory_usage_monitor_test.cc52 MemoryUsage GetMemoryUsage() override { in GetMemoryUsage()
53 MemoryUsage result; in GetMemoryUsage()
Dprofile_buffer.h49 memory::MemoryUsage begin_mem_usage;
51 memory::MemoryUsage end_mem_usage;
Dprofile_summarizer.cc157 const memory::MemoryUsage node_mem_usage = in ProcessProfiles()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_memory.h38 struct MemoryUsage { struct
55 const MemoryUsage& GetPeakMemoryUsage(const string& device) const { in GetPeakMemoryUsage() argument
74 std::unordered_map<string, MemoryUsage> peak_usage_;
75 const MemoryUsage unknown_usage_;
Dgraph_memory_test.cc54 const GraphMemory::MemoryUsage& mem_usage = in TEST_F()
84 const GraphMemory::MemoryUsage& mem_usage = in TEST_F()
110 const GraphMemory::MemoryUsage& cpu_mem = memory.GetPeakMemoryUsage("/CPU:0"); in TEST_F()
123 const GraphMemory::MemoryUsage& gpu_mem = memory.GetPeakMemoryUsage("/GPU:0"); in TEST_F()
149 const GraphMemory::MemoryUsage& gpu_mem = in TEST_F()
176 const GraphMemory::MemoryUsage& new_gpu_mem = in TEST_F()
213 const GraphMemory::MemoryUsage& mem = memory.GetPeakMemoryUsage("/CPU:0"); in TEST_F()
Dgraph_memory.cc282 MemoryUsage& peak_mem_usage = peak_usage_[live_per_device.first]; in InferFromTrace()
Dvirtual_scheduler_test.cc664 FRIEND_TEST(VirtualSchedulerTest, MemoryUsage);
2520 TEST_F(VirtualSchedulerTest, MemoryUsage) { in TEST_F() argument
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_model.h50 const profiling::memory::MemoryUsage& init_mem_usage, in BenchmarkResults()
51 const profiling::memory::MemoryUsage& overall_mem_usage, in BenchmarkResults()
75 const profiling::memory::MemoryUsage& init_mem_usage() const { in init_mem_usage()
78 const profiling::memory::MemoryUsage& overall_mem_usage() const { in overall_mem_usage()
89 profiling::memory::MemoryUsage init_mem_usage_;
90 profiling::memory::MemoryUsage overall_mem_usage_;
/external/crosvm/metrics/src/
Devent_types.rs17 MemoryUsage, enumerator
46 MetricEventType::MemoryUsage => 10002, in from()
79 10002 => Ok(MetricEventType::MemoryUsage), in try_from()
/external/leveldb/util/
Darena_test.cc46 ASSERT_GE(arena.MemoryUsage(), bytes); in TEST()
48 ASSERT_LE(arena.MemoryUsage(), bytes * 1.10); in TEST()
Darena.h33 size_t MemoryUsage() const { in MemoryUsage() function
/external/tensorflow/tensorflow/python/grappler/
Dcluster_wrapper.cc291 using MemoryUsage = in PYBIND11_MODULE() typedef
299 std::tuple<int64_t, std::vector<MemoryUsage>>> { in PYBIND11_MODULE()
316 std::tuple<int64_t, std::vector<MemoryUsage>>> in PYBIND11_MODULE()
319 const tensorflow::grappler::GraphMemory::MemoryUsage& usage = in PYBIND11_MODULE()
321 std::vector<MemoryUsage> per_device; in PYBIND11_MODULE()
/external/abseil-cpp/absl/strings/internal/
Dcordz_info.cc132 struct MemoryUsage { struct in absl::cord_internal::__anoneb54c67c0111::CordRepAnalyzer
167 RepRef CountLinearReps(RepRef rep, MemoryUsage& memory_usage) { in CountLinearReps()
225 MemoryUsage memory_usage_;
/external/cronet/third_party/abseil-cpp/absl/strings/internal/
Dcordz_info.cc133 struct MemoryUsage { struct in absl::cord_internal::__anon260fa24f0111::CordRepAnalyzer
168 RepRef CountLinearReps(RepRef rep, MemoryUsage& memory_usage) { in CountLinearReps()
226 MemoryUsage memory_usage_;
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/
Dcordz_info.cc132 struct MemoryUsage { struct in absl::cord_internal::__anonccddaaa80111::CordRepAnalyzer
167 RepRef CountLinearReps(RepRef rep, MemoryUsage& memory_usage) { in CountLinearReps()
225 MemoryUsage memory_usage_;
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcordz_info.cc133 struct MemoryUsage { struct in absl::cord_internal::__anon42d109eb0111::CordRepAnalyzer
168 RepRef CountLinearReps(RepRef rep, MemoryUsage& memory_usage) { in CountLinearReps()
226 MemoryUsage memory_usage_;
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dcordz_info.cc132 struct MemoryUsage { struct in absl::cord_internal::__anonaa5374cb0111::CordRepAnalyzer
167 RepRef CountLinearReps(RepRef rep, MemoryUsage& memory_usage) { in CountLinearReps()
225 MemoryUsage memory_usage_;
/external/leveldb/db/
Dmemtable.cc26 size_t MemTable::ApproximateMemoryUsage() { return arena_.MemoryUsage(); } in ApproximateMemoryUsage()
/external/crosvm/metrics/src/sys/windows/
Dsystem_metrics.rs118 log_metric(MetricEventType::MemoryUsage, mem as i64); in upload_metrics()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmemory_optimizer.cc561 const GraphMemory::MemoryUsage& mem_usage = memory.GetPeakMemoryUsage(name); in SchedulingPass()
1007 const GraphMemory::MemoryUsage& mem_usage = memory.GetPeakMemoryUsage(name); in IdentifySwappingCandidates()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/
Dregexp_benchmark.cc27 void MemoryUsage();
53 void MemoryUsage() { in MemoryUsage() function

12