| 52 | } |
| 53 | |
| 54 | bool FluxmapReader::findEvent(int event, unsigned& ticks) |
| 55 | { |
| 56 | ticks = 0; |
| 57 | |
| 58 | while (!eof()) |
| 59 | { |
| 60 | unsigned thisTicks; |
| 61 | int thisEvent; |
| 62 | getNextEvent(thisEvent, thisTicks); |
| 63 | ticks += thisTicks; |
| 64 | |
| 65 | if (thisEvent == F_EOF) |
| 66 | return false; |
| 67 | |
| 68 | if ((event == thisEvent) || (event & thisEvent)) |
| 69 | return true; |
| 70 | } |
| 71 | |
| 72 | return false; |
| 73 | } |
| 74 | |
| 75 | unsigned FluxmapReader::readInterval(nanoseconds_t clock) |
| 76 | { |
no outgoing calls