Home
last modified time | relevance | path

Searched refs:AllocatorStats (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/memory_stats/kernels/
Dmemory_stats_ops.cc27 absl::optional<AllocatorStats> allocator_stats = allocator->GetStats(); in Compute()
29 *allocator_stats = AllocatorStats(); in Compute()
42 const AllocatorStats& allocator_stats) const = 0;
53 const AllocatorStats& allocator_stats) const override { in ExtractAllocatorStats()
75 const AllocatorStats& allocator_stats) const override { in ExtractAllocatorStats()
97 const AllocatorStats& allocator_stats) const override { in ExtractAllocatorStats()
/external/tensorflow/tensorflow/stream_executor/
Dallocator_stats.h29 struct AllocatorStats { struct
39 AllocatorStats() in AllocatorStats() argument
Dallocator_stats.cc21 string AllocatorStats::DebugString() const { in DebugString()
Dstream_executor_internal.h373 virtual absl::optional<AllocatorStats> GetAllocatorStats() { in GetAllocatorStats()
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h85 absl::optional<AllocatorStats> GetStats() override { in GetStats()
126 AllocatorStats stats_ GUARDED_BY(mutex_);
251 absl::optional<AllocatorStats> GetStats() override { in GetStats()
315 AllocatorStats stats_ GUARDED_BY(mutex_);
Dprocess_state.h133 absl::optional<AllocatorStats> GetStats() override { return a_->GetStats(); } in GetStats()
Dbfc_allocator.h72 absl::optional<AllocatorStats> GetStats() override;
456 AllocatorStats stats_ GUARDED_BY(lock_);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h209 class AllocatorStats {
236 AllocatorStats *next_;
237 AllocatorStats *prev_;
242 class AllocatorGlobalStats : public AllocatorStats {
253 void Register(AllocatorStats *s) { in Register()
261 void Unregister(AllocatorStats *s) { in Unregister()
272 const AllocatorStats *stats = this; in Get()
353 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch()
364 NOINLINE void DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) { in DeallocateBatch()
538 NOINLINE Batch* PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_allocator.h46 void GetStats(AllocatorStats* stats) override;
68 AllocatorStats stats_ GUARDED_BY(mu_);
Dsycl_allocator.cc69 void SYCLAllocator::GetStats(AllocatorStats* stats) { in GetStats()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_debug_allocator.h46 absl::optional<AllocatorStats> GetStats() override;
74 absl::optional<AllocatorStats> GetStats() override;
Dgpu_debug_allocator.cc135 absl::optional<AllocatorStats> GPUDebugAllocator::GetStats() { in GetStats()
211 absl::optional<AllocatorStats> GPUNanResetAllocator::GetStats() { in GetStats()
Dgpu_bfc_allocator_test.cc40 absl::optional<AllocatorStats> stats = a->GetStats(); in CheckStats()
297 absl::optional<AllocatorStats> stats = a.GetStats(); in TEST()
/external/tensorflow/tensorflow/core/framework/
Dallocator.cc29 string AllocatorStats::DebugString() const { in DebugString()
153 absl::optional<AllocatorStats> GetStats() override { in GetStats()
171 AllocatorStats stats_ GUARDED_BY(mu_);
Dallocator.h60 struct AllocatorStats { struct
70 AllocatorStats() in AllocatorStats() argument
207 virtual absl::optional<AllocatorStats> GetStats() { return absl::nullopt; } in GetStats()
Dtracking_allocator_test.cc47 absl::optional<AllocatorStats> GetStats() override { return absl::nullopt; } in GetStats()
61 absl::optional<AllocatorStats> GetStats() override { return absl::nullopt; } in GetStats()
Dtracking_allocator.h69 absl::optional<AllocatorStats> GetStats() override;
Dtracking_allocator.cc155 absl::optional<AllocatorStats> TrackingAllocator::GetStats() { in GetStats()
Dallocator_test.cc29 absl::optional<AllocatorStats> stats = a->GetStats(); in CheckStats()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc55 absl::optional<AllocatorStats> XlaDeviceAllocator::GetStats() { in GetStats()
56 absl::optional<stream_executor::AllocatorStats> se_stats = in GetStats()
62 tensorflow::AllocatorStats tf_stats; in GetStats()
Dxla_device_context.h44 absl::optional<AllocatorStats> GetStats() override;
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc270 AllocatorStats stats; in TEST()
297 AllocatorStats stats; in TEST()
314 AllocatorStats stats; in TEST()
329 AllocatorStats stats; in FailInAssertionOnOOM()
347 AllocatorStats stats; in TEST()
718 AllocatorStats stats; in TEST()
745 AllocatorStats stats; in TEST()
/external/tensorflow/tensorflow/core/kernels/
Dstack.cc247 absl::optional<AllocatorStats> stats = allocator->GetStats(); in ComputeAsync()
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc235 absl::optional<AllocatorStats> stats = allocator->GetStats(); in GetPeakMemoryUsage()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.cc188 absl::optional<AllocatorStats> allocator_stats = in UpdateStats()

12