Huge frame times

View previous topic View next topic Go down

Huge frame times

Post  matt on Tue Nov 25, 2008 5:53 pm

Every now and then I get very huge frame times in sio2->_SIO2window->d_time. Is someone else experiencing this problem, too, and has probably looked into that?

I'm right in front of a deadline and need to see through some other bugs, so I would greatly appreciate any feedback.

Thanks,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: Huge frame times

Post  sio2interactive on Tue Nov 25, 2008 8:43 pm

Can you send me a piece of code to reproduce this bug so I can debug it...

Tks in advance!

Cheers,
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Huge frame times

Post  matt on Wed Nov 26, 2008 3:17 am

I can't reproduce it (yet), sorry, and I don't think it's a problem in my code since at this part, I'm relying on SIO2 completely. One symptom is e.g. that the whole game suddenly hangs because a n_particles in a particle system is suddenly a very huge number and loop-exit conditions with != don't work anymore. When I look into d_time then, it's very huge (five digits and more). I'm working around this currently by limiting the d_time to a maximum of five seconds.

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: Huge frame times

Post  sio2interactive on Wed Nov 26, 2008 4:00 am

Dude that sounds like a leak to be or a bad allocation that push all the other bytes in memory...

try to put some while(1) nested at some "strategic" places and check if it crash...
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Huge frame times

Post  sw on Wed Nov 26, 2008 5:45 am

matt wrote:I can't reproduce it (yet), sorry, and I don't think it's a problem in my code since at this part, I'm relying on SIO2 completely. One symptom is e.g. that the whole game suddenly hangs because a n_particles in a particle system is suddenly a very huge number and loop-exit conditions with != don't work anymore. When I look into d_time then, it's very huge (five digits and more). I'm working around this currently by limiting the d_time to a maximum of five seconds.

Best,
Matt

maybe because you are in debug and stoped at some line.
pirat
avatar
sw

Posts : 73
Join date : 2008-10-12

View user profile

Back to top Go down

Re: Huge frame times

Post  matt on Wed Nov 26, 2008 6:58 am

sw wrote:maybe because you are in debug and stoped at some line.
pirat

I wish that would be the cause. But I don't break a frame for 500000 seconds or so. ;-)

Matt

matt

Posts : 155
Join date : 2008-09-30

View user profile http://elfrun.net

Back to top Go down

Re: Huge frame times

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum