Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1183 → Rev 1182

/demos/trunk/fsf/test2.c
131,6 → 131,10
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;
165,6 → 169,10
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;
242,7 → 250,7
sys_end();
}
 
fsf_bind_thread_to_server(server, j, &ht);
//fsf_bind_thread_to_server(server, j, &ht);
 
}
 
258,8 → 266,8
 
struct timespec period1 = {0,10000000};
struct timespec period2 = {0,10000000};
struct timespec budget1 = {0,4000000};
struct timespec budget2 = {0,4000000};
struct timespec budget1 = {0,4500000};
struct timespec budget2 = {0,4500000};
 
fsf_server_id_t server1, server2;
fsf_contract_parameters_t contract1, contract2;