Skip to content

Instantly share code, notes, and snippets.

@aerodame
Last active January 28, 2025 01:24
Show Gist options
  • Save aerodame/b3df3e63f1d5a4bd85be7c5897d9c393 to your computer and use it in GitHub Desktop.
Save aerodame/b3df3e63f1d5a4bd85be7c5897d9c393 to your computer and use it in GitHub Desktop.
public class OSTask_MFQSTest {
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 MFQS test(s) */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment