Home
last modified time | relevance | path

Searched refs:memory_profile (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_memory_profile.cc84 MemoryProfile memory_profile; in GenerateMemoryProfile() local
160 (*memory_profile.mutable_memory_profile_per_allocator())[memory_id] in GenerateMemoryProfile()
165 (*memory_profile.mutable_memory_profile_per_allocator())[memory_id] in GenerateMemoryProfile()
172 return memory_profile; in GenerateMemoryProfile()
179 void UpdateStepId(PerAllocatorMemoryProfile* memory_profile) { in UpdateStepId() argument
182 for (auto& snapshot : *memory_profile->mutable_memory_profile_snapshots()) { in UpdateStepId()
194 void UpdateDeallocation(PerAllocatorMemoryProfile* memory_profile) { in UpdateDeallocation() argument
197 for (auto& snapshot : *memory_profile->mutable_memory_profile_snapshots()) { in UpdateDeallocation()
233 const PerAllocatorMemoryProfile* memory_profile) { in GetPeakMemoryStep() argument
235 for (const auto& snapshot : memory_profile->memory_profile_snapshots()) { in GetPeakMemoryStep()
[all …]
Dxplane_to_memory_profile_test.cc89 MemoryProfile memory_profile = ConvertXPlaneToMemoryProfile(*host_plane); in TEST() local
90 EXPECT_EQ(memory_profile.memory_profile_per_allocator().size(), 1); in TEST()
91 EXPECT_EQ(memory_profile.num_hosts(), 1); in TEST()
92 EXPECT_EQ(memory_profile.memory_ids_size(), 1); in TEST()
93 EXPECT_EQ(memory_profile.memory_profile_per_allocator().begin()->first, in TEST()
96 memory_profile.memory_profile_per_allocator().begin()->second; in TEST()
/external/tensorflow/tensorflow/core/profiler/protobuf/
DBUILD168 srcs = ["memory_profile.proto"],
/external/llvm-project/clang/include/clang/Driver/
DOptions.td1080 defm memory_profile : OptInFFlag<"memory-profile", "Enable", "Disable", " heap memory profiling">;