FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 01-18-2009, 09:22 PM
Micha Feigin
Default profilling help

I am playing with some optimization options for c++. I just change all loops in
the program to float and added some extra tests on the loop limits to reduce
the work and while the Intel compiler drops the runtime to a third (with full
optimization) gcc actually gets me triple the runtime for some reason.

I tried compiling with profiling turned on (-pg and gprof) and again, intel's
compiler gives me runtime and call count information for all functions but gcc
only gets me the (wrong) runtime for main and nothing else.

How do I profile this program to figure out where the compiler is going wrong?

This is with gcc 4.3 from unstable.


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 09:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org