Searched refs:memory_profile (Results 1 – 4 of 4) sorted by relevance
84 MemoryProfile memory_profile; in GenerateMemoryProfile() local160 (*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() argument182 for (auto& snapshot : *memory_profile->mutable_memory_profile_snapshots()) { in UpdateStepId()194 void UpdateDeallocation(PerAllocatorMemoryProfile* memory_profile) { in UpdateDeallocation() argument197 for (auto& snapshot : *memory_profile->mutable_memory_profile_snapshots()) { in UpdateDeallocation()233 const PerAllocatorMemoryProfile* memory_profile) { in GetPeakMemoryStep() argument235 for (const auto& snapshot : memory_profile->memory_profile_snapshots()) { in GetPeakMemoryStep()[all …]
89 MemoryProfile memory_profile = ConvertXPlaneToMemoryProfile(*host_plane); in TEST() local90 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()
168 srcs = ["memory_profile.proto"],
1080 defm memory_profile : OptInFFlag<"memory-profile", "Enable", "Disable", " heap memory profiling">;