| 97 | } |
| 98 | |
| 99 | uint64_t RowData::get_annotation_index(uint64_t start_sample) |
| 100 | { |
| 101 | std::lock_guard<std::mutex> lock(_global_visitor_mutex); |
| 102 | uint64_t index = 0; |
| 103 | |
| 104 | for (Annotation *p : _annotations){ |
| 105 | if (p->start_sample() > start_sample) |
| 106 | break; |
| 107 | index++; |
| 108 | } |
| 109 | |
| 110 | return index; |
| 111 | } |
| 112 | |
| 113 | bool RowData::push_annotation(Annotation *a) |
| 114 | { |
nothing calls this directly
no test coverage detected