| 959 | } |
| 960 | |
| 961 | static void CheckAscending(const vector<int64_t>& v) { |
| 962 | if (v.empty()) return; |
| 963 | int64_t prev = v[0]; |
| 964 | for (int i = 1; i < v.size(); ++i) { |
| 965 | EXPECT_LE(prev, v[i]); |
| 966 | prev = v[i]; |
| 967 | } |
| 968 | } |
| 969 | |
| 970 | // Helper for the AggregateEventSequences that verifies the encoded event sequence |
| 971 | // in the thrift representation when it was merged into the profile at instance offset |
no test coverage detected