#49 configure.ac for profiling and clock_gettime

open
nobody
None
5
2011-02-14
2011-02-14
megurikuru
No

In attachment you can find a patch for configure.ac.
It's needed to compile while using clock_gettime function.
Notice the commented line useful while profiling.
It's better to have this in some place, this is not the right place,
but i didn't know how to append this when compiling
with --enable-profile.
And please, if possible, create another configuration
for advanced profiling. One with gcc integrated code instrumentation
(-pg), as it's right now with --enable-profile, and another with
the commented line, call this --enable-advanced-profile for example,
useful when profiling using valgrind for example.

Discussion

  • megurikuru
    megurikuru
    2011-02-14

     
    Attachments