diff --git a/libc/docs/headers/time.rst b/libc/docs/headers/time.rst index f07e0d93a4ce6..d1030ca339a61 100644 --- a/libc/docs/headers/time.rst +++ b/libc/docs/headers/time.rst @@ -71,7 +71,7 @@ Implementation Status +---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ | clock_nanosleep | | | | | | | | | | | | | | +---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ -| clock_settime | |check| | |check| | | |check| | | | | | | | | | | +| clock_settime | |check| | |check| | | |check| | | | | | | | | | |check| | +---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ | ctime | |check| | |check| | | |check| | | | | | | | | | | +---------------------+---------+---------+---------+-----------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ diff --git a/libc/src/time/gpu/clock.cpp b/libc/src/time/gpu/clock.cpp index 8609c5cd6b6b7..4e273866f160f 100644 --- a/libc/src/time/gpu/clock.cpp +++ b/libc/src/time/gpu/clock.cpp @@ -1,4 +1,4 @@ -//===-- GPU implementation of the clock function --------------------------===// +//===---------- GPU implementation of the clock function ------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/libc/src/time/gpu/clock_gettime.cpp b/libc/src/time/gpu/clock_gettime.cpp index 81547ef7f1ca6..8099a569f46db 100644 --- a/libc/src/time/gpu/clock_gettime.cpp +++ b/libc/src/time/gpu/clock_gettime.cpp @@ -1,4 +1,4 @@ -//===---------- GPU implementation of the POSIX clock_gettime function ----===// +//===---------- GPU implementation of the clock_gettime function ----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/libc/src/time/gpu/clock_settime.cpp b/libc/src/time/gpu/clock_settime.cpp new file mode 100644 index 0000000000000..3354cdfeb0cf0 --- /dev/null +++ b/libc/src/time/gpu/clock_settime.cpp @@ -0,0 +1,7 @@ +//===---------- GPU implementation of the clock_settime function ----------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// diff --git a/libc/src/time/gpu/nanosleep.cpp b/libc/src/time/gpu/nanosleep.cpp index d22d9d6bd8d79..3cccbc9055514 100644 --- a/libc/src/time/gpu/nanosleep.cpp +++ b/libc/src/time/gpu/nanosleep.cpp @@ -1,4 +1,4 @@ -//===-- GPU implementation of the nanosleep function ----------------------===// +//===---------- GPU implementation of the nanosleep function --------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. diff --git a/libc/src/time/gpu/timespec_get.cpp b/libc/src/time/gpu/timespec_get.cpp index 0dd128444aa8e..7b24c9e5f71e9 100644 --- a/libc/src/time/gpu/timespec_get.cpp +++ b/libc/src/time/gpu/timespec_get.cpp @@ -1,4 +1,4 @@ -//===-- Implementation of timespec_get for gpu ----------------------------===// +//===---------- GPU implementation of the timespec_get function -----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information.