| 230 | } |
| 231 | |
| 232 | static bool PrintAnnotationsAndRealTimeSpan( |
| 233 | std::ostream& os, int64_t cur_time, int64_t* last_time, |
| 234 | SpanInfoExtractor** extr, int num_extr, const RpczSpan* span) { |
| 235 | if (cur_time == 0) { |
| 236 | // the field was not set. |
| 237 | return false; |
| 238 | } |
| 239 | PrintAnnotations(os, cur_time, last_time, extr, num_extr, span); |
| 240 | PrintRealTime(os, cur_time); |
| 241 | PrintElapse(os, cur_time, last_time); |
| 242 | return true; |
| 243 | } |
| 244 | |
| 245 | inline int64_t GetStartRealTime(const RpczSpan& span) { |
| 246 | return span.type() == SPAN_TYPE_SERVER ? |
no test coverage detected