[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when prof
From: |
Paul Eggert |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns. |
Date: |
Wed, 03 Oct 2012 10:29:21 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
On 10/03/2012 10:18 AM, Eli Zaretskii wrote:
> imagine that 30% of the elapsed time that passed while profiling
> Emacs got very little or no CPU time
It's supposed to be a CPU time profiler, so that shouldn't
be a problem. Granted, hosts that don't profile CPU time
(and where we fall back on real-time) will provide inaccurate
numbers in that situation, but they're already way-inaccurate
so it doesn't really matter.
> So how about a new primitive that would return the information from
> clock_gettime (or getrusage, if clock_gettime is not available), which
> profiler.el could then use to convert timer ticks into seconds?
That should work. I would like to add an optional argument
to current-time, to specify which clock we want. But isn't
this sort of thing something that we need to delay until later?
Aren't we in a feature freeze?
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Stefan Monnier, 2012/10/02
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Paul Eggert, 2012/10/02
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Eli Zaretskii, 2012/10/02
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Paul Eggert, 2012/10/02
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Eli Zaretskii, 2012/10/02
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Paul Eggert, 2012/10/03
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Eli Zaretskii, 2012/10/03
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns.,
Paul Eggert <=
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Eli Zaretskii, 2012/10/03
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Stefan Monnier, 2012/10/02
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Paul Eggert, 2012/10/03
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110342: Count overruns when profiling; change units to ns., Stefan Monnier, 2012/10/03