Mail Archives: djgpp/2003/05/12/15:29:56
Hi all,
I work with DJGPP 2.3 (*.ver files: Djdev203.ver, Bnu213b.ver, Gcc32b.ver) and I want to use gprof, but its exit shows all functions (except __dpmi_int) with 0.00 % execution time.
The FAQ (item 13.3 Gprof produces garbled profile) mentions: "The solution is to upgrade to DJGPP v2.03 where these bugs are solved", but I am running version 2.03.
The FAQ (item 13.4 Why is __dpmi_int so heavily used?) mentions: "Does your program use I/O or other real-mode services (like BIOS) extensively?". My answer is: my program does use disk I/O, but not extensively! I would expect other functions to have execution time different from zero, even in the scenario where __dpmi_int has a high percentual execution time...
The head of gprof's output is showed below:
Flat profile:
Each sample counts as 0.0555556 seconds.
% cumulative self self total
time seconds seconds calls Ts/call Ts/call name
100.00 0.28 0.28 __dpmi_int
0.00 0.28 0.00 7382040 0.00 0.00 crc_inc
0.00 0.28 0.00 13368 0.00 0.00 led_boot_blink
0.00 0.28 0.00 1213 0.00 0.00 led_reserva
0.00 0.28 0.00 667 0.00 0.00 incrementa_instante_atual
0.00 0.28 0.00 104 0.00 0.00 enfilera
Does anyone have an idea about what is going on here?
Thanks in advance,
Andre Chrcanovic
Task Internet - Acesso Banda Larga e Soluções Corporativas em Internet
Acesse www.task.com.br ou ligue (31) 3274-0255
- Raw text -