094bdac0bd
* lib/linux/clock_gettime.c: New file, move from gnu.c. * lib/linux/gettimeofday.c: New file, move from tcc.c. * lib/linux/time.c: New file, move from tcc.c. * lib/linux/libc.c: Include them. * lib/linux/gnu.c (clock_gettime): Remove. * lib/linux/tcc.c (time, gettimeofday): Remove. * include/time.h (CLOCK_PROCESS_CPUTIME_ID): New define. * src/posix.c (init_time, current_time, gettimeofday_, seconds_and_nanoseconds_to_long, get_internal_run_time): New function. * src/mes.c (scm_symbol_internal_time_units_per_second): New symbol. (main): Call init_time. |
||
---|---|---|
.. | ||
x86-mes | ||
x86-mes-gcc | ||
x86_64-mes | ||
x86_64-mes-gcc | ||
clock_gettime.c | ||
gettimeofday.c | ||
gnu.c | ||
libc-mini.c | ||
libc.c | ||
tcc.c | ||
time.c |