MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / list_annotation_size

Method list_annotation_size

DSView/pv/data/decoderstack.cpp:309–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309uint64_t DecoderStack::list_annotation_size()
310{
311 std::lock_guard<std::mutex> lock(_output_mutex);
312 uint64_t max_annotation_size = 0;
313
314 for (auto it = _rows.begin(); it != _rows.end(); it++) {
315 auto iter = _rows_lshow.find((*it).first);
316 if (iter != _rows_lshow.end() && (*iter).second){
317 max_annotation_size = max(max_annotation_size,
318 (*it).second->get_annotation_size());
319 }
320 }
321
322 return max_annotation_size;
323}
324
325uint64_t DecoderStack::list_annotation_size(uint16_t row_index)
326{

Callers 2

rowCountMethod · 0.80
search_updateMethod · 0.80

Calls 2

get_annotation_sizeMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected