new version of PCL (Performance Counter Library)

"R.Berrendorf" <>
28 Jul 1999 01:51:41 -0400

          From comp.compilers

Related articles
new version of PCL (Performance Counter Library) (R.Berrendorf) (1999-07-28)
| List of all articles for this month |

From: "R.Berrendorf" <>
Newsgroups: comp.compilers
Date: 28 Jul 1999 01:51:41 -0400
Organization: Forschungszentrum Juelich
Keywords: tools, available

                          PCL - The Performance Counter Library
                                      Version 1.2, July 1999

PCL (The Performance Counter Library) is a common interface to access
in portable way performance counters built into modern
microprocessors. PCL supports query for functionality, start and stop
of counters, and reading the current values out of the
counters. Performance counting can be done in user mode, system, and
user-or-system mode. Functions are callable from C, C++, Fortran, and

Currently, the following systems are supported:

    - SUN Solaris 2.x, Solaris 7 with UltraSPARC I,II
    - Linux 2.0.x, 2.1.x, and 2.2.x with Pentium/PPro/Pentium II/Pentium
    - Digital Unix with Alpha 21164, 21264
    - Cray T3E with Alpha 21164
    - SGI IRIX with R10000
    - IBM AIX <= 4.2 with PowerPC 604e

The homepage of PCL can be found at

were you can find the source and a detailled description of PCL
including a description of performance counters on various

Rough overview of changes from version 1.1:
- The full PCL package is now free software with a BSD-style copyright.

      See file "DISCLAIMER" for details.
- slightly modified interface to PCLread and PCLstop
- Java interface added
- support for more processor types / operating systems
- reduced overhead for PCL-calls
- minor changes to supported events (including elapsed cycle counter,

The software is copyrighted. Copyright 1998,1999 by Forschungszentrum
GmbH, Federal Republic of Germany.

PCL uses the following packages (see the documentation for details):
    - Linux : msr-device (Stephan Meyer)
    - Solaris: perfmon (Richard Enbody)
    - AIX : PMapi (IBM)

Have fun,

Rudolf Berrendorf and Heinz Ziegler

Dr. Rudolf Berrendorf Phone: +49 (2461) 61-3218
Zentralinstitut fuer Angewandte Mathematik Fax : +49 (2461) 61-6656
Forschungszentrum Juelich E-mail:
D-52425 Juelich, Germany

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.