[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [bugs #9400] Message `Executed ... insns/sec': floating
From: |
anonymous |
Subject: |
[Simulavr-devel] [bugs #9400] Message `Executed ... insns/sec': floating point exception |
Date: |
Sun, 20 Jun 2004 19:09:43 -0400 |
User-agent: |
|
This mail is an automated notification from the bugs tracker
of the project: Simulavr: an AVR simulator.
/**************************************************************************/
[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/2004 at 19:09
Category: Simulation
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Originator Email: address@hidden
Status: Open
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.
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/
- [Simulavr-devel] [bugs #9400] Message `Executed ... insns/sec': floating point exception,
anonymous <=