/external/libchrome/base/metrics/ |
persistent_memory_allocator.cc | 96 const uint32_t PersistentMemoryAllocator::kAllocAlignment = 8; 100 struct PersistentMemoryAllocator::BlockHeader { 111 struct PersistentMemoryAllocator::SharedMetadata { 144 const PersistentMemoryAllocator::Reference 145 PersistentMemoryAllocator::kReferenceQueue = 148 const base::FilePath::CharType PersistentMemoryAllocator::kFileExtension[] = 152 PersistentMemoryAllocator::Iterator::Iterator( 153 const PersistentMemoryAllocator* allocator) 156 PersistentMemoryAllocator::Iterator::Iterator( 157 const PersistentMemoryAllocator* allocator [all...] |
persistent_sample_map.h | 50 static PersistentMemoryAllocator::Reference GetNextPersistentRecord( 51 PersistentMemoryAllocator::Iterator& iterator, 56 static PersistentMemoryAllocator::Reference CreatePersistentRecord( 57 PersistentMemoryAllocator* allocator,
|
persistent_histogram_allocator.h | 34 // it can be used independently on any PersistentMemoryAllocator (making it 44 PersistentMemoryAllocator* allocator); 59 T* GetAsObject(PersistentMemoryAllocator::Reference ref) { 79 PersistentMemoryAllocator* allocator_; 82 PersistentMemoryAllocator::Iterator record_iterator_; 121 PersistentMemoryAllocator::Reference GetNext(); 125 PersistentMemoryAllocator::Reference CreateNew(HistogramBase::Sample value); 134 T* GetAsObject(PersistentMemoryAllocator::Reference ref) { 160 std::vector<PersistentMemoryAllocator::Reference> records_; 165 std::vector<PersistentMemoryAllocator::Reference> found_ [all...] |
persistent_memory_allocator.h | 95 class BASE_EXPORT PersistentMemoryAllocator { 142 explicit Iterator(const PersistentMemoryAllocator* allocator); 149 Iterator(const PersistentMemoryAllocator* allocator, 220 const PersistentMemoryAllocator* allocator_; 273 // PersistentMemoryAllocator does NOT take ownership of the memory block. 286 PersistentMemoryAllocator(void* base, size_t size, size_t page_size, 289 virtual ~PersistentMemoryAllocator(); 619 PersistentMemoryAllocator(Memory memory, size_t size, size_t page_size, 658 const_cast<const PersistentMemoryAllocator*>(this)->GetBlock( 668 const_cast<const PersistentMemoryAllocator*>(this)->GetBlockData [all...] |
persistent_memory_allocator_unittest.cc | 46 typedef PersistentMemoryAllocator::Reference Reference; 51 // in the PersistentMemoryAllocator header file. Instead, it's simply set 80 allocator_.reset(new PersistentMemoryAllocator( 90 PersistentMemoryAllocator::Iterator iter(allocator_.get()); 100 return PersistentMemoryAllocator::kAllocAlignment; 105 std::unique_ptr<PersistentMemoryAllocator> allocator_; 116 EXPECT_EQ(PersistentMemoryAllocator::MEMORY_INITIALIZED, 120 PersistentMemoryAllocator::MemoryInfo meminfo0; 136 PersistentMemoryAllocator::MemoryInfo meminfo1; 154 PersistentMemoryAllocator::Iterator iter1a(allocator_.get()) [all...] |
persistent_sample_map.cc | 161 PersistentMemoryAllocator::Reference 163 PersistentMemoryAllocator::Iterator& iterator, 174 PersistentMemoryAllocator::Reference 176 PersistentMemoryAllocator* allocator, 190 PersistentMemoryAllocator::Reference ref = allocator->GetAsReference(record); 231 PersistentMemoryAllocator::Reference ref = records_->CreateNew(value); 270 PersistentMemoryAllocator::Reference ref;
|
persistent_histogram_allocator_unittest.cc | 50 PersistentMemoryAllocator* allocator_ = nullptr; 57 PersistentMemoryAllocator::MemoryInfo meminfo0; 65 PersistentMemoryAllocator::MemoryInfo meminfo1; 73 PersistentMemoryAllocator::MemoryInfo meminfo2; 81 PersistentMemoryAllocator::MemoryInfo meminfo3; 92 PersistentMemoryAllocator::MemoryInfo meminfo4; 96 PersistentMemoryAllocator::Iterator iter(allocator_); 107 std::make_unique<PersistentMemoryAllocator>( 260 std::make_unique<PersistentMemoryAllocator>( 307 std::make_unique<PersistentMemoryAllocator>( [all...] |
persistent_histogram_allocator.cc | 48 // but that's best since PersistentMemoryAllocator objects (that underlie 103 PersistentMemoryAllocator* allocator) 160 PersistentMemoryAllocator::Reference ref = 205 PersistentMemoryAllocator::Reference PersistentSampleMapRecords::GetNext() { 223 PersistentMemoryAllocator::Reference PersistentSampleMapRecords::CreateNew( 245 PersistentMemoryAllocator::Reference ranges_ref; 247 subtle::Atomic32 counts_ref; // PersistentMemoryAllocator::Reference 263 PersistentMemoryAllocator::Reference ref; 273 std::unique_ptr<PersistentMemoryAllocator> memory) 358 PersistentMemoryAllocator::Reference ranges_ref [all...] |
persistent_histogram_storage.cc | 93 .AddExtension(PersistentMemoryAllocator::kFileExtension);
|
field_trial.h | 661 PersistentMemoryAllocator* allocator); 668 PersistentMemoryAllocator const& allocator); [all...] |
sparse_histogram.cc | 41 PersistentMemoryAllocator::Reference histogram_ref = 0;
|
sample_vector_unittest.cc | 374 std::atomic<PersistentMemoryAllocator::Reference> samples_ref; 467 std::atomic<PersistentMemoryAllocator::Reference> samples_ref;
|
persistent_sample_map_unittest.cc | 26 std::make_unique<PersistentMemoryAllocator>(
|
field_trial.cc | [all...] |
sparse_histogram_unittest.cc | 81 PersistentMemoryAllocator* allocator_ = nullptr;
|
histogram_unittest.cc | 106 PersistentMemoryAllocator* allocator_ = nullptr;
|
/external/libchrome/base/ |
feature_list.h | 113 void InitializeFromSharedMemory(PersistentMemoryAllocator* allocator); 148 void AddFeaturesToAllocator(PersistentMemoryAllocator* allocator);
|
feature_list.cc | 102 PersistentMemoryAllocator* allocator) { 105 PersistentMemoryAllocator::Iterator iter(allocator); 163 void FeatureList::AddFeaturesToAllocator(PersistentMemoryAllocator* allocator) {
|
/external/libchrome/base/debug/ |
activity_tracker.h | 16 // PersistentMemoryAllocator which also uses std::atomic and is written 85 // Expected size for 32/64-bit check by PersistentMemoryAllocator. 188 using Reference = PersistentMemoryAllocator::Reference; 195 ActivityTrackerMemoryAllocator(PersistentMemoryAllocator* allocator, 226 PersistentMemoryAllocator* const allocator_; 234 PersistentMemoryAllocator::Iterator iterator_; 762 // the thread trackers is taken from a PersistentMemoryAllocator which allows [all...] |
activity_tracker.cc | 74 PersistentMemoryAllocator::Reference AllocateFrom( 75 PersistentMemoryAllocator* allocator, 79 PersistentMemoryAllocator::Iterator iter(allocator); 80 PersistentMemoryAllocator::Reference ref; 171 PersistentMemoryAllocator* allocator, [all...] |
activity_tracker_unittest.cc | 502 PersistentMemoryAllocator::Reference proc_data_ref = 507 PersistentMemoryAllocator::Reference tracker_ref = 512 PersistentMemoryAllocator::Reference user_data_ref =
|