-static int monitor_DVFS(int argc, char **argv);
-static int monitor_DVFS(int argc, char **argv)
-{
- while (1) {
- MSG_process_sleep(5);
- }
-
- return 0;
-}
-
-static void onPlatformCreated()
-{
- sg_host_t* host_list = sg_host_list();
- int host_count = sg_host_count();
- for (int i = 0; i < host_count; i++) {
- MSG_process_create("dvfs", &monitor_DVFS, NULL, host_list[i]);
- XBT_INFO("Created new MSG processes!");
- }
-}
-