| 83 | } |
| 84 | |
| 85 | void RowData::get_annotation_subset(std::vector<pv::data::decode::Annotation*> &dest, |
| 86 | uint64_t start_sample, uint64_t end_sample) |
| 87 | { |
| 88 | std::lock_guard<std::mutex> lock(_global_visitor_mutex); |
| 89 | |
| 90 | for (Annotation *p : _annotations) |
| 91 | { |
| 92 | if (p->end_sample() > start_sample && p->start_sample() <= end_sample) |
| 93 | { |
| 94 | dest.push_back(p); |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | uint64_t RowData::get_annotation_index(uint64_t start_sample) |
| 100 | { |
nothing calls this directly
no test coverage detected