Searched refs:CounterSum (Results 1 – 3 of 3) sorted by relevance
36 struct CounterSum { struct53 CounterSum operator+(const CounterSum& other) const { argument54 CounterSum res; argument61 CounterSum operator-(const CounterSum& other) const {62 CounterSum res; argument215 std::unordered_map<uint64_t, CounterSum> sum_map; in AddCountersForOneEventType()224 CounterSum& sum = sum_map[key]; in AddCountersForOneEventType()225 CounterSum add; in AddCountersForOneEventType()233 const CounterSum& sum = pair.second; in AddCountersForOneEventType()248 void AddSummary(const CountersInfo& info, pid_t tid, int cpu, const CounterSum& sum) { in AddSummary()
448 std::vector<std::vector<CounterSum>> last_sum_values_;788 std::vector<CounterSum>& last_sum = last_sum_values_[i]; in AdjustToIntervalOnlyValues()795 CounterSum new_sum; in AdjustToIntervalOnlyValues()797 CounterSum delta = new_sum - last_sum[j]; in AdjustToIntervalOnlyValues()
357 CounterSum a; in TEST()362 CounterSum b = a + a; in TEST()366 CounterSum c = a - a; in TEST()