DragonFly-2.3.1.807.gd2412 master sys/kern kern_clock.c sys/sys time.h

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 12 22:27:10 PDT 2009


commit d2412a2eacb9f42231c72200f25bf9604ed6f470
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list