Calculate delta time
An example showing how to calculate delta time between two frame using requestAnimationFrame on your device with Tizen 2.3.
var last = 0;
animate = function(now) {
var dt = Math.min(1, (now - last) / 1000);
last = now;
window.requestAnimationFrame(animate);
};
animate();