| 526 | class SpanPreprocessor : public bvar::CollectorPreprocessor { |
| 527 | public: |
| 528 | void process(std::vector<bvar::Collected*> & list) { |
| 529 | // Sort spans by their starting time so that the code on making |
| 530 | // time monotonic in Span::Index works better. |
| 531 | std::sort(list.begin(), list.end(), SpanEarlier()); |
| 532 | } |
| 533 | }; |
| 534 | static SpanPreprocessor* g_span_prep = NULL; |
| 535 |
no test coverage detected