mes/lib/linux
Jan Nieuwenhuizen 46ce2c71cd
core: Support time functions.
* 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.
2018-11-18 14:51:14 +01:00
..
x86-mes build: Resurrect make seed. 2018-09-30 12:15:11 +02:00
x86-mes-gcc mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
x86_64-mes build: Oops, remove stray lib/linux/x86_64-mes/crt1. 2018-10-11 21:14:14 +02:00
x86_64-mes-gcc mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
clock_gettime.c core: Support time functions. 2018-11-18 14:51:14 +01:00
gettimeofday.c core: Support time functions. 2018-11-18 14:51:14 +01:00
gnu.c core: Support time functions. 2018-11-18 14:51:14 +01:00
libc-mini.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
libc.c core: Support time functions. 2018-11-18 14:51:14 +01:00
tcc.c core: Support time functions. 2018-11-18 14:51:14 +01:00
time.c core: Support time functions. 2018-11-18 14:51:14 +01:00