From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes
Date: Wed, 31 Dec 2008 21:12:55 +0200 [thread overview]
Message-ID: <ur63onop4.fsf@gnu.org> (raw)
In-Reply-To: <f7ccd24b0812310500h79fb2b1ar2fa45cd135a01e9c@mail.gmail.com>
> Date: Wed, 31 Dec 2008 14:00:33 +0100
> From: "Juanma Barranquero" <lekktu@gmail.com>
>
> Building Emacs on Windows with the following compiler
>
> gcc (GCC) 4.3.0 20080305 (alpha-testing) mingw-20080502
>
> and optimizations on, Emacs returns 0 seconds for all time values
> computed in w32.c:process_times:
>
> ELISP> (mapcar (lambda (p) (assq 'start (system-process-attributes
> p))) (list-system-processes))
> (nil
> (start 0 0 0)
> (start 0 0 484375)
> (start 0 0 484375)
> (start 0 0 921875)
> ;;; etc
>
> and the same goes for 'utime, 'ctime and 'etime.
>
> Could someone please try with another version of MinGW GCC?
It works for me with GCC 3.4.2 and MinGW 3.14:
(mapcar (lambda (p) (assq 'start (system-process-attributes p))) (list-system-processes))
=> (nil (start 0 0 0) (start 18778 61572 203125) (start 18778 61575 984375) (start 18778 61576 671875) (start 18778 61578 640625) (start 18778 61578 687500) (start 18778 61580 390625) (start 18778 61580 953125) (start 18778 61581 203125) (start 18778 61581 296875) (start 18778 61581 906250) (start 18778 61582 140625) (start 18778 61584 875000) (start 18778 61585 31250) (start 18778 61591 781250) (start 18778 61592 406250) (start 18778 61592 562500) (start 18778 61592 953125) (start 18778 61593 78125) (start 18778 61593 234375) (start 18778 61593 359375) (start 18778 61596 828125) (start 18778 61596 875000) (start 18778 61604 93750) (start 18778 61699 156250) (start 18778 61702 15625) (start 18778 61702 250000) (start 18778 61702 812500) (start 18778 61704 390625) (start 18778 61704 98437
5) (start 18778 61705 921875) (start 18778 61709 828125) (start 18778 61712 828125) (start 18778 61713 62500) (start 18778 61714 328125) (start 18778 61715 671875) (start 18778 61715 984375) (start
Could you please step into process_times and ltime (or add printf's if
stepping doesn't work), and see what is going wrong and where? Or
maybe it's convert_time_raw that fails? do other callers of
convert_time_raw still work?
next prev parent reply other threads:[~2008-12-31 19:12 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-31 13:00 Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes Juanma Barranquero
2008-12-31 17:29 ` dhruva
2008-12-31 19:12 ` Eli Zaretskii [this message]
2009-01-01 4:38 ` Juanma Barranquero
2009-01-01 12:57 ` dhruva
2009-01-01 13:08 ` dhruva
2009-01-01 13:16 ` Jason Rumney
2009-01-01 13:43 ` dhruva
2009-01-01 19:00 ` Eli Zaretskii
2009-01-02 4:59 ` dhruva
2009-01-02 14:33 ` Eli Zaretskii
2009-01-02 17:44 ` Chetan Pandya
2009-01-01 18:03 ` Juanma Barranquero
2009-01-01 18:54 ` Eli Zaretskii
2009-01-03 2:27 ` Juanma Barranquero
2009-01-03 12:29 ` Eli Zaretskii
2009-01-03 13:28 ` Juanma Barranquero
2009-01-03 13:53 ` Juanma Barranquero
2009-01-03 15:33 ` Eli Zaretskii
2009-01-03 16:00 ` Juanma Barranquero
2009-01-03 16:40 ` Eli Zaretskii
2009-01-03 16:56 ` Eli Zaretskii
2009-01-03 17:14 ` Juanma Barranquero
2009-01-03 19:02 ` Eli Zaretskii
2009-01-04 2:24 ` Jason Rumney
2009-01-04 2:30 ` Juanma Barranquero
2009-01-04 2:33 ` Jason Rumney
2009-01-04 2:35 ` Juanma Barranquero
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=ur63onop4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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.