Home
last modified time | relevance | path

Searched refs:sample2 (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
DSampleComparator.h39 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 …]
Dcmd_kmem.cpp76 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()
Dsample_tree_test.cpp83 void MergeSample(SampleEntry* sample1, SampleEntry* sample2) override { in MergeSample() argument
84 sample1->sample_count += sample2->sample_count; in MergeSample()
Dcmd_report.cpp246 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()
Dsample_tree.h197 virtual void MergeSample(EntryT* sample1, EntryT* sample2) = 0;