MCPcopy Create free account
hub / github.com/badvision/jace / useParentTiming

Method useParentTiming

src/main/java/jace/core/TimedDevice.java:176–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174 }
175
176 private boolean useParentTiming() {
177 if (getParent() != null && getParent() instanceof TimedDevice) {
178 TimedDevice pd = (TimedDevice) getParent();
179 if (pd.useParentTiming() || (!pd.isMaxSpeed() && pd.getSpeedInHz() <= getSpeedInHz())) {
180 return true;
181 }
182 }
183 return false;
184 }
185
186 protected Long calculateResyncDelay() {
187 if (++cycleTimer < cyclesPerInterval) {

Callers 1

calculateResyncDelayMethod · 0.95

Calls 3

isMaxSpeedMethod · 0.95
getSpeedInHzMethod · 0.95
getParentMethod · 0.45

Tested by

no test coverage detected