projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2feddb366d09bb1806e4e42c45b07633967225d9
[oweals/musl.git]
/
clock.c
1
#include <time.h>
2
#include <sys/times.h>
3
4
/* this function assumes 100 hz linux and corrects for it */
5
clock_t clock()
6
{
7
struct tms tms;
8
return (unsigned long)times(&tms)*10000;
9
}