From: George Lugovoy Newsgroups: comp.os.msdos.djgpp Subject: gprof needs help Date: Mon, 11 Jan 1999 07:29:43 +0000 Organization: University Internet Class Lines: 31 Message-ID: <3699A867.41C67EA6@uic.rnd.runnet.ru> NNTP-Posting-Host: rain.uic.rnd.runnet.ru Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: oberon.rnd.runnet.ru 916039781 250 195.208.252.36 (11 Jan 1999 07:29:41 GMT) X-Complaints-To: usenet AT oberon DOT rnd DOT runnet DOT ru NNTP-Posting-Date: 11 Jan 1999 07:29:41 GMT X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 3.0-CURRENT i386) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com [gprof output file] Flat profile: Each sample counts as 0.055556 seconds. % cumulative self self total time seconds seconds calls Ts/call Ts/call name 100.00 0.28 0.28 __get_current_directory 0.00 0.28 0.00 27113 0.00 0.00 ForceExt 0.00 0.28 0.00 15148 0.00 0.00 FL_Open 0.00 0.28 0.00 14039 0.00 0.00 Long2Str ... [skiped] I want to remove from this list '__get_current_directory', because it takes too much time and I can't figure out how much time takes other functions. I read manual for gprof, and I tried the next command line: gprof -E __get_current_directory myprg.exe gmon.sum >out.txt I also tried: gprof -E__get_current_directory myprg.exe gmon.sum >out.txt and even: gprof -e__get_current_directory myprg.exe gmon.sum >out.txt gprof -e __get_current_directory myprg.exe gmon.sum >out.txt it does not help. That function is still there. What I need to do to remove that function from that list ? - George