Hello,
Can anyone with a working inferno jit, please run this program with and without the jit and post the output?
include "sys.m";
sys: Sys;
include "daytime.m";
include "draw.m";
Progtest: module
{
init: fn(nil: ref Draw->Context, args: list of string);
};
init(nil: ref Draw->Context, args: list of string)
{
sys = load Sys Sys->PATH;
daytime := load Daytime Daytime->PATH;
# i := 0;
j := 0;
sys->print("Testing the prog scheduler\n");
sys->print(" start %s\n", daytime->time());
for(i := 0; i<1000*1000*1000; i++){
;
}
sys->print("j %d i %d\n", j, i);
sys->print(" end %s\n", daytime->time());
}
Thanks and Sorry for the bother