public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* eevdf
@ 2007-10-16 17:23 Rogelio M. Serrano Jr.
  0 siblings, 0 replies; 2+ messages in thread
From: Rogelio M. Serrano Jr. @ 2007-10-16 17:23 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]


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.


[-- Attachment #2: rogelio.vcf --]
[-- Type: text/x-vcard, Size: 333 bytes --]

begin:vcard
fn:Rogelio M. Serrano Jr
n:M. Serrano Jr;Rogelio
org:SMSG Communications Philippines;Technical Department
adr:;;;;;;Republic of the Philippines
email;internet:rogelio@smsglobal.net
title:Programmer
tel;work:+6327534145
tel;home:+6329527026
tel;cell:+639209202267
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 2+ messages in thread
* eevdf
@ 2007-10-16 17:15 Rogelio M. Serrano Jr.
  0 siblings, 0 replies; 2+ messages in thread
From: Rogelio M. Serrano Jr. @ 2007-10-16 17:15 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 394 bytes --]


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.

[-- Attachment #1.2: rogelio.vcf --]
[-- Type: text/x-vcard, Size: 333 bytes --]

begin:vcard
fn:Rogelio M. Serrano Jr
n:M. Serrano Jr;Rogelio
org:SMSG Communications Philippines;Technical Department
adr:;;;;;;Republic of the Philippines
email;internet:rogelio@smsglobal.net
title:Programmer
tel;work:+6327534145
tel;home:+6329527026
tel;cell:+639209202267
x-mozilla-html:FALSE
version:2.1
end:vcard


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-16 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-16 17:23 eevdf Rogelio M. Serrano Jr.
  -- strict thread matches above, loose matches on Subject: below --
2007-10-16 17:15 eevdf Rogelio M. Serrano Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox