[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time val
From: |
Juanma Barranquero |
Subject: |
Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes |
Date: |
Sat, 3 Jan 2009 14:53:25 +0100 |
On Sat, Jan 3, 2009 at 14:28, Juanma Barranquero <address@hidden> wrote:
>> Could you please show the values of ft_kernel, stime_sec, and
>> stime_usec after the last of the above 3 lines, namely after
>>
>> stime_sec = tem1 * 0.000001L;
>>
>> ?
Hmm.
The inlined code that implements the fmodl() call seems to be modifying tem1;
doing
snprintf (buf, sizeof (buf), "tem1 (1) = %Lf\n", tem1);
OutputDebugString (buf);
stime_usec = fmodl (tem1, 1000000.0L);
snprintf (buf, sizeof (buf), "tem1 (2) = %Lf\n", tem1);
OutputDebugString (buf);
I get the following results:
tem1 (1) = 82703125.000000
tem1 (2) = 703125.000000
tem1 (1) = 31250.000000
tem1 (2) = 31250.000000
tem1 (1) = 14671875.000000
tem1 (2) = 671875.000000
tem1 (1) = 1453125.000000
tem1 (2) = 453125.000000
tem1 (1) = 7687500.000000
tem1 (2) = 687500.000000
tem1 (1) = 1250000.000000
tem1 (2) = 250000.000000
tem1 (1) = 171875.000000
tem1 (2) = 171875.000000
tem1 (1) = 1125000.000000
tem1 (2) = 125000.000000
tem1 (1) = 9718750.000000
tem1 (2) = 718750.000000
tem1 (1) = 31250.000000
tem1 (2) = 31250.000000
tem1 (1) = 203125.000000
tem1 (2) = 203125.000000
tem1 (1) = 62500.000000
tem1 (2) = 62500.000000
tem1 (1) = 62500.000000
tem1 (2) = 62500.000000
tem1 (1) = 62500.000000
tem1 (2) = 62500.000000
tem1 (1) = 0.000000
tem1 (2) = 0.000000
tem1 (1) = 6453125.000000
tem1 (2) = 453125.000000
tem1 (1) = 6000000.000000
tem1 (2) = 0.000000
tem1 (1) = 2109375.000000
tem1 (2) = 109375.000000
tem1 (1) = 14468750.000000
tem1 (2) = 468750.000000
tem1 (1) = 468750.000000
tem1 (2) = 468750.000000
tem1 (1) = 125000.000000
tem1 (2) = 125000.000000
tem1 (1) = 140625.000000
tem1 (2) = 140625.000000
tem1 (1) = 93750.000000
tem1 (2) = 93750.000000
tem1 (1) = 31250.000000
tem1 (2) = 31250.000000
tem1 (1) = 312500.000000
tem1 (2) = 312500.000000
tem1 (1) = 3765625.000000
tem1 (2) = 765625.000000
tem1 (1) = 93750.000000
tem1 (2) = 93750.000000
tem1 (1) = 140625.000000
tem1 (2) = 140625.000000
tem1 (1) = 46875.000000
tem1 (2) = 46875.000000
tem1 (1) = 46875.000000
tem1 (2) = 46875.000000
tem1 (1) = 296875.000000
tem1 (2) = 296875.000000
tem1 (1) = 71437500.000000
tem1 (2) = 437500.000000
tem1 (1) = 4234375.000000
tem1 (2) = 234375.000000
tem1 (1) = 38015625.000000
tem1 (2) = 15625.000000
tem1 (1) = 38218750.000000
tem1 (2) = 218750.000000
tem1 (1) = 39500000.000000
tem1 (2) = 500000.000000
tem1 (1) = 31250.000000
tem1 (2) = 31250.000000
tem1 (1) = 109375.000000
tem1 (2) = 109375.000000
tem1 (1) = 46875.000000
tem1 (2) = 46875.000000
tem1 (1) = 10328125.000000
tem1 (2) = 328125.000000
tem1 (1) = 1546875.000000
tem1 (2) = 546875.000000
tem1 (1) = 328125.000000
tem1 (2) = 328125.000000
tem1 (1) = 343750.000000
tem1 (2) = 343750.000000
Juanma
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, (continued)
Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Juanma Barranquero, 2009/01/01
Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Eli Zaretskii, 2009/01/01
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Juanma Barranquero, 2009/01/02
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Eli Zaretskii, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Juanma Barranquero, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes,
Juanma Barranquero <=
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Eli Zaretskii, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Juanma Barranquero, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Eli Zaretskii, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Eli Zaretskii, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Juanma Barranquero, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Eli Zaretskii, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Jason Rumney, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Juanma Barranquero, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Jason Rumney, 2009/01/03
- Re: Optimized gcc 4.3.0 build on Windows returns 0 secs for all time values of system-process-attributes, Juanma Barranquero, 2009/01/03