| 89 | } |
| 90 | |
| 91 | void FluxmapReader::seek(nanoseconds_t ns) |
| 92 | { |
| 93 | unsigned ticks = ns / NS_PER_TICK; |
| 94 | if (ticks < _pos.ticks) |
| 95 | { |
| 96 | _pos.ticks = 0; |
| 97 | _pos.bytes = 0; |
| 98 | } |
| 99 | |
| 100 | while (!eof() && (_pos.ticks < ticks)) |
| 101 | { |
| 102 | int e; |
| 103 | unsigned t; |
| 104 | getNextEvent(e, t); |
| 105 | } |
| 106 | _pos.zeroes = 0; |
| 107 | } |
| 108 | |
| 109 | void FluxmapReader::seekToByte(unsigned b) |
| 110 | { |
no outgoing calls