brintos

brintos / llvm-project-archived public Read only

0
0
Text · 12.0 KiB · f07e0d9 Raw
116 lines · plain
1======2time.h3======4 5.. include:: ../check.rst6 7---------------8Source location9---------------10 11-   The main source for time functions is located at: ``libc/src/time``12 13---------------------14Implementation Status15---------------------16 17* To check date and time functions enabled for Linux:18 19  - `linux-x86_64 <https://github.com/llvm/llvm-project/tree/main/libc/config/linux/x86_64/entrypoints.txt>`_20 21  - `linux-aarch64 <https://github.com/llvm/llvm-project/tree/main/libc/config/linux/aarch64/entrypoints.txt>`_22 23  - `linux-aarch32 <https://github.com/llvm/llvm-project/tree/main/libc/config/linux/arm/entrypoints.txt>`_24 25  - `linux-riscv and linux-riscv32 <https://github.com/llvm/llvm-project/tree/main/libc/config/linux/riscv/entrypoints.txt>`_26 27* To check date and time functions enabled for Windows:28 29  - `windows-x86_64 <https://github.com/llvm/llvm-project/tree/main/libc/config/windows/entrypoints.txt>`_30 31  - windows-aarch64 - to be added32 33* To check date and time functions enabled for macOS:34 35  - `darwin-x86_64 <https://github.com/llvm/llvm-project/tree/main/libc/config/darwin/x86_64/entrypoints.txt>`_36 37  - `darwin-aarch64 <https://github.com/llvm/llvm-project/tree/main/libc/config/darwin/arm/entrypoints.txt>`_38 39* To check date and time functions enabled for GPU:40 41  - `gpu-entrypoints <https://github.com/llvm/llvm-project/tree/main/libc/config/gpu/entrypoints.txt>`_42 43* To check date and time functions enabled for embedded system:44 45  - `barebone-aarch64 <https://github.com/llvm/llvm-project/tree/main/libc/config/baremetal/aarch64/entrypoints.txt>`_46 47  - `barebone-aarch32 <https://github.com/llvm/llvm-project/tree/main/libc/config/baremetal/arm/entrypoints.txt>`_48 49  - barebone-riscv32 - to be added50 51+---------------------+-----------------------------------------------+-------------------+-------------------+-----------------------------+---------+---------+52| <Func>              |  Linux                                        | Windows           | MacOS             | Embedded                    | GPU               |53|                     +---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+54|                     | x86_64  | aarch64 | aarch32 | riscv64/riscv32 | x86_64  | aarch64 | x86_64  | aarch64 | aarch64 | aarch32 | riscv32 | AMD     | nVidia  |55+=====================+=========+=========+=========+=================+=========+=========+=========+=========+=========+=========+=========+=========+=========+56| asctime             | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |57+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+58| asctime_r           | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |59+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+60| ctime               | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |61+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+62| ctime_r             | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |63+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+64| clock               | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |65+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+66| clock_getcpuclockid |         |         |         |                 |         |         |         |         |         |         |         |         |         |67+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+68| clock_getres        |         |         |         |                 |         |         |         |         |         |         |         |         |         |69+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+70| clock_gettime       | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         | |check| | |check| |71+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+72| clock_nanosleep     |         |         |         |                 |         |         |         |         |         |         |         |         |         |73+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+74| clock_settime       | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |75+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+76| ctime               | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |77+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+78| ctime_r             | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |79+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+80| difftime            | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |81+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+82| getdate             |         |         |         |                 |         |         |         |         |         |         |         |         |         |83+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+84| gettimeofday        | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |85+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+86| gmtime              | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |87+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+88| gmtime_r            | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |89+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+90| localtime           | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |91+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+92| localtime_r         | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |93+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+94| mktime              | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |95+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+96| nanosleep           | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |97+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+98| strftime            |         |         |         |                 |         |         |         |         |         |         |         |         |         |99+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+100| strptime            |         |         |         |                 |         |         |         |         |         |         |         |         |         |101+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+102| time                | |check| | |check| |         |     |check|     |         |         |         |         |         |         |         |         |         |103+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+104| timer_create        |         |         |         |                 |         |         |         |         |         |         |         |         |         |105+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+106| timer_delete        |         |         |         |                 |         |         |         |         |         |         |         |         |         |107+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+108| timer_gettime       |         |         |         |                 |         |         |         |         |         |         |         |         |         |109+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+110| timer_getoverrun    |         |         |         |                 |         |         |         |         |         |         |         |         |         |111+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+112| timer_settime       |         |         |         |                 |         |         |         |         |         |         |         |         |         |113+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+114| tzset               |         |         |         |                 |         |         |         |         |         |         |         |         |         |115+---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+116