taskAbstract Media Library - Tasks: task #5328, Add an event rate management

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

task #5328: Add an event rate management

Submitted by:  XorfacX <xorfacx>
Submitted on:  Tue Jul 24 21:11:24 2007  
Should Start On: Mon Jul 23 22:00:00 2007Should be Finished on: Mon Jul 23 22:00:00 2007
Category: NonePriority: 5 - Normal
Status: Need InfoPrivacy: Public
Percent Complete: 100%Assigned to: Alexandre VINCENT <asmodehn>
Open/Closed: OpenEffort: 0.00

Tue Oct 20 19:56:40 2009, comment #5:

This work with the latest version of p0.

Can you conform me u let this event rate management in latest commits of SDLut ? If yes, please close this ticket.

XorfacX <xorfacx>
Project Member
Fri Jul 27 20:04:06 2007, SVN revision 800:

task #5328 : event rate management added. should be tested...

(Browse SVN revision 800)

Alexandre VINCENT <asmodehn>
Project AdministratorIn charge of this item.
Fri Jul 27 20:03:31 2007, comment #3:

Alright ;-) thats what I thought but I prefer having a confirmation. Thats done and should now be tested :-p

If the eventrate is faster than the refresh rate, then it will be ignored, and event will happen every frame anyway.

Alexandre VINCENT <asmodehn>
Project AdministratorIn charge of this item.
Thu Jul 26 15:05:51 2007, comment #2:

never go faster than the refresh rate. it's not useful and will certainly cause unpredictable result.

the objective is to optimize speed not add a functionnality, if it's useful, we'll thik about it later

XorfacX <xorfacx>
Project Member
Thu Jul 26 04:00:07 2007, comment #1:

Well I am not even sure a event rate is really usefull, so wait and see before discussing post and prerender functions ;)

Question : what should we do if the event rate is faster than the frame rate ? ignoring it is easy, but if we want to take it into account, the code calculating the time might be too heavy and slow things down too much to be usefull. :p

Alexandre VINCENT <asmodehn>
Project AdministratorIn charge of this item.
Tue Jul 24 21:11:24 2007, original submission:

In order to optimize p0 we need to be able to set an event check rate different of the framerate.
He should be set when the mainlop is launched. Something like mainloop(framerate = 60, eventrate = 30)

Perhaps also add a prerender/postrender rate ?

XorfacX <xorfacx>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by asmodehn (Posted a comment)
  • -unavailable- added by xorfacx (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Oct 20 19:56:40 2009xorfacxStatusReady For Test=>Need Info
      Assigned toxorfacx=>asmodehn
    Fri Jul 27 20:03:31 2007asmodehnStatusNone=>Ready For Test
      Percent Complete0%=>100%
      Assigned toasmodehn=>xorfacx
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup