]> sourceware.org Git - glibc.git/commit
Remove __get_clockfreq
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 8 Feb 2019 16:53:40 +0000 (16:53 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 22 Mar 2019 19:52:29 +0000 (16:52 -0300)
commit6e8ba7fd574f530afb9681f21604475d5756d773
tree6cf03b2d688118ae69cfb67d634f914fbc945990
parent77b6f5534778b5403c87fa5415625aeb4c3cbf44
Remove __get_clockfreq

With clock_getres, clock_gettime, and clock_settime refactor to remove the
generic CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID support through
hp-timing, there is no usage of internal __get_clockfreq.  This patch removes
both generic and Linux implementation..

Checked with a build against aarch64-linux-gnu, i686-linux-gnu, ia64-linux-gnu,
sparc64-linux-gnu, powerpc-linux-gnu-power4.

* include/libc-internal.h (__get_clockfreq): Remove prototype.
* rt/Makefile (clock-routines): Remove get_clockfreq.
* rt/get_clockfreq.c: Remove file.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
* sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
ChangeLog
include/libc-internal.h
rt/Makefile
rt/get_clockfreq.c [deleted file]
sysdeps/unix/sysv/linux/i386/get_clockfreq.c [deleted file]
sysdeps/unix/sysv/linux/ia64/get_clockfreq.c [deleted file]
sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c [deleted file]
sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c [deleted file]
This page took 0.045395 seconds and 5 git commands to generate.