diff options
author | Zack Weinberg <zackw@panix.com> | 2019-08-28 08:30:28 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2020-01-06 15:37:00 -0500 |
commit | d5f4d0ac6a14cc3385dc4180698f939ca0ee00f5 (patch) | |
tree | 26a19409f53c6bd2d298c94f89dd8bbce1a63c82 /sysvipc/sys/ipc.h | |
parent | 9ac2398ef958e164ecbb918547aa493818a22942 (diff) | |
download | glibc-d5f4d0ac6a14cc3385dc4180698f939ca0ee00f5.tar.gz glibc-d5f4d0ac6a14cc3385dc4180698f939ca0ee00f5.tar.xz glibc-d5f4d0ac6a14cc3385dc4180698f939ca0ee00f5.zip |
Use exclusively clock_gettime to implement gettimeofday.
In 2.31 we changed most ports to implement gettimeofday using clock_gettime(CLOCK_REALTIME[_COARSE]), but we kept around a handful of Linux-specific implementations that went directly to the vDSO. Actual performance testing (on x86-64) indicates that there is no measurable difference between invoking the vDSO directly and calling clock_gettime (which then calls into the vDSO), so remove all of these for simplicity’s sake.
Diffstat (limited to 'sysvipc/sys/ipc.h')
0 files changed, 0 insertions, 0 deletions