summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-tsc-khz.c
Commit message (Collapse)AuthorAgeFilesLines
* 2008-03-17 Eugene Teo <eteo@redhat.com>eteo2008-03-171-1/+1
| | | | | | PR 5947 * autoconf-tsc-khz.c: Remove "&& defined(__i386__)" to make the test more pessimistic.
* 2007-10-17 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-171-0/+4
| | | | | * autoconf-tsc-khz.c: Not to be compiled if the kernel version is younger than 2.6.23 on i386.
* 2007-10-15 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-10-151-1/+1
| | | | * autoconf-tsc-khz.c: Fix a bug to be configured correctly.
* 2007-09-24 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-09-241-0/+3
PR 3916 * buildrun.cxx (compile_pass): Add new autoconf options for checking time related APIs. * time.c (stp_time_t): Rename cpufreq to freq. (__stp_get_freq): Rename from __stp_estimate_cpufreq. Use tsc_khz or cpu_khz if it is available. Use itc_freq on ia64. (__stp_ktime_get_real_ts): New function to get current kernel time. (__stp_time_timer_callback): Call __stp_ktime_get_real_ts to get base time. (__stp_init_time): Ditto. (__stp_constant_freq): New function to check the processor has constant frequency timestamp counter. (_stp_kill_time): Don't use the cpufreq notifier if the processor has constant frequency timestamp counter. (_stp_init_time): Ditto. * autoconf-ktime-get-real.c : New file. * autoconf-constant-tsc.c: Ditto. * autoconf-tsc-khz.c: Ditto.