Annotation of parser3/tests/208.html, revision 1.2
1.1 misha 1: @main[]
1.2 ! misha 2: ^memory:compact[]
! 3:
1.1 misha 4: $r0[$status:rusage]
5: $m0[$status:memory]
6:
7: ^do[]
8: ^do[]
9: ^sleep(1)
10:
11: $r1[$status:rusage]
12: $m1[$status:memory]
13:
14: ^memory:compact[]
15:
16: $r2[$status:rusage]
17: $m2[$status:memory]
18:
19: Status:<br />
20: time diff: ^if($r1.tv_sec*1000+$r1.tv_usec/1000-$r0.tv_sec*1000-$r0.tv_usec/1000 >= 1000){OK}{???}<br />
1.2 ! misha 21: #maxrss diff: ^if($r2.maxrss-$r0.maxrss){OK}{???}<br />
1.1 misha 22: ^$r1.stime: ^if($r1.stime){OK}{???}<br />
23: ^$r1.utime: ^if($r1.utime){OK}{???}<br />
24: ^$r1.utime >= ^$r1.stime ? ^if($r1.utime >= $r1.stime){Y (OK)}{N (???)}<br />
25:
26: <br />
27: Memory:<br />
28: ^$m1.used > ^$m0.used ? ^if($m1.used > $m0.used){Y (OK)}{N (???)}<br />
29: ^$m1.used > ^$m2.used ? ^if($m1.used > $m2.used){Y (OK)}{N (???)}<br />
30: ^$m2.used >= ^$m0.used ? ^if($m2.used >= $m0.used){Y (OK)}{N (???)}<br />
31: <br />
32:
33: ^$m1.ever_allocated_since_start >= ^$m0.ever_allocated_since_start ? ^if($m1.ever_allocated_since_start >= $m0.ever_allocated_since_start){Y (OK)}{N (???)}<br />
34: ^$m2.ever_allocated_since_start >= ^$m1.ever_allocated_since_start ? ^if($m2.ever_allocated_since_start >= $m1.ever_allocated_since_start){Y (OK)}{N (???)}<br />
35: <br />
36:
37: ^$m1.ever_allocated_since_compact >= ^$m0.ever_allocated_since_compact ? ^if($m1.ever_allocated_since_compact >= $m0.ever_allocated_since_compact){Y (OK)}{N (???)}<br />
1.2 ! misha 38: ^$m2.ever_allocated_since_compact >= ^$m0.ever_allocated_since_compact ? ^if($m2.ever_allocated_since_compact >= $m0.ever_allocated_since_compact){Y (OK)}{N (???)}<br />
1.1 misha 39:
40:
41: @do[][i;var]
42: $var[^for[i](1;5000){^i.format[%4d]}]
E-mail: