a
Mikael Pettersson
mikpe@REDACTED
Fri Oct 18 12:11:22 CEST 2002
Vance Shipley writes:
>
> The R9B-0 configure script has a couple new options:
>
> --enable-tsp (compile tsp app)
> --enable-kernel-poll (enable kernel poll support)
> --with-perfctr=PATH (specify location of perfctr include and lib)
>
> What is perfctr?
perfctr is a Linux/x86 kernel extension and library for accessing
x86 performance-counters. In contrast to other performance-counter
drivers, it fully virtualises the performance counters as a
per-process resource.
Its use in HiPE is currently very basic: as a source for a high-res
process clock using the virtualised time-stamp counter.
The current stable release perfctr-2.4.1 is available at
<http://www.csd.uu.se/~mikpe/linux/perfctr/>.
perfctr is a low-level interface which does not hide any of the
CPU-specific details one must get right when programming performance
counters. Higher-level tools are provided by e.g. PAPI; see
<http://icl.cs.utk.edu/projects/papi/>.
Most users should just ignore the --with-perfctr=PATH option.
/Mikael
More information about the erlang-questions
mailing list