]> git.itanic.dy.fi Git - sdl-planets/commit
gettime fixes
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Wed, 31 Mar 2010 16:42:41 +0000 (19:42 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Wed, 31 Mar 2010 16:42:41 +0000 (19:42 +0300)
commit5a6c73b1157b309ff1538d52dd0367939f3ee25e
treee95555855ffb7fe9d80097c560bd43122f6bc2ac
parent4d1ffa20dc633caa3342ceb1414b5144e1444831
gettime fixes

Return microseconds instead of nanoseconds. Also return value is now
delta from the first call to gettime instead of the absolute value of
the monotonic clock.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
main.c