Created
January 27, 2025 21:03
-
-
Save aerodame/2a5de5a0eb4541f6c7071a92255ade1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class OSTask_RRTest { | |
| final int default_sleep_time = 10; | |
| final long default_join_wait_time = 1000L; | |
| final long default_burst_duration = 1000L; | |
| final Map<String, Long[]> taskData = new HashMap<>(); | |
| { // Use an initializer block to populate the map | |
| taskData.put("Task A", new Long[]{0L, 5000L}); | |
| taskData.put("Task B", new Long[]{0L, 1000L}); | |
| taskData.put("Task C", new Long[]{0L, 3000L}); | |
| taskData.put("Task D", new Long[]{0L, 6000L}); | |
| taskData.put("Task E", new Long[]{0L, 500L}); | |
| } | |
| /* ... your RR test(s) */ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment