Home
last modified time | relevance | path

Searched refs:allocated_bytes (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/compiler-rt/test/scudo/
Dquarantine.c24 size_t allocated_bytes, size = 1U << 8, alignment = 1U << 8; in main() local
44 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
47 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
49 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
76 allocated_bytes = __sanitizer_get_current_allocated_bytes(); in main()
79 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
81 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
83 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
85 assert(__sanitizer_get_current_allocated_bytes() == allocated_bytes); in main()
90 assert(__sanitizer_get_current_allocated_bytes() > allocated_bytes); in main()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtracking_allocator.cc42 size_t allocated_bytes = allocator_->AllocatedSize(ptr); in AllocateRaw() local
45 allocated_ += allocated_bytes; in AllocateRaw()
47 total_bytes_ += allocated_bytes; in AllocateRaw()
48 allocations_.emplace_back(allocated_bytes, Env::Default()->NowMicros()); in AllocateRaw()
55 size_t allocated_bytes = allocator_->AllocatedSizeSlow(ptr); in AllocateRaw() local
56 allocated_bytes = std::max(num_bytes, allocated_bytes); in AllocateRaw()
59 Chunk chunk = {num_bytes, allocated_bytes, next_allocation_id_}; in AllocateRaw()
61 allocated_ += allocated_bytes; in AllocateRaw()
63 total_bytes_ += allocated_bytes; in AllocateRaw()
64 allocations_.emplace_back(allocated_bytes, Env::Default()->NowMicros()); in AllocateRaw()
[all …]
Dallocation_description.proto16 int64 allocated_bytes = 2; field
Ddataset.cc359 int64 allocated_bytes = 0; in GetAllocatedBytes() local
364 allocated_bytes += dataset->AllocatedBytes(); in GetAllocatedBytes()
366 allocated_bytes += tensor.AllocatedBytes(); in GetAllocatedBytes()
369 return allocated_bytes; in GetAllocatedBytes()
Dtensor.cc71 if (allocation_description.allocated_bytes() > 0) { in GetAllocatedBytes()
72 *out_bytes = allocation_description.allocated_bytes(); in GetAllocatedBytes()
Dop_kernel.cc846 if (alloc_desc.allocated_bytes()) { // Non-zero sized tensor. in allocate_persistent()
/external/webrtc/modules/audio_coding/neteq/tools/
Dpacket.cc26 size_t allocated_bytes, in Packet() argument
32 packet_length_bytes_(allocated_bytes), in Packet()
48 Packet::Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms) in Packet() argument
50 allocated_bytes, in Packet()
51 allocated_bytes, in Packet()
53 RtpUtility::RtpHeaderParser(packet_memory, allocated_bytes)) {} in Packet()
56 size_t allocated_bytes, in Packet() argument
60 allocated_bytes, in Packet()
63 RtpUtility::RtpHeaderParser(packet_memory, allocated_bytes)) {} in Packet()
Dpacket.h44 size_t allocated_bytes,
64 Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms);
67 size_t allocated_bytes,
/external/tensorflow/tensorflow/core/kernels/data/
Dwindow_dataset.cc51 int64 allocated_bytes = 0; in AllocatedBytes() local
53 allocated_bytes += GetAllocatedBytes(element); in AllocatedBytes()
55 return allocated_bytes; in AllocatedBytes()
/external/webrtc/modules/audio_coding/acm2/
Dacm_send_test.cc143 size_t allocated_bytes = last_payload_vec_.size() + kRtpHeaderSize; in CreatePacket() local
144 uint8_t* packet_memory = new uint8_t[allocated_bytes]; in CreatePacket()
166 new Packet(packet_memory, allocated_bytes, clock_.TimeInMilliseconds())); in CreatePacket()
/external/libchrome/base/debug/
Dthread_heap_usage_tracker.cc95 uint64_t allocated_bytes = usage->alloc_bytes - usage->free_bytes; in RecordAlloc() local
96 if (allocated_bytes > usage->max_allocated_bytes) in RecordAlloc()
97 usage->max_allocated_bytes = allocated_bytes; in RecordAlloc()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_node.cc119 .allocated_bytes(), in AddMemoryStats()
/external/python/cpython2/Objects/
Dobmalloc.c1802 size_t allocated_bytes = 0; in _PyObject_DebugMallocStats() local
1895 allocated_bytes += b * size; in _PyObject_DebugMallocStats()
1915 total = printone("# bytes in allocated blocks", allocated_bytes); in _PyObject_DebugMallocStats()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_memory.cc186 .allocated_bytes(); in InferFromTrace()
Dutils.cc453 .allocated_bytes(); in GetStatsStringFromRunMetadata()
/external/libchrome/base/metrics/
Dpersistent_histogram_allocator.cc535 size_t allocated_bytes = in CreateHistogram() local
539 allocated_bytes < required_bytes) { in CreateHistogram()
/external/protobuf/src/google/protobuf/
Drepeated_field.h1730 size_t allocated_bytes = static_cast<size_t>(total_size_) * sizeof(void*);
1733 allocated_bytes +=
1736 allocated_bytes += kRepHeaderSize;
1738 return allocated_bytes;
/external/python/cpython3/Objects/
Dobmalloc.c2608 size_t allocated_bytes = 0; in _PyObject_DebugMallocStats() local
2702 allocated_bytes += b * size; in _PyObject_DebugMallocStats()
2725 total = printone(out, "# bytes in allocated blocks", allocated_bytes); in _PyObject_DebugMallocStats()
/external/tensorflow/tensorflow/core/common_runtime/
Dstep_stats_collector.cc358 .allocated_bytes()), in BuildCostModel()
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h878 uint8_t *release_raw(size_t &allocated_bytes, size_t &offset) {
880 allocated_bytes = reserved_;