Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1182 → Rev 1183

/demos/trunk/fsf/test2.c
131,10 → 131,6
for(i = 0; i < 10000*(task_qos+var_load); i++);
kern_gettime(&next_time);
ADDUSEC2TIMESPEC(TEST_PERIOD, &next_time);
fsf_schedule_next_timed_job(&next_time, NULL, NULL, &was_deadline_missed, &was_budget_overran);
 
}
 
return NULL;
169,10 → 165,6
for(i = 0; i < 10000*task_qos; i++);
kern_gettime(&next_time);
ADDUSEC2TIMESPEC(TEST_PERIOD, &next_time);
fsf_schedule_next_timed_job(&next_time, NULL, NULL, &was_deadline_missed, &was_budget_overran);
 
}
 
return NULL;
250,7 → 242,7
sys_end();
}
 
//fsf_bind_thread_to_server(server, j, &ht);
fsf_bind_thread_to_server(server, j, &ht);
 
}
 
266,8 → 258,8
 
struct timespec period1 = {0,10000000};
struct timespec period2 = {0,10000000};
struct timespec budget1 = {0,4500000};
struct timespec budget2 = {0,4500000};
struct timespec budget1 = {0,4000000};
struct timespec budget2 = {0,4000000};
 
fsf_server_id_t server1, server2;
fsf_contract_parameters_t contract1, contract2;