Home
last modified time | relevance | path

Searched refs:AllocRecord (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator.h46 struct AllocRecord { struct
47 AllocRecord(int64 a_btyes, int64 a_micros) in AllocRecord() function
49 AllocRecord() : AllocRecord(0, 0) {} in AllocRecord() argument
87 gtl::InlinedVector<AllocRecord, 4> GetRecordsAndUnRef();
89 gtl::InlinedVector<AllocRecord, 4> GetCurrentRecords();
117 gtl::InlinedVector<AllocRecord, 4> allocations_ GUARDED_BY(mu_);
Dtracking_allocator.cc174 gtl::InlinedVector<AllocRecord, 4> TrackingAllocator::GetRecordsAndUnRef() { in GetRecordsAndUnRef()
176 gtl::InlinedVector<AllocRecord, 4> allocations; in GetRecordsAndUnRef()
188 gtl::InlinedVector<AllocRecord, 4> TrackingAllocator::GetCurrentRecords() { in GetCurrentRecords()
189 gtl::InlinedVector<AllocRecord, 4> allocations; in GetCurrentRecords()
192 for (const AllocRecord& alloc : allocations_) { in GetCurrentRecords()
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.h126 void PostAllocRecord(AllocRecord) override;
132 void HandleAllocRecord(AllocRecord);
Dunwinding.h133 bool DoUnwind(WireMessage*, UnwindingMetadata* metadata, AllocRecord* out);
139 virtual void PostAllocRecord(AllocRecord) = 0;
Dunwound_messages.h38 struct AllocRecord { struct
Dunwinding_fuzzer.cc31 void PostAllocRecord(AllocRecord) override {} in PostAllocRecord() argument
Dheapprofd_producer.cc754 void HeapprofdProducer::PostAllocRecord(AllocRecord alloc_rec) { in PostAllocRecord()
756 AllocRecord* raw_alloc_rec = new AllocRecord(std::move(alloc_rec)); in PostAllocRecord()
786 void HeapprofdProducer::HandleAllocRecord(AllocRecord alloc_rec) { in HandleAllocRecord()
Dunwinding.cc179 bool DoUnwind(WireMessage* msg, UnwindingMetadata* metadata, AllocRecord* out) { in DoUnwind()
351 AllocRecord rec; in HandleBuffer()
Dunwinding_unittest.cc135 AllocRecord out; in TEST()
/external/tensorflow/tensorflow/stream_executor/
Dstream_executor_pimpl.h44 struct AllocRecord { struct
210 void GetMemAllocs(std::map<void *, AllocRecord> *records_out);
654 std::map<void *, AllocRecord> mem_allocs_ GUARDED_BY(mu_);
Dstream_executor_pimpl.cc263 void StreamExecutor::GetMemAllocs(std::map<void *, AllocRecord> *records_out) { in GetMemAllocs()
827 mem_allocs_[opaque] = AllocRecord{ in CreateAllocRecord()
/external/tensorflow/tensorflow/core/common_runtime/
Dstep_stats_collector.cc465 gtl::InlinedVector<AllocRecord, 4> cur_records = in ReportAllocsOnResourceExhausted()