On Thu, 18 May 2006, Berndt, Jon S wrote:


Can anyone tell me what the name of the routines is that allows one to
determine the performance details of a Linux application?

Depending on the application it might work to compile it with profiling enabled using the gcc flag -pg:

  -pg Generate extra code to write profile information suitable for the
      analysis program gprof.  You must use this option when compiling
      the source files you want data about, and you must also use it when
      linking.

IIRC there might be problems if the program is multithreaded or uses complex shared libraries(?). When it works the information is often very useful.

/Anders
--
"Luck is my middle name," said Rincewind, indistinctly. "Mind you,
 my first name is Bad."
-- (Terry Pratchett, Interesting Times) ---------------------------------------------------------------------
| Anders Gidenstam               | Tel: 031-230645     070-296 1707 |
| Email: anders(at)gidenstam.org | WWW: http://www.gidenstam.org    |
---------------------------------------------------------------------
(Note to Outlook users: Click forward/vidarebefodra to make any
 attachments visible.)


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to