simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [bugs #9400] Message `Executed ... insns/sec': floating


From: Theodore A. Roth
Subject: [Simulavr-devel] [bugs #9400] Message `Executed ... insns/sec': floating point exception
Date: Mon, 21 Jun 2004 11:35:42 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

This mail is an automated notification from the bugs tracker
 of the project: Simulavr: an AVR simulator.

/**************************************************************************/
[bugs #9400] Latest Modifications:

Changes by: 
                Theodore A. Roth <address@hidden>
'Date: 
                Mon 06/21/04 at 15:35 (US/Pacific)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | troth
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This was fixed in cvs head back in february.

http://savannah.nongnu.org/cgi-bin/viewcvs/simulavr/simulavr/src/avrcore.c.diff?r1=1.78&r2=1.79






/**************************************************************************/
[bugs #9400] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=9400>
Project: Simulavr: an AVR simulator
Submitted by: 0
On: Sun 06/20/04 at 23:09

Category:  Simulation
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Assigned to:  troth
Originator Email:  address@hidden
Status:  Closed


Summary:  Message `Executed ... insns/sec': floating point exception

Original Submission:  Simulating very short programm (without gdb, breakpoint 
use).
avrcore.c: avr_core_run(): run_time is 0 (millisecond resolution).
To avoid this I added `run_time ? ... : 0LL' (2 calls of avr_message).

P.S.
Comment to function `eeprom_wr_op_cb' (eeprom.c): "Since the get_program_time() 
function only has 10 ms resolution".
   Glibc's `gettimeofday' (used in get_program_time) has microsecond 
resolution. This checked on Slackware Linux 1997 (2.0 kernel): i486DX2 50MHz 
(without rdtsc command). Difference between 2 calls of gettimeofday was about 
24 microseconds (exclude long periods of system interruptions). And on modern 
computer with Mandrake 9.1 (2.4 kernel) such difference is 0 or 1 microsecond.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 06/21/04 at 15:35         By: troth
This was fixed in cvs head back in february.

http://savannah.nongnu.org/cgi-bin/viewcvs/simulavr/simulavr/src/avrcore.c.diff?r1=1.78&r2=1.79












For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=9400>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

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