Viktor:
>> Unrecoverable error 9009: hb_xrealloc can't reallocate memory
>> Called from AADD(0)
>> Called from MAIN(6) in pcode.hrb
>> Called from
>> HB_HRBRUN(0)
>>
>> Called from _APPMAIN(114) in ../../hbrun.prg
>Do I see well, that in OS/2 a stack trace looks
>always misaligned as above?
>This, and also plain usage of \r in Windows, should
>IMO be fixed. Dunno what's the best way to make these
>EOLs fully portable though.
[Maurilio]
>not always, I mean, if I press Alt-C stack trace is ok.
>If I call hbrun speedtst.prg, output is misaligned.
In stack trace happen as Viktor said
In speedtst.prg is due to:
------------------
#ifndef EOL
#define EOL chr(10)
#endif
#command ? => outstd(EOL)
#command ? <xx,...> => outstd(<xx>, EOL)
------------------
Speedtst.prg produce this kind of output:
------------------------------
f2(c[40000]); c2:=c ->
0.41
f2(@c[40000]); c2:=c ->
0.39
f3(a,a2,c,i,j,t,bc) -> 0.74
f2(a2) ->
0.31
s:=f4() ->
1.84
s:=f5() ->
1.04
ascan(a,i%ARR_LEN) -> 0.93
ascan(a2,c+chr
(i%64+64)) -> 3.02
ascan(a,{|x|x==i%ARR_LEN}) ->
7.67
========================================================
====
total application time: 57.53
total
real time:
57.53
------------------------------
David Macias
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour