Hi. > I wonder why the choice is to use (actually, call) the value > "microseconds" rather use a bintime or something scaled and with a > well defined resolution.
It was kind of engineering choice. I've chosen microseconds, following values used by ACPI to represent CPU sleep states exit latencies. Now that is the only usage for that value. If CPUs so much reduce wakeup latencies to make this scale too coarse, this type will be the smallest of our optimization tasks. On the other side, I have some doubts that we will be able to reach supported 2048 seconds limit on the integer side. Now even completely empty idle system has about 30 interrupts per second, that is far from 0.0005. From the other side, I don't know any system where CPUs have 2048 seconds wakeup latency.
-- Alexander Motin _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"