From: H.Ebrahimi <hes...@gm...> - 2010-04-14 20:25:06
|
Hi Hedayat and all, I have created a new patch, adds the speed controls, fixes a bug, and tidies up the code. The fixed bug: when the log player hits the end of log file, it cannot play backward (using the 'l' key). After applying the patch, when the end of log file is hit, the player pauses and resets the eof bit of the input stream. Thus, user can hit 'l', and then 'p' to go backward. If it's possible please a more active developer tests this patch :-) Hedayat, is the problem you mentioned about the log recorder and multi-threading fixed? If not, maybe I can give a hand. Hesham On 13 April 2010 11:32, H.Ebrahimi <hes...@gm...> wrote: > I've cc'd simspark-devel, in case this discussion should continue. > > On 11 April 2010 01:16, Yinon Bentor <yi...@cs...> wrote: >> Thank you for your suggestion to modify the step delay. This worked >> for us. Having controls to modify the playback speed may be indeed be >> quite useful. > > I prepared a patch for this: > http://www.cs.bris.ac.uk/pgrad/ebrahimi/code/rc/logplayer_speed_control.diff > But I don't have time to test it thoroughly, if you can please give it > a try and let me know if there is a problem. Use the '[' key to slow > down the playback and ']' to speed up. > > Hesham > >> >> Thanks, >> Yinon >> >> On Fri, Apr 9, 2010 at 11:44 AM, H.Ebrahimi <hes...@gm...> wrote: >>> Yinon, I'm not sure what you mean by replaying log files in real time. >>> But I explain how you can control the speed of the log player, hope >>> that helps. >>> >>> We decided to use a fixed delay time between each cycle for the log >>> player. If I remember correctly the reason was that the time between >>> two consecutive cycles depended on the machine. I'm not sure if this >>> is still the case or not. If you see the log player is playing the log >>> files very fast, you can modify the delay value in this line of >>> spark.rb: >>> monitorClient.setStepDelay(3300) >>> >>> In case you find it handy to have controls in the monitor to increase >>> and decrease this value while playing a log file, let me know. It's >>> easy to add these controls. Perhaps it is possible to replace this >>> fixed time delay with the time measured between two cycles while >>> running the simulator. Maybe some developers, Hedayat?, can suggest >>> some ways to improve the logger/log player. >>> >>> Hesham >>> >>> On 9 April 2010 08:01, Yinon Bentor <yi...@cs...> wrote: >>>> Hi all, >>>> >>>> I'm searching for a way to replay log files in real time instead of >>>> the sped-up replay that seems to be the default in rcssmonitor3d. Is >>>> there such an option in the monitor? >>>> >>>> Thanks, >>>> Yinon >>>> >>>> ------------------------------------------------------------------------------ >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> Sserver-three-d mailing list >>>> Sse...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sserver-three-d >>>> >>> >> > |