Tools Home
PerfUtil Documentation
Related Documentation Links
General Description
The name PERFUTIL is used to describe a collection of OS-specific
kernel support and tools that allow for general performance functions.
The tools included in the package support
the following functions:
The device driver provides extensions to the kernel to allow access to system memory
and system hardware (performance counters, Real Time Clock, APICs,
etc.), and to implement kernel extensions (Software Trace, CPU Utilization
counters, etc.). The libperfutil library exports an API set accessible from C/C++
and from Java.
The API allows applications to easily access the functions provided by the device driver.
Perfutil API
libperfutil.so exports an API set accessible from C/C++ and Java,
which can be used by user-written applications to access PERFUTIL functions.
See the perfutil.h file for the programming
interface (if needed). When writing code that invokes functions exported
by libperfutil.so, include the perfutil.h header file in the
C/C++ source, and link with the libperfutil.so library file.
Perfutil java support is provided in a named package jperf.
The jperf package is distributed as JPerf.jar in the tools' bin directory
and currently contains the following classes:
- JPerf
- Generic class which provides most of the native methods as well as all
constants (i.e., static final data members) used by all the classes
in the package.
- CpuInfo
- CPU/System information.
- CpuUtil
- CPU Utilization measurement.
- PerThreadTime
- Per-Thread Time accounting.
- PerfCounter
- Hardware Performance Counters access.
- Trace
- SWTRACE/ITrace control and access.
- Msr
- Hardware MSR access.
- RtDriver
- rtdriver control.
Tools Home