/external/tensorflow/tensorflow/core/tpu/kernels/ |
D | tpu_compilation_cache_interface.cc | 141 CHECK_EQ(cache_size_, 0); in ~TpuCompilationCacheInterface() 172 cache_size_ -= subgraph_to_evict->total_size; in MarkEntryForEviction() 182 << cache_size_ + marked_for_eviction_size_ in MarkEntryForEviction() 213 << cache_size_ + marked_for_eviction_size_ in Release() 296 << " entries (" << cache_size_ + marked_for_eviction_size_ in DiscardEntryRefs() 312 cache_size_ -= entry_to_mark->total_size; in MarkOldestEntryForEviction() 329 cache_size_ += entry->total_size; in LookupEntryMarkedForEviction() 336 while (entries_by_last_use_.size() > 1 && cache_size_ > max_cache_size_) { in LookupEntryMarkedForEviction() 462 << cache_size_ + marked_for_eviction_size_ << " bytes), " in CompileIfKeyAbsentHelper() 491 << cache_size_ + marked_for_eviction_size_ << " bytes), " in CompileIfKeyAbsentHelper() [all …]
|
D | tpu_compilation_cache_rpc_lookup.cc | 165 cache_size_ += (*cache_entry)->size; in RemoteLookupLocked() 181 while (entries_by_last_use_.size() > 1 && cache_size_ > max_cache_size_) { in PostLookupLocked() 184 CHECK_GE(cache_size_, entry_to_evict->size); in PostLookupLocked() 185 cache_size_ -= entry_to_evict->size; in PostLookupLocked()
|
D | tpu_compilation_cache_rpc_lookup.h | 80 int64_t cache_size_ ABSL_GUARDED_BY(mu_) = 0;
|
D | tpu_compilation_cache_interface.h | 283 int64_t cache_size_ ABSL_GUARDED_BY(mu_) = 0;
|
/external/cronet/net/disk_cache/simple/ |
D | simple_index.cc | 282 return cache_size_; in GetCacheSize() 403 if (eviction_in_progress_ || cache_size_ <= high_watermark_) in StartEvictionIfNeeded() 432 const uint64_t amount_to_evict = cache_size_ - low_watermark_; in StartEvictionIfNeeded() 514 cache_size_ += entry_metadata.GetEntrySize(); in InsertEntryForTesting() 532 DCHECK_GE(cache_size_, (*it)->second.GetEntrySize()); in UpdateEntryIteratorSize() 534 cache_size_ -= (*it)->second.GetEntrySize(); in UpdateEntryIteratorSize() 537 cache_size_ += (*it)->second.GetEntrySize(); in UpdateEntryIteratorSize() 569 cache_size_ = merged_cache_size; in MergeInitializingSet() 582 static_cast<base::HistogramBase::Sample>(cache_size_ / kBytesInKb)); in MergeInitializingSet() 626 index_file_->WriteToDisk(cache_type_, reason, entries_set_, cache_size_, in WriteToDisk()
|
D | simple_index_file_unittest.cc | 59 EXPECT_EQ(0U, index_metadata.cache_size_); in TEST() 80 EXPECT_EQ(new_index_metadata.cache_size_, index_metadata.cache_size_); in TEST() 105 pickle->WriteUInt64(cache_size_); in Serialize() 123 EXPECT_EQ(new_index_metadata.cache_size_, v6_index_metadata.cache_size_); in TEST()
|
D | simple_index_file.cc | 248 cache_size_(0) {} in IndexMetadata() 254 : reason_(reason), entry_count_(entry_count), cache_size_(cache_size) {} in IndexMetadata() 261 pickle->WriteUInt64(cache_size_); in Serialize() 278 it->ReadUInt64(&entry_count_) && it->ReadUInt64(&cache_size_); in Deserialize()
|
D | simple_index_file.h | 88 uint64_t cache_size_; // Total cache storage size in bytes. variable
|
D | simple_index.h | 275 uint64_t cache_size_ = 0; // Total cache storage size in bytes. variable
|
D | simple_index_unittest.cc | 267 EXPECT_EQ(9u * kSizeResolution, index()->cache_size_); in TEST_F() 273 EXPECT_EQ(9u * kSizeResolution, index()->cache_size_); in TEST_F() 286 EXPECT_EQ((2u + 3u + 4u + 11u) * kSizeResolution, index()->cache_size_); in TEST_F()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | ram_file_block_cache.cc | 63 while (!lru_list_.empty() && cache_size_ > max_bytes_) { in Trim() 112 cache_size_ += block->data.capacity(); in MaybeFetch() 249 return cache_size_; in CacheSize() 274 cache_size_ = 0; in Flush() 298 cache_size_ -= entry->second->data.capacity(); in RemoveBlock()
|
D | ram_file_block_cache.h | 242 size_t cache_size_ TF_GUARDED_BY(mu_) = 0;
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/ |
D | ram_file_block_cache.cc | 63 while (!lru_list_.empty() && cache_size_ > max_bytes_) { in Trim() 114 cache_size_ += block->data.capacity(); in MaybeFetch() 255 return cache_size_; in CacheSize() 281 cache_size_ = 0; in Flush() 305 cache_size_ -= entry->second->data.capacity(); in RemoveBlock()
|
D | ram_file_block_cache.h | 258 size_t cache_size_ ABSL_GUARDED_BY(mu_) = 0;
|
/external/piex/src/binary_parse/ |
D | cached_paged_byte_array.cc | 31 : paged_byte_array_(paged_byte_array), cache_size_(cache_size) {} in CachedPagedByteArray() 53 if (cached_pages_.size() >= cache_size_) { in getPage()
|
D | cached_paged_byte_array.h | 66 const size_t cache_size_; variable
|
/external/stressapptest/src/ |
D | sat.h | 186 int cache_size_; // Size of disk cache. variable
|
D | sat.cc | 748 cache_size_ = -1; in Sat() 907 ARG_IVALUE("--cache-size", cache_size_); in ParseArgs() 1328 segment_size_, cache_size_, in InitializeThreads() 1345 segment_size_, cache_size_, in InitializeThreads()
|
D | worker.cc | 2575 cache_size_ = 16 * 1024 * 1024; // assume 16MiB cache by default in DiskThread() 2579 queue_size_ = ((cache_size_ / write_block_size_) * 3) / 2; in DiskThread() 2671 cache_size_ = cache_size; in SetParameters() 2720 queue_size_ = ((cache_size_ / write_block_size_) * 3) / 2; in SetParameters() 2830 sat_assert(device_sectors_ * kSectorSize > 3 * cache_size_); in DoWork()
|
D | worker.h | 742 int cache_size_; // Size of disk cache, in bytes. variable
|
/external/libchrome/base/debug/ |
D | activity_tracker.cc | 181 cache_size_(cache_size), in ActivityTrackerMemoryAllocator() 248 if (cache_used_ < cache_size_) in ReleaseObjectReference()
|
D | activity_tracker.h | 230 const size_t cache_size_; variable
|
/external/libabigail/tests/data/test-annotate/ |
D | test19-pr19023-libtcmalloc_and_profiler.so.abi | 25345 <!-- int32_t tcmalloc::CentralFreeList::cache_size_ --> 25346 …<var-decl name='cache_size_' type-id='type-id-115' visibility='default' filepath='src/central_free…
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | test19-pr19023-libtcmalloc_and_profiler.so.abi | 15782 …<var-decl name='cache_size_' type-id='type-id-115' visibility='default' filepath='src/central_free…
|