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. |
||
---|---|---|
.. | ||
boot | ||
tests | ||
argv.c | ||
cons-mes.c | ||
gc.scm | ||
hello.c | ||
main.c | ||
malloc.c | ||
micro-mes.c | ||
mini-mes.c | ||
read.c | ||
read.data | ||
tiny-mes.c |