version 1.83, 2013/03/21 14:13:55
|
version 1.85, 2013/04/01 15:29:33
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.13 |
RPL/2 (R) version 4.1.14 |
Copyright (C) 1989-2013 Dr. BERTRAND Joël |
Copyright (C) 1989-2013 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
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) |