Greetings,

Dag-Erling Smørgrav wrote:
Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes:
Stefan Lambrev <[EMAIL PROTECTED]> writes:
I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this
yield worse performance.
Try CLOCK_MONOTONIC instead.

I forgot - there are also the FreeBSD-specific CLOCK_REALTIME_FAST and
CLOCK_MONOTONIC_FAST if you can live with a little bit of jitter.

DES
Thanks for your reply.
I tested all different combination. The performance change is almost invisible (100-200KB/s), and can't be compared with the performance boost that TSC gain over ACPI-fast timecounter.
Unfortunately TSC doesn't play nice with power saving modes.

--

Best Wishes,
Stefan Lambrev
ICQ# 24134177


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to