[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp native profiler
From: |
Eli Zaretskii |
Subject: |
Re: Elisp native profiler |
Date: |
Sun, 30 Sep 2012 09:58:26 +0200 |
> Date: Sun, 30 Sep 2012 00:37:22 -0700
> From: Paul Eggert <address@hidden>
> CC: Tomohiro Matsuyama <address@hidden>, address@hidden
>
> On 09/28/2012 04:00 AM, Eli Zaretskii wrote:
> > What interval is used by the profiling code in a C program compiled
> > with -pg?
>
> It depends on the platform. Historically it was 1/60th of
> a second, because that's how often the clock interrupt was.
> Nowadays 10 ms is common -- that's what GNU/Linux
> uses, at least my copy does.
So perhaps we should use 10 ms as the default sampling period.
Btw, does profiler.c live in peace with Emacs configured with
"--enable-profiling"? They both use SIGPROF, AFAIK. Perhaps
profiler.c features should be disabled when Emacs is profiling itself.
- Re: Elisp native profiler, (continued)
- Re: Elisp native profiler, Stefan Monnier, 2012/09/28
- Re: Elisp native profiler, Stefan Monnier, 2012/09/26
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/28
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/28
- Re: Elisp native profiler, Paul Eggert, 2012/09/30
- Re: Elisp native profiler,
Eli Zaretskii <=
- Re: Elisp native profiler, Paul Eggert, 2012/09/30
- Re: Elisp native profiler, Stefan Monnier, 2012/09/28
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/30
- Re: Elisp native profiler, Paul Eggert, 2012/09/30
- Re: Elisp native profiler, Stefan Monnier, 2012/09/30
- Re: Elisp native profiler, Paul Eggert, 2012/09/30
- Re: Elisp native profiler, Stefan Monnier, 2012/09/30
- Re: Elisp native profiler, Paul Eggert, 2012/09/30
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/30
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/30