[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: Tue, 02 Oct 2012 22:03:51 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

On 10/02/2012 07:05 PM, Stefan Monnier wrote:
> We still need to worry about wraparound

It should be easy to avoid wraparound by accumulating
an EMACS_TIME value instead of an integer counter.
That's good for at least 70 years, and would support
even nanosecond resolution.

The current hash tables require that we accumulate in an
Emacs object, but we could simply use a hash table that is
tuned for the job instead.  This would also let us avoid
the QUIT problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]