help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time of last command invoked


From: Emanuel Berg
Subject: Re: Time of last command invoked
Date: Tue, 02 Mar 2021 04:02:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier wrote:

>>> Is there some internal log in Emacs that keeps the date
>>> and time of last command invoked by a key or M-x?
>>
>> That would imply a huge overhead.
>
> Not really, no.

One would still think that compared to the mere execution (not
the whole commands themselves) that'd be some overhead but in
practice I guess keeping time in C is fast enough.

Or would the overhead still be small?

You keep track of time anyway so it would just be a read and
print thing?

What's the granularity, then? drift? do it in Ada instead? :)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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