QuotaProportionnel : Reel Virtuel Lecture Public Trace;
Avant le déclenchement de l'appel, la valeur sert à renseigner une statistique dont se sert Up ! System. Si la tâche courante consomme trop de ressources Cpu selon cette proportion, alors Up ! System réalise une commutation de tâche pour donner la main à une autre tâche.
/***************************************************************/
Procedure AfficherQuotas2(H : Nul Ou QuotaUnitaire, M : Caractere)
/* Objet : Affiche les quotas. */
/***************************************************************/
Variable
/******/
M2 : Caractere;
Debut
Si Q.Nom != Nul Alors
M2=Q+"."+Q.Nom+":";
Sinon
M2=M+":";
Fin Si
M2+=" "+Caractere(Q.QuotaMaximal)+" "+Caractere(Q.QuotaProportionnel);
Ecran.Ecrire(M2+"\n");
Fin Procedure
- | - | - | - | - | - | - | - | - |