Re: TSC instead of ACPI: powerd doesn't work anymore (to be expected?)

From: David Xu (davidxu_at_freebsd.org)
Date: 10/31/05

  • Next message: Poul-Henning Kamp: "Re: TSC instead of ACPI: powerd doesn't work anymore (to be expected?)"
    Date: Mon, 31 Oct 2005 18:18:35 +0800
    To: Robert Watson <rwatson@freebsd.org>
    
    

    Robert Watson wrote:
    >
    >
    > It has been suggested that the former can operate quite well with
    > significantly reduced quality. It has alos been suggested that most
    > applications could operate fine with somewhat reduced quality, but that
    > the API definitions don't say anything about how to specify application
    > quality requirements vs performance requirements for time measurement.

    Can we change gettimeofday and clock_gettime to lower resolution now?
    I think 1000hz/s is enough for most applications, since a thread can
    never sleep shorter than a tick for years. We can introduce
    hrtime_t clock_gethrtime(clockid_t clock) to get hi-resolution time
    as the one seen in RTLinux, or gethrtime() as seen in Solaris (Daniel
    Eischen said?)

    David Xu

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Poul-Henning Kamp: "Re: TSC instead of ACPI: powerd doesn't work anymore (to be expected?)"