about summary refs log tree commit diff
path: root/sysvipc/sys/ipc.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2019-08-28 08:30:28 -0400
committerZack Weinberg <zackw@panix.com>2020-01-06 15:37:00 -0500
commitd5f4d0ac6a14cc3385dc4180698f939ca0ee00f5 (patch)
tree26a19409f53c6bd2d298c94f89dd8bbce1a63c82 /sysvipc/sys/ipc.h
parent9ac2398ef958e164ecbb918547aa493818a22942 (diff)
downloadglibc-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