Home
last modified time | relevance | path

Searched refs:bytes_in_use (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dcpu_allocator_impl.cc90 stats_.bytes_in_use += alloc_size; in AllocateRaw()
92 std::max<int64>(stats_.peak_bytes_in_use, stats_.bytes_in_use); in AllocateRaw()
96 if (stats_.bytes_in_use > TotalAllocationWarningBytes() && in AllocateRaw()
99 LOG(WARNING) << "Total allocated memory " << stats_.bytes_in_use in AllocateRaw()
112 stats_.bytes_in_use -= alloc_size; in DeallocateRaw()
125 stats_.peak_bytes_in_use = stats_.bytes_in_use; in ClearStats()
Dallocator_test.cc28 static void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, in CheckStats() argument
40 EXPECT_GT(stats->bytes_in_use, bytes_in_use - kSlop); in CheckStats()
41 EXPECT_LT(stats->bytes_in_use, bytes_in_use + kSlop); in CheckStats()
Dallocator.cc43 static_cast<long long>(this->bytes_in_use), in DebugString()
Dallocator.h150 int64 bytes_in_use; // Number of bytes in use. member
169 bytes_in_use(0), in AllocatorStats()
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h95 stats_.bytes_in_use = 0; in ClearStats()
104 stats_.bytes_in_use += alloc_size; in IncrementStats()
106 std::max(stats_.peak_bytes_in_use, stats_.bytes_in_use); in IncrementStats()
114 stats_.bytes_in_use -= dealloc_size; in DecrementStats()
259 stats_.bytes_in_use = l_stats->bytes_in_use + s_stats->bytes_in_use; in GetStats()
Dbfc_allocator.cc479 int64 bytes_available = total_region_allocated_bytes_ - stats_.bytes_in_use; in GetFragmentation()
497 memory_limit_ - stats_.bytes_reserved - stats_.bytes_in_use; in AddTraceMe()
507 {"bytes_allocated", stats_.bytes_in_use}, in AddTraceMe()
563 stats_.bytes_in_use += chunk->size; in FindChunkPtr()
565 std::max(stats_.peak_bytes_in_use, stats_.bytes_in_use); in FindChunkPtr()
582 size_history_[slot] = stats_.bytes_in_use; in FindChunkPtr()
759 stats_.bytes_in_use -= c->size; in MarkFree()
764 size_history_[slot] = stats_.bytes_in_use; in MarkFree()
1098 mas->set_bytes_in_use(stats_.bytes_in_use); in RecordMemoryMapInternal()
1160 stats_.peak_bytes_in_use = stats_.bytes_in_use; in ClearStats()
Dstep_stats_collector.cc179 memory->set_allocator_bytes_in_use(stats->bytes_in_use); in AddAllocation()
/external/tensorflow/tensorflow/stream_executor/
Dallocator_stats.h31 int64 bytes_in_use; // Number of bytes in use. member
50 bytes_in_use(0), in AllocatorStats()
Dallocator_stats.cc31 this->bytes_limit ? *this->bytes_limit : 0, this->bytes_in_use, in DebugString()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline.cc168 for (const auto& bytes_in_use : node->node->allocator_bytes_in_use(step)) { in TrackNode() local
169 if (bytes_in_use.first <= 0) continue; in TrackNode()
170 dev.allocations[bytes_in_use.first] = bytes_in_use.second; in TrackNode()
Dtfprof_node.h179 std::map<int64, int64> bytes_in_use; in allocator_bytes_in_use() local
181 bytes_in_use[exec.memory_micros()] = exec.allocator_bytes_in_use(); in allocator_bytes_in_use()
183 return bytes_in_use; in allocator_bytes_in_use()
/external/tensorflow/tensorflow/core/protobuf/
Dbfc_memory_map.proto10 int64 bytes_in_use = 2; field
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc65 tf_stats.bytes_in_use = se_stats->bytes_in_use; in GetStats()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dtpu_executor.cc230 stats.bytes_in_use = c_stats.bytes_in_use; in GetAllocatorStats()
Dc_api_decl.h84 int64_t bytes_in_use; member
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator_test.cc45 void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, in CheckStats() argument
53 EXPECT_EQ(stats->bytes_in_use, bytes_in_use); in CheckStats()
/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor.h110 int64_t bytes_in_use; member
Dstream_executor.cc318 stats.bytes_in_use = c_stats.bytes_in_use; in GetAllocatorStats()
Dstream_executor_test.cc413 stat->bytes_in_use = 123; in TEST_F()
421 ASSERT_EQ(stats.bytes_in_use, 123); in TEST_F()
/external/tensorflow/tensorflow/core/debug/
Dbfc_dump_reader.cc109 static_cast<int64_t>(md.stats().bytes_in_use()), in PrintSummary()
/external/tensorflow/tensorflow/core/kernels/
Dstack.cc250 stats->bytes_in_use > (*stats->bytes_limit * kOccupancy)) { in ComputeAsync()
/external/e2fsprogs/lib/blkid/
Dprobe.h478 __u32 bytes_in_use; member
/external/tensorflow/tensorflow/python/
Dtfe_wrapper.cc580 {"current", stats->bytes_in_use}, in PYBIND11_MODULE()