/external/libchrome/base/metrics/ |
D | 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( in Iterator() 153 const PersistentMemoryAllocator* allocator) in Iterator() 156 PersistentMemoryAllocator::Iterator::Iterator( in Iterator() 157 const PersistentMemoryAllocator* allocator, in Iterator() [all …]
|
D | persistent_histogram_allocator.h | 44 PersistentMemoryAllocator* allocator); 59 T* GetAsObject(PersistentMemoryAllocator::Reference ref) { in GetAsObject() 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) { in GetAsObject() 160 std::vector<PersistentMemoryAllocator::Reference> records_; 165 std::vector<PersistentMemoryAllocator::Reference> found_; 177 using Reference = PersistentMemoryAllocator::Reference; [all …]
|
D | persistent_memory_allocator.h | 95 class BASE_EXPORT PersistentMemoryAllocator { 142 explicit Iterator(const PersistentMemoryAllocator* allocator); 149 Iterator(const PersistentMemoryAllocator* allocator, 220 const PersistentMemoryAllocator* allocator_; 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( in GetBlock() 668 const_cast<const PersistentMemoryAllocator*>(this)->GetBlockData( in GetBlockData() 685 DISALLOW_COPY_AND_ASSIGN(PersistentMemoryAllocator); [all …]
|
D | persistent_memory_allocator_unittest.cc | 46 typedef PersistentMemoryAllocator::Reference Reference; 80 allocator_.reset(new PersistentMemoryAllocator( in SetUp() 90 PersistentMemoryAllocator::Iterator iter(allocator_.get()); in CountIterables() 100 return PersistentMemoryAllocator::kAllocAlignment; in GetAllocAlignment() 105 std::unique_ptr<PersistentMemoryAllocator> allocator_; 116 EXPECT_EQ(PersistentMemoryAllocator::MEMORY_INITIALIZED, in TEST_F() 120 PersistentMemoryAllocator::MemoryInfo meminfo0; in TEST_F() 136 PersistentMemoryAllocator::MemoryInfo meminfo1; in TEST_F() 154 PersistentMemoryAllocator::Iterator iter1a(allocator_.get()); in TEST_F() 176 PersistentMemoryAllocator::MemoryInfo meminfo2; in TEST_F() [all …]
|
D | persistent_sample_map.h | 50 static PersistentMemoryAllocator::Reference GetNextPersistentRecord( 51 PersistentMemoryAllocator::Iterator& iterator, 56 static PersistentMemoryAllocator::Reference CreatePersistentRecord( 57 PersistentMemoryAllocator* allocator,
|
D | persistent_sample_map.cc | 161 PersistentMemoryAllocator::Reference 163 PersistentMemoryAllocator::Iterator& iterator, in GetNextPersistentRecord() 174 PersistentMemoryAllocator::Reference 176 PersistentMemoryAllocator* allocator, in CreatePersistentRecord() 190 PersistentMemoryAllocator::Reference ref = allocator->GetAsReference(record); in CreatePersistentRecord() 231 PersistentMemoryAllocator::Reference ref = records_->CreateNew(value); in GetOrCreateSampleCountStorage() 270 PersistentMemoryAllocator::Reference ref; in ImportSamples()
|
D | persistent_histogram_allocator_unittest.cc | 50 PersistentMemoryAllocator* allocator_ = nullptr; 57 PersistentMemoryAllocator::MemoryInfo meminfo0; in TEST_F() 65 PersistentMemoryAllocator::MemoryInfo meminfo1; in TEST_F() 73 PersistentMemoryAllocator::MemoryInfo meminfo2; in TEST_F() 81 PersistentMemoryAllocator::MemoryInfo meminfo3; in TEST_F() 92 PersistentMemoryAllocator::MemoryInfo meminfo4; in TEST_F() 96 PersistentMemoryAllocator::Iterator iter(allocator_); in TEST_F() 107 std::make_unique<PersistentMemoryAllocator>( in TEST_F() 260 std::make_unique<PersistentMemoryAllocator>( in TEST_F() 307 std::make_unique<PersistentMemoryAllocator>( in TEST_F() [all …]
|
D | persistent_histogram_allocator.cc | 103 PersistentMemoryAllocator* allocator) in PersistentSparseHistogramDataManager() 160 PersistentMemoryAllocator::Reference ref = in LoadRecords() 205 PersistentMemoryAllocator::Reference PersistentSampleMapRecords::GetNext() { in GetNext() 223 PersistentMemoryAllocator::Reference PersistentSampleMapRecords::CreateNew( in CreateNew() 245 PersistentMemoryAllocator::Reference ranges_ref; 263 PersistentMemoryAllocator::Reference ref; in GetNextWithIgnore() 273 std::unique_ptr<PersistentMemoryAllocator> memory) in PersistentHistogramAllocator() 358 PersistentMemoryAllocator::Reference ranges_ref = in AllocateHistogram() 375 ranges_ref = PersistentMemoryAllocator::kReferenceNull; in AllocateHistogram() 412 PersistentMemoryAllocator::Reference histogram_ref = in AllocateHistogram() [all …]
|
D | field_trial.h | 661 PersistentMemoryAllocator* allocator); 668 PersistentMemoryAllocator const& allocator); 734 static void AddToAllocatorWhileLocked(PersistentMemoryAllocator* allocator,
|
D | persistent_histogram_storage.cc | 93 .AddExtension(PersistentMemoryAllocator::kFileExtension); in ~PersistentHistogramStorage()
|
D | sample_vector_unittest.cc | 374 std::atomic<PersistentMemoryAllocator::Reference> samples_ref; in TEST_F() 467 std::atomic<PersistentMemoryAllocator::Reference> samples_ref; in TEST_F()
|
D | sparse_histogram.cc | 41 PersistentMemoryAllocator::Reference histogram_ref = 0; in FactoryGet()
|
D | persistent_sample_map_unittest.cc | 26 std::make_unique<PersistentMemoryAllocator>( in DuplicateHistogramAllocator()
|
D | field_trial.cc | 1173 PersistentMemoryAllocator* allocator) { in DumpAllFieldTrialsToPersistentAllocator() 1185 PersistentMemoryAllocator const& allocator) { in GetAllFieldTrialsFromPersistentAllocator() 1411 PersistentMemoryAllocator* allocator, in AddToAllocatorWhileLocked()
|
D | sparse_histogram_unittest.cc | 81 PersistentMemoryAllocator* allocator_ = nullptr;
|
D | histogram_unittest.cc | 106 PersistentMemoryAllocator* allocator_ = nullptr;
|
/external/libchrome/base/debug/ |
D | activity_tracker.h | 188 using Reference = PersistentMemoryAllocator::Reference; 195 ActivityTrackerMemoryAllocator(PersistentMemoryAllocator* allocator, 226 PersistentMemoryAllocator* const allocator_; 234 PersistentMemoryAllocator::Iterator iterator_; 890 std::unique_ptr<PersistentMemoryAllocator> allocator, 951 PersistentMemoryAllocator* allocator() { return allocator_.get(); } in allocator() 1135 PersistentMemoryAllocator* allocator); 1149 ManagedActivityTracker(PersistentMemoryAllocator::Reference mem_reference, 1156 const PersistentMemoryAllocator::Reference mem_reference_; 1170 GlobalActivityTracker(std::unique_ptr<PersistentMemoryAllocator> allocator, [all …]
|
D | activity_tracker.cc | 74 PersistentMemoryAllocator::Reference AllocateFrom( in AllocateFrom() 75 PersistentMemoryAllocator* allocator, in AllocateFrom() 79 PersistentMemoryAllocator::Iterator iter(allocator); in AllocateFrom() 80 PersistentMemoryAllocator::Reference ref; in AllocateFrom() 171 PersistentMemoryAllocator* allocator, in ActivityTrackerMemoryAllocator() 1064 PersistentMemoryAllocator::Reference ref = allocator->GetObjectReference(); in CreateUserDataForActivity() 1138 PersistentMemoryAllocator* allocator) { in CreateFrom() 1241 PersistentMemoryAllocator::Reference mem_reference, in ManagedActivityTracker() 1257 std::unique_ptr<PersistentMemoryAllocator> allocator, in CreateWithAllocator() 1363 PersistentMemoryAllocator::Reference mem_reference; in CreateTrackerForCurrentThread() [all …]
|
D | activity_tracker_unittest.cc | 502 PersistentMemoryAllocator::Reference proc_data_ref = in TEST_F() 507 PersistentMemoryAllocator::Reference tracker_ref = in TEST_F() 512 PersistentMemoryAllocator::Reference user_data_ref = in TEST_F()
|
/external/libchrome/base/ |
D | feature_list.h | 113 void InitializeFromSharedMemory(PersistentMemoryAllocator* allocator); 148 void AddFeaturesToAllocator(PersistentMemoryAllocator* allocator);
|
D | feature_list.cc | 102 PersistentMemoryAllocator* allocator) { in InitializeFromSharedMemory() 105 PersistentMemoryAllocator::Iterator iter(allocator); in InitializeFromSharedMemory() 163 void FeatureList::AddFeaturesToAllocator(PersistentMemoryAllocator* allocator) { in AddFeaturesToAllocator()
|