Mail Archives: djgpp/1999/11/04/08:00:31
From: | infinity girl <entropic AT mpx DOT com DOT au>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | mcount, and gprof
|
Date: | Thu, 04 Nov 1999 21:26:41 +1100
|
Organization: | Optus Internet
|
Lines: | 25
|
Message-ID: | <38215F61.35BDEC90@mpx.com.au>
|
NNTP-Posting-Host: | dialup-wdc24894.mpx.com.au
|
Mime-Version: | 1.0
|
X-Trace: | news1.mpx.com.au 941714684 11814 198.142.248.94 (4 Nov 1999 11:24:44 GMT)
|
X-Complaints-To: | abuse AT mpx DOT com DOT au
|
NNTP-Posting-Date: | 4 Nov 1999 11:24:44 GMT
|
X-Mailer: | Mozilla 4.5 [en] (Win95; I)
|
X-Accept-Language: | en
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
hey all,
i was profiling a program today, and i would just like to know which
library functions call
"mcount"? my program spends alot of time there. i thort maybe it was
malloc..but not
alot of time is spent in malloc at all.
also, i was wondering if there is any way of making profiled programs
run faster...i am profiling a text compression/decompression program,
and it usually takes 11 seconds to compress a 2MB file, but with
profiling it took over half an hour
i understand there is alot of overhead..some of my functions were called
hundreds of thousands of times {like the function to retrieve one bit
from a buffered bitstream}.
but still..half an hour??
thanks fr any help,
daniel.
:)
- Raw text -