version 1.83, 2013/03/21 14:13:55
|
version 1.84, 2013/03/21 14:39:09
|
Line 1234 analyse(struct_processus *s_etat_process
|
Line 1234 analyse(struct_processus *s_etat_process
|
(*s_etat_processus).pourcentage_maximal_cpu) |
(*s_etat_processus).pourcentage_maximal_cpu) |
- (pourcentage * temps_cpu / 100); |
- (pourcentage * temps_cpu / 100); |
|
|
temporisation.tv_sec = (__time_t) floor(attente); |
temporisation.tv_sec = (time_t) floor(attente); |
temporisation.tv_nsec = (__suseconds_t) ((attente |
temporisation.tv_nsec = (suseconds_t) ((attente |
- ((real8) temporisation.tv_sec)) * 1E9); |
- ((real8) temporisation.tv_sec)) * 1E9); |
|
|
while(nanosleep(&temporisation, &temporisation) == -1) |
while(nanosleep(&temporisation, &temporisation) == -1) |