|
From: | ThomasK |
Subject: | Re: [Simulavr-devel] [patch #7030] do not eat 100% CPU if GDB disconnects |
Date: | Tue, 05 Jan 2010 17:19:38 +0100 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
Hi Petr,if I understand it right, this patch is useless. You check list of simulation members if empty or not. But in any case (and if you start simulation not by python interface, for example) calling empty() will allways be false. Even, if you start it as gdb server!
The reason for eating cpu time is to find in gdb server design (in my opinion). If there is no connection and of course no communication the behaviour is like a free running simulation. And (if there are no other waiting points) it uses so much cpu time as it can get.
cu, Thomas
URL: <http://savannah.nongnu.org/patch/?7030> Summary: do not eat 100% CPU if GDB disconnects Project: Simulavr: an AVR simulator Submitted by: petrh Submitted on: Sun 20 Dec 2009 08:15:14 PM CET Category: bug fix Priority: 5 - Normal Status: None Privacy: Public Assigned to: NoneOriginator Email: Open/Closed: OpenDiscussion Lock: Any Component Version: simulavrxx
[Prev in Thread] | Current Thread | [Next in Thread] |