Searched refs:sample1 (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | SampleComparator.h | 37 int function_name(const EntryT* sample1, const EntryT* sample2) { \ 38 return Compare(sample1->compare_part, sample2->compare_part); \ 43 int function_name(const EntryT* sample1, const EntryT* sample2) { \ 44 return Compare(sample2->compare_part, sample1->compare_part); \ 49 int function_name(const EntryT* sample1, const EntryT* sample2) { \ 50 return strcmp(sample1->compare_part, sample2->compare_part); \ 65 int CompareTotalPeriod(const EntryT* sample1, const EntryT* sample2) { in CompareTotalPeriod() argument 66 uint64_t period1 = sample1->period + sample1->accumulated_period; in CompareTotalPeriod() 88 bool operator()(const EntryT* sample1, const EntryT* sample2) const { in operator() 90 int ret = func(sample1, sample2); in operator() [all …]
|
D | cmd_kmem.cpp | 80 static int CompareFragment(const SlabSample* sample1, in CompareFragment() argument 82 uint64_t frag1 = sample1->bytes_alloc - sample1->bytes_req; in CompareFragment() 243 void MergeSample(SlabSample* sample1, SlabSample* sample2) override { in MergeSample() argument 244 sample1->bytes_req += sample2->bytes_req; in MergeSample() 245 sample1->bytes_alloc += sample2->bytes_alloc; in MergeSample() 246 sample1->sample_count += sample2->sample_count; in MergeSample()
|
D | sample_tree_test.cpp | 88 void MergeSample(SampleEntry* sample1, SampleEntry* sample2) override { in MergeSample() argument 89 sample1->sample_count += sample2->sample_count; in MergeSample()
|
D | cmd_report.cpp | 227 void MergeSample(SampleEntry* sample1, SampleEntry* sample2) override { in MergeSample() argument 228 sample1->period += sample2->period; in MergeSample() 229 sample1->accumulated_period += sample2->accumulated_period; in MergeSample() 230 sample1->sample_count += sample2->sample_count; in MergeSample()
|
D | sample_tree.h | 197 virtual void MergeSample(EntryT* sample1, EntryT* sample2) = 0;
|