Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 06:42:01 -0800 (PST)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys _mutex.h src/sys/kern kern_mutex.c
Message-ID:  <200204021442.g32Eg3M18654@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         2002/04/02 06:42:01 PST

  Modified files:
    sys/sys              _mutex.h 
    sys/kern             kern_mutex.c 
  Log:
  Instead of get_cyclecount(9), use nanotime(9) to record acquisition and
  release times.  Measurements are made and stored in nanoseconds but
  presented in microseconds, which should be sufficient for the locks for
  which we actually want this (those that are held long and / or often).
  Also, rename some variables and structure members to unit-agnostic names.
  
  Revision  Changes    Path
  1.85      +28 -19    src/sys/kern/kern_mutex.c
  1.6       +1 -1      src/sys/sys/_mutex.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204021442.g32Eg3M18654>