Home
last modified time | relevance | path

Searched refs:cache_size_ (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_interface.cc141 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 …]
Dtpu_compilation_cache_rpc_lookup.cc165 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()
Dtpu_compilation_cache_rpc_lookup.h80 int64_t cache_size_ ABSL_GUARDED_BY(mu_) = 0;
Dtpu_compilation_cache_interface.h283 int64_t cache_size_ ABSL_GUARDED_BY(mu_) = 0;
/external/cronet/net/disk_cache/simple/
Dsimple_index.cc282 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()
Dsimple_index_file_unittest.cc59 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()
Dsimple_index_file.cc248 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()
Dsimple_index_file.h88 uint64_t cache_size_; // Total cache storage size in bytes. variable
Dsimple_index.h275 uint64_t cache_size_ = 0; // Total cache storage size in bytes. variable
Dsimple_index_unittest.cc267 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/
Dram_file_block_cache.cc63 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()
Dram_file_block_cache.h242 size_t cache_size_ TF_GUARDED_BY(mu_) = 0;
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dram_file_block_cache.cc63 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()
Dram_file_block_cache.h258 size_t cache_size_ ABSL_GUARDED_BY(mu_) = 0;
/external/piex/src/binary_parse/
Dcached_paged_byte_array.cc31 : paged_byte_array_(paged_byte_array), cache_size_(cache_size) {} in CachedPagedByteArray()
53 if (cached_pages_.size() >= cache_size_) { in getPage()
Dcached_paged_byte_array.h66 const size_t cache_size_; variable
/external/stressapptest/src/
Dsat.h186 int cache_size_; // Size of disk cache. variable
Dsat.cc748 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()
Dworker.cc2575 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()
Dworker.h742 int cache_size_; // Size of disk cache, in bytes. variable
/external/libchrome/base/debug/
Dactivity_tracker.cc181 cache_size_(cache_size), in ActivityTrackerMemoryAllocator()
248 if (cache_used_ < cache_size_) in ReleaseObjectReference()
Dactivity_tracker.h230 const size_t cache_size_; variable
/external/libabigail/tests/data/test-annotate/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi25345 <!-- 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/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi15782 …<var-decl name='cache_size_' type-id='type-id-115' visibility='default' filepath='src/central_free…