[all-commits] [llvm/llvm-project] dbd319: [libc] cleanup changes to gettimeofday.
rtenneti-google via All-commits
all-commits at lists.llvm.org
Tue Nov 15 15:06:53 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dbd31935ed0384b5d72dd4fc5f0309853b2da844
https://github.com/llvm/llvm-project/commit/dbd31935ed0384b5d72dd4fc5f0309853b2da844
Author: Raman Tenneti <rtenneti at google.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M libc/spec/posix.td
M libc/src/time/gettimeofday.cpp
M libc/test/src/time/gettimeofday_test.cpp
Log Message:
-----------
[libc] cleanup changes to gettimeofday.
+ Deleted duplicate definitions of StructTimeVal and StructTimeValPtr.
+ Caled syscall clock_gettime to get timespec data.
+ Added tests to test for sleeping 200 and 1000 microseconds.
+ Fixed comments from https://reviews.llvm.org/D137881
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D138064
More information about the All-commits
mailing list