()
| 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) { |
no test coverage detected