[libc-commits] [PATCH] D138064: [libc] cleanup changes to gettimeofday.

Raman Tenneti via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Nov 15 14:20:06 PST 2022


rtenneti created this revision.
rtenneti added reviewers: michaelrj, sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
rtenneti requested review of this revision.

+ 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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138064

Files:
  libc/spec/posix.td
  libc/src/time/gettimeofday.cpp
  libc/test/src/time/gettimeofday_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138064.475576.patch
Type: text/x-patch
Size: 3698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221115/0c333c20/attachment-0001.bin>


More information about the libc-commits mailing list