gladiusjs / gladius-core

Core library for Gladius
BSD 3-Clause "New" or "Revised" License
445 stars 48 forks source link

The real time clock the engine offers is not as accurate as the new high performance timer #203

Closed dmose closed 12 years ago

dmose commented 12 years ago

There's probably an actual user story here, but I don't have enough of a feel for all the motivations here nor the degree of difference and how that relates to common uses, so I'm not sure how to frame it.

modeswitch commented 12 years ago

Can you be more specific? The engine provides two system clocks that are updated from Date.now. I plan on pushing this logic into the Loop object though and making it easier to choose an implementation so we can support HPT where they exist.

dmose commented 12 years ago

I was confused about Date.now, I've updated to be more accurate.

modeswitch commented 12 years ago

Can I convert this into a user story? I'm not sure there's much to discuss here.

modeswitch commented 12 years ago

I've created a user story for this issue: https://github.com/gladiusjs/gladius-core/issues/215