-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processor #7
Conversation
Fixed Conflicts: SpiNNaker-machine/pom.xml SpiNNaker-utils/src/main/java/uk/ac/manchester/spinnaker/utils/package-info.java
+ " cannot be less than or equal to zero"); | ||
} | ||
return new Processor(processorId, MachineDefaults.CLOCK_SPEED, | ||
MachineDefaults.DTCM_AVAILABLE, isMonitor); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two lines above are wrong. They don't use the clockSpeed
or dtcmAvailable
argument.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hides head in shame.
*/ | ||
public static final Processor factory(int processorId, boolean isMonitor) { | ||
if (isMonitor) { | ||
if (NON_MONITOR[processorId] == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finding monitor processors in a non-monitor array?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good thing head already hidden.
Adds a Processor