Home
last modified time | relevance | path

Searched refs:EntryT (Results 1 – 4 of 4) sorted by relevance

/system/extras/simpleperf/
DSampleComparator.h36 template <typename EntryT> \
37 int function_name(const EntryT* sample1, const EntryT* sample2) { \
42 template <typename EntryT> \
43 int function_name(const EntryT* sample1, const EntryT* sample2) { \
48 template <typename EntryT> \
49 int function_name(const EntryT* sample1, const EntryT* sample2) { \
65 template <typename EntryT>
66 int CompareTotalPeriod(const EntryT* sample1, const EntryT* sample2) { in CompareTotalPeriod()
72 template <typename EntryT>
73 int ComparePeriod(const EntryT* sample1, const EntryT* sample2) { in ComparePeriod()
[all …]
Dsample_tree.h55 template <typename EntryT, typename AccumulateInfoT>
58 explicit SampleTreeBuilder(const SampleComparator<EntryT>& comparator) in SampleTreeBuilder()
96 EntryT* sample = CreateSample(r, in_kernel, &acc_info); in ProcessSampleRecord()
123 std::vector<EntryT*> callchain; in ProcessSampleRecord()
147 EntryT* callchain_sample = in ProcessSampleRecord()
157 std::set<EntryT*> added_set; in ProcessSampleRecord()
161 EntryT* parent = nullptr; in ProcessSampleRecord()
163 EntryT* sample = callchain[0]; in ProcessSampleRecord()
178 std::vector<EntryT*> GetSamples() const { in GetSamples()
179 std::vector<EntryT*> result; in GetSamples()
[all …]
DSampleDisplayer.h30 template <typename EntryT, typename InfoT>
31 std::string DisplayAccumulatedOverhead(const EntryT* sample, in DisplayAccumulatedOverhead()
39 template <typename EntryT>
40 std::string DisplayAccumulatedPeriod(const EntryT* sample) { in DisplayAccumulatedPeriod()
44 template <typename EntryT, typename InfoT>
45 std::string DisplaySelfOverhead(const EntryT* sample, const InfoT* info) { in DisplaySelfOverhead()
53 template <typename EntryT> \
54 std::string function_name(const EntryT* sample) { \
59 template <typename EntryT> \
60 std::string function_name(const EntryT* sample) { \
[all …]
Dcallchain.h30 template <typename EntryT>
34 std::vector<EntryT*> chain;
38 template <typename EntryT>
40 typedef CallChainNode<EntryT> NodeT;
50 const std::vector<EntryT*>& callchain, uint64_t period, in AddCallChain()
51 std::function<bool(const EntryT*, const EntryT*)> is_same_sample) { in AddCallChain()
107 const std::vector<std::unique_ptr<NodeT>>& nodes, const EntryT* sample, in FindMatchingNode()
108 std::function<bool(const EntryT*, const EntryT*)> is_same_sample) { in FindMatchingNode()
118 NodeT* node, const std::vector<EntryT*>& chain, size_t chain_start, in GetMatchingLengthInNode()
119 std::function<bool(const EntryT*, const EntryT*)> is_same_sample) { in GetMatchingLengthInNode()
[all …]