| 514 | |
| 515 | struct SpanEarlier { |
| 516 | bool operator()(const bvar::Collected* c1, const bvar::Collected* c2) const { |
| 517 | const SpanContainer* container1 = static_cast<const SpanContainer*>(c1); |
| 518 | const SpanContainer* container2 = static_cast<const SpanContainer*>(c2); |
| 519 | |
| 520 | const int64_t time1 = container1->span()->GetStartRealTimeUs(); |
| 521 | const int64_t time2 = container2->span()->GetStartRealTimeUs(); |
| 522 | |
| 523 | return time1 < time2; |
| 524 | } |
| 525 | }; |
| 526 | class SpanPreprocessor : public bvar::CollectorPreprocessor { |
| 527 | public: |
nothing calls this directly
no test coverage detected