| 617 | } |
| 618 | |
| 619 | bool SameCounterNames(const benchmark::UserCounters& lhs, |
| 620 | const benchmark::UserCounters& rhs) { |
| 621 | if (lhs.size() != rhs.size()) { |
| 622 | return false; |
| 623 | } |
| 624 | auto lhs_it = lhs.begin(); |
| 625 | auto rhs_it = rhs.begin(); |
| 626 | while (lhs_it != lhs.end() && rhs_it != rhs.end()) { |
| 627 | if (lhs_it->first != rhs_it->first) { |
| 628 | return false; |
| 629 | } |
| 630 | ++lhs_it; |
| 631 | ++rhs_it; |
| 632 | } |
| 633 | return true; |
| 634 | } |
| 635 | |
| 636 | class ThroughputConsoleReporter : public benchmark::ConsoleReporter { |
| 637 | public: |
no test coverage detected