If you use the same .gcda files with -fprofile-use, then you do get cache hits. However, running even a simple program with no loops or branches twice in a row generates different .gcda files, which then results in cache misses. So I'm not sure how useful the -fprofile-use side of things is in general.
On Tue, Aug 2, 2011 at 11:17 AM, Justin Lebar <justin.le...@gmail.com> wrote: > Catlee, > > Have you done any experiments to determine whether this actually gets > cache hits with -fprofile-use? That is, do you ever get identical > .gcda files? They could have a timestamp or something inside... > > -Justin > > On Mon, Aug 1, 2011 at 9:52 PM, Chris AtLee <ch...@atlee.ca> wrote: >> Thanks again for all your feedback. >> >> My latest code on github should address all the comments so far: >> https://github.com/catlee/ccache/compare/jrosdahl:master...catlee:profile >> >> Keep the feedback coming! >> >> Cheers, >> Chris >> > _______________________________________________ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache