windows phone 7 - How much time is too much? -


given standard number of ticks cycle in wp7 app 333,333 ticks (or if set such), how of time slice have work in?

to put way, how many ticks standard processes eat (drawing screen, clearing buffers, etc)?

i worked out process doing in spike (as do) eating (14 ms) of time right (about half time slice have available) , concerned happen if runs past point.

the conventional way of doing computationally intensive things them on background thread - means ui thread(s) don't block while computations occurring - typically ui threads scheduled ahead of background threads screen drawing continues smoothly though cpu 100% busy. approach allows queue work want to.

if need computational work within ui thread - e.g. because part of game mechanics or part of "per frame" update/drawing logic, conventionally happens game frame rate slows down bit because phone waiting on logic before can draw.

if question "what decent frame rate?" depends bit on type of app/game, (at age...) think 30hz , above ok - 33ms each frame - , important frame rate smooth - i.e. each frame length takes same time.

i hope approximately answers question... wasn't entirely sure understood it!


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -