看板 FB_hackers 關於我們 聯絡資訊
Greetings, Dag-Erling Sm=C3=B8rgrav wrote: > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes: > =20 >> Stefan Lambrev <stefan.lambrev@moneybookers.com> writes: >> =20 >>> I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this= >>> yield worse performance. >>> =20 >> Try CLOCK_MONOTONIC instead. >> =20 > > 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 > =20 Thanks for your reply. I tested all different combination. The performance change is almost=20 invisible (100-200KB/s), and can't be compared with the performance boost that TSC gain over=20 ACPI-fast timecounter. Unfortunately TSC doesn't play nice with power saving modes. --=20 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 "freebsd-hackers-unsubscribe@freebsd.org"