MCPcopy Create free account
hub / github.com/apache/brpc / process

Method process

src/brpc/span.cpp:528–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526class SpanPreprocessor : public bvar::CollectorPreprocessor {
527public:
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};
534static SpanPreprocessor* g_span_prep = NULL;
535

Callers 1

grab_threadMethod · 0.80

Calls 3

SpanEarlierClass · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected