// Do not modify this function unless you know // very well what you are doing void TaskSetParam::makeTaskSetParam() { task_set_param_f = fopen(task_set_param_f_n,"w+"); // DO NOT CHANGE THE ORDER OF THE FOLLOWING BLOCK // START setParam(test_duration, test_duration_pos); setParam(target_utilization, target_utilization_pos); setParam(utilization_u_r, utilization_u_r_pos); setParam(utilization_l_r, utilization_l_r_pos); setParam(period_u_r, period_u_r_pos); setParam(period_l_r, period_l_r_pos); // END fclose(task_set_param_f); addEndMark(); }
// Do not modify this function unless you know // very well what you are doing void SchedTestParam::makeSchedTestParam() { // This schedtestfile is kept for reference, as the previous // one is consumed (deleted) by the schedulability tests. setOutputName("schedtestfile.stf"); schedTestPramFile = fopen(name,"w+"); if (schedTestPramFile==NULL){ perror("could not open schedtestparam file"); exit(EXIT_FAILURE); } writeSchedTestParams(); fclose(schedTestPramFile); addEndMark(); generateOutputName(); schedTestPramFile = fopen(name,"w+"); if (schedTestPramFile==NULL){ perror("could not open schedtestparam file"); exit(EXIT_FAILURE); } writeSchedTestParams(); fclose(schedTestPramFile); addEndMark(); }
// Do not modify this function unless you know // very well what you are doing void LaunchTestParam::makeLaunchTestParam() { testParamF = fopen(testParamFN,"w+"); // DO NOT CHANGE THE ORDER OF THE FOLLOWING BLOCK // START // setParam(mhzCpuClock, cpuClockPos); // setCacheTopParam(cacheTopPos); // setParam(cxs, cxsPos); // setParam(sched, schedPos); // setParam(sched2, sched2Pos); // setParam(release, releasePos); // setParam(send_resched, send_reschedPos); // setParam(release_latency, release_latencyPos); // setParam(tick, tickPos); addAllTasks(); // END fclose(testParamF); addEndMark(); }