2007-10-16 17:38:40

by Rogelio M. Serrano Jr.

[permalink] [raw]
Subject: eevdf


i wrote a simple simulator for eevdf. im not sure if i got it right though.

how does eevdf track the runtime usage of a process?

is it supposed to be like this?

int
tick()
{
v_time += 1.0/sum_weights;
current->runtime += 1.0/current->weight;
//sched();
time++;
return 0;
}

i can forward the source to anyone who is willing to take a look.

Thanks.


Attachments:
rogelio.vcf (333.00 B)
signature.asc (252.00 B)
OpenPGP digital signature
Download all attachments