Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: DEV timer? GetTicks?
From: Mike Holden (rockbox_at_mikeholden.uklinux.net)
Date: 2003-09-22


Minuk Choi said:
> Hiya, I'm playing around with the source files... and I was wondering...
> is there a way to grab the current number of ticks or timer? I want to
> write something that implements a time based(in milliseconds) delay. In
> VC++, it was GetTickCount()?

There's a global variable current_tick which counts milliseconds. Set to
zero at boot time.

-- 
Mike Holden

Rockbox page: http://www.mikeholden.org/~rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa