Added cmake profiling support
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Tue, 13 May 2014 13:46:53 +0000 (15:46 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 15 May 2014 13:47:53 +0000 (15:47 +0200)
commit602d7179a9b758050448673b256c53c721435928
tree82d0f90591e5d359538970f8baa0fc0c3eac0cf8
parent604cd696c0fe387f44745c6aa7152f36b9c6406c
Added cmake profiling support

Support for using gprof with gromacs executables is added to
allow basic profiling using
gmx command [options]
gprof gmx

Removed explicit -fomit-frame-pointer, since this has been default
behaviour in gcc at most optimization levels since at least version
4.4. This lets "-O3 -pg" in the Profile build-type CFLAGS fight it out
themselves.

Change-Id: I99710f9cdd406f866d663a9610e0e9cccb87c07c
CMakeLists.txt
cmake/gmxBuildTypeProfile.cmake [new file with mode: 0644]
cmake/gmxCFlags.cmake