MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / findEvent

Method findEvent

lib/data/fluxmapreader.cc:54–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool 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
75unsigned FluxmapReader::readInterval(nanoseconds_t clock)
76{

Callers 6

fluxmap.ccFile · 0.80
mainAnalyseDriveResponseFunction · 0.80
mainInspectFunction · 0.80
UpdateScaleMethod · 0.80
OnPaintMethod · 0.80

Calls

no outgoing calls

Tested by 1

mainInspectFunction · 0.64