TimeCounter

Time

util.difftime(, );
util.difftime();

util.timecounter.delta();
util.timecounter.delta(, );

util.timecounter.start('#timediff-int');
util.timecounter.start('#timediff-int', );
util.timecounter.stop('#timediff-int');
util.timecounter.stop('#timediff-int', );
util.timecounter.restart('#timediff-int');
util.timecounter.value('#timediff-int');
 

var opt = {
  interval: 100,
  mode: 2,
  unsigned: true,
  cb: demo.timecounterCb
};
util.timecounter.start('#timediff-int2', , opt);
util.timecounter.stop('#timediff-int2');