From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org>
Cc: 20843-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#20843: 24.5; Profiler error: "Invalid sampling interval"
Date: Thu, 18 Jun 2015 13:58:20 +0200 [thread overview]
Message-ID: <vriuvbelns83.fsf@example.com> (raw)
In-Reply-To: <83k2v1l7g4.fsf-mXXj517/zsQ@public.gmane.org> (Eli Zaretskii's message of "Thu, 18 Jun 2015 11:57:47 +0300")
Eli Zaretskii <eliz-mXXj517/zsQ@public.gmane.org> writes:
>> From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
>>
>> When trying to start the profiler under Cygwin Emacs 24.5, I get this:
>>
>> --8<---------------cut here---------------start------------->8---
>> Debugger entered--Lisp error: (error "Invalid sampling interval")
>> profiler-cpu-start(1000000)
>> profiler-start(cpu)
>> call-interactively(profiler-start record nil)
>
> Can you step with GDB into setup_cpu_timer, and see what goes wrong
> there? I suspect this portions:
>
> if (! RANGED_INTEGERP (1, sampling_interval,
> (TYPE_MAXIMUM (time_t) < EMACS_INT_MAX / billion
> ? ((EMACS_INT) TYPE_MAXIMUM (time_t) * billion
> + (billion - 1))
> : EMACS_INT_MAX)))
> return NOT_RUNNING;
>
> If so, what does TYPE_MAXIMUM(time_t) return in your build?
Sorry, I can't -- lack of time, and (moreover) of knowledge...
PS- Dunno if this is somehow related, but my Cygwin Emacs is very slow
ATM -- sometimes waiting for 5 seconds or so before seeing a reaction to
the char I just typed, though often as quick as always. That was why
I wanted to run a profiler...
next prev parent reply other threads:[~2015-06-18 11:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 8:37 bug#20843: 24.5; Profiler error: "Invalid sampling interval" Sebastien Vauban
2015-06-18 8:57 ` Eli Zaretskii
[not found] ` <83k2v1l7g4.fsf-mXXj517/zsQ@public.gmane.org>
2015-06-18 11:58 ` Sebastien Vauban [this message]
[not found] ` <mailman.5225.1434628753.904.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.5225.1434628753.904.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2015-06-19 13:38 ` Sebastien Vauban
2015-06-19 17:42 ` Eli Zaretskii
2015-06-20 19:02 ` Ken Brown
2015-06-20 19:10 ` Eli Zaretskii
2015-06-20 21:47 ` Ken Brown
2015-06-21 14:56 ` Eli Zaretskii
2015-06-21 22:17 ` Ken Brown
[not found] ` <558737F7.4080709-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org>
2015-06-22 8:00 ` Sebastien Vauban
2015-06-22 11:57 ` Ken Brown
2015-06-22 15:12 ` Eli Zaretskii
2015-06-22 21:15 ` Ken Brown
2015-06-22 21:44 ` Ken Brown
[not found] ` <558881B0.6080404-HmMyXyqgL2CVc3sceRu5cw@public.gmane.org>
2015-06-23 8:39 ` Sebastien Vauban
2015-06-23 17:20 ` Ken Brown
[not found] ` <mailman.5513.1435080075.904.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.5513.1435080075.904.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2015-07-02 13:27 ` Sebastien Vauban
2015-07-02 13:59 ` Ken Brown
2015-06-22 15:35 ` Eli Zaretskii
2015-06-22 18:04 ` Ken Brown
2015-06-22 18:50 ` Eli Zaretskii
2015-06-22 19:30 ` Ken Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vriuvbelns83.fsf@example.com \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=20843-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org \
--cc=eliz-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.