Searched refs:sample2 (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | SampleComparator.h | 39 int function_name(const EntryT* sample1, const EntryT* sample2) { \ 40 return Compare(sample1->compare_part, sample2->compare_part); \ 45 int function_name(const EntryT* sample1, const EntryT* sample2) { \ 46 return Compare(sample2->compare_part, sample1->compare_part); \ 51 int function_name(const EntryT* sample1, const EntryT* sample2) { \ 52 return strcmp(sample1->compare_part, sample2->compare_part); \ 66 int CompareTotalPeriod(const EntryT* sample1, const EntryT* sample2) { in CompareTotalPeriod() argument 68 uint64_t period2 = sample2->period + sample2->accumulated_period; in CompareTotalPeriod() 73 int ComparePeriod(const EntryT* sample1, const EntryT* sample2) { in ComparePeriod() argument 74 return Compare(sample2->period, sample1->period); in ComparePeriod() [all …]
|
D | cmd_kmem.cpp | 76 static int CompareFragment(const SlabSample* sample1, const SlabSample* sample2) { in CompareFragment() argument 78 uint64_t frag2 = sample2->bytes_alloc - sample2->bytes_req; in CompareFragment() 230 void MergeSample(SlabSample* sample1, SlabSample* sample2) override { in MergeSample() argument 231 sample1->bytes_req += sample2->bytes_req; in MergeSample() 232 sample1->bytes_alloc += sample2->bytes_alloc; in MergeSample() 233 sample1->sample_count += sample2->sample_count; in MergeSample()
|
D | sample_tree_test.cpp | 83 void MergeSample(SampleEntry* sample1, SampleEntry* sample2) override { in MergeSample() argument 84 sample1->sample_count += sample2->sample_count; in MergeSample()
|
D | cmd_report.cpp | 246 void MergeSample(SampleEntry* sample1, SampleEntry* sample2) override { in MergeSample() argument 247 sample1->period += sample2->period; in MergeSample() 248 sample1->accumulated_period += sample2->accumulated_period; in MergeSample() 249 sample1->sample_count += sample2->sample_count; in MergeSample()
|
D | sample_tree.h | 197 virtual void MergeSample(EntryT* sample1, EntryT* sample2) = 0;
|