Creating profiled libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
I was wondering if anyone has any experience in creating profiled libraries?

 
My initial thoughts are to compile the library with -fprofile-generate and
then linking the library against a program that does the most common cases
and then re-compiling the library with -profile-use using the profile data
generated from the program runs.
 
Is the theory okay or am I missing something fundemental?
 
Regards
 
Kemal
 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux