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

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

bug#61667: 29.0.60; Failure to redisplay


From: Eli Zaretskii
Subject: bug#61667: 29.0.60; Failure to redisplay
Date: Sat, 25 Feb 2023 09:12:14 +0200

> Date: Fri, 24 Feb 2023 23:49:05 +0200
> Cc: luangruo@yahoo.com, 61667@debbugs.gnu.org, gregory@heytings.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> On 24/02/2023 23:19, Eli Zaretskii wrote:
> >> Date: Fri, 24 Feb 2023 23:03:12 +0200
> >> Cc:luangruo@yahoo.com,61667@debbugs.gnu.org,gregory@heytings.org
> >> From: Dmitry Gutov<dgutov@yandex.ru>
> >>
> >> +int64_t now_millis() {
> >> +  struct timespec now;
> >> +  timespec_get(&now, TIME_UTC);
> >> +
> >> +  return ((int64_t) now.tv_sec) * 1000 + ((int64_t) now.tv_nsec) / 1000;
> >                                                                        ^^^^
> > That 1000 should be 1000000, right?
> 
> Right, sorry. I misread it in the doc for "microseconds".
> 
> The result makes no difference, though: now only zeros are printed (and 
> sometimes 1):
> 
> [x_set_name] time to x_set_name_internal: 0
> [x_set_name] time to x_set_name_internal: 0

Well, 1 msec is a far cry from 20 or 50...

> So the calls take < 1ms.

Yes.  Which means these X and GTK calls are not the direct culprit of
the delay.





reply via email to

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