看板 DFBSD_commit 關於我們 聯絡資訊
commit d2412a2eacb9f42231c72200f25bf9604ed6f470 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Jul 12 22:12:50 2009 -0700 clocks - Add fine-grained spin delay function via TSC Add int64_t target = tsc_get_target(ns) and tsc_test_target(target). See routines for details. These functions are available when the system supports an extremely fine-grained counter such as a TSC and may be used to generate finely tuned delays. Summary of changes: sys/kern/kern_clock.c | 40 ++++++++++++++++++++++++++++++++++++++++ sys/sys/time.h | 2 ++ 2 files changed, 42 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d2412a2eacb9f42231c72200f25bf9604ed6f470 -- DragonFly BSD source repository