Changeset 200 in tmcsimulator for trunk/src/tmcsim
- Timestamp:
- 10/30/2017 05:11:09 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/tmcsim/cadsimulator/Coordinator.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/Coordinator.java
r152 r200 189 189 * the ATMS server. Does something happen every 30 seconds over there? 190 190 * Was it trying to make the Paramics time the same? 191 * Neil says they had performance problems because the CPU that Paramics 192 * ran on was so slow that it struggled to pump out the network data 193 * within the 30 sec interval that ATMS uses for each refresh. 194 * So perhaps this was an attempt to have Paramics synced with the 195 * ATMS refreshes; but perhaps they discovered as I did that 196 * ATMS doesn't refresh exactly at the top of each minute, but at 197 * some arbitrary time that depends on when the server was booted. 191 198 */ 192 199 long sleepTime = ((60 * 1000) - (currentATMSTime % (60 * 1000))) % (30 * 1000);
Note: See TracChangeset
for help on using the changeset viewer.
