| 1161 | } |
| 1162 | |
| 1163 | uint64_t View::get_cursor_samples(int index) |
| 1164 | { |
| 1165 | auto &lst = get_cursorList(); |
| 1166 | assert(index < (int)lst.size()); |
| 1167 | |
| 1168 | uint64_t ret = 0; |
| 1169 | int curIndex = 0; |
| 1170 | for (list<Cursor*>::iterator i = lst.begin(); |
| 1171 | i != lst.end(); i++) { |
| 1172 | if (index == curIndex) { |
| 1173 | ret = (*i)->index(); |
| 1174 | } |
| 1175 | curIndex++; |
| 1176 | } |
| 1177 | return ret; |
| 1178 | } |
| 1179 | |
| 1180 | void View::set_measure_en(int enable) |
| 1181 | { |
no test coverage detected