This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Time profiler - phase 1
- From: Andi Kleen <andi at firstfloor dot org>
- To: Martin LiÅka <marxin dot liska at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 31 Oct 2013 06:56:18 -0700
- Subject: Re: [PATCH] Time profiler - phase 1
- Authentication-results: sourceware.org; auth=none
- References: <CAObPJ3PKTGRyZpv=V6YxfVKDfRBat1imKdps1EHmfyJys_6iVQ at mail dot gmail dot com>
Martin LiÅka <marxin.liska@gmail.com> writes:
> Hello,
> I've cooperating with Jan on a new profile-based function
> reordering stuff. This first patch introduces a new GCOV counter that
> instruments each function call and stores the time of first run of a
> function.
I'm curious, do you have any numbers how much that slows down a
typical instrumented run?
Seems like heavy weight instrumentation.
-Andi
--
ak@linux.intel.com -- Speaking for myself only