Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 1997 10:16:26 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/isa prof_machdep.c
Message-ID:  <199711241816.KAA22049@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1997/11/24 10:16:26 PST

  Modified files:
    sys/i386/isa         prof_machdep.c 
  Log:
  Added a sysctl (machdep.cputime_clock) to select the clock used by
  "high resolution" profiling.  The available clocks are:
  - the i8254 clock
  - on non-SMP i586's and i686's: the TSC
  - on systems with I586_PMC_GUPROF configured, and PERFMON configured
    and available: all the performance counters.
  This is unfinshed (there are problems with locking out the PERFMON
  device driver, and with losing calibration after switching the clock),
  but better than static configuration or writing to kmem.
  
  Changed ifdefs to avoid generating code for non-working option
  combinations.
  
  Revision  Changes    Path
  1.7       +55 -11    src/sys/i386/isa/prof_machdep.c



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