-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
39 lines (32 loc) · 1.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Authors:
Eric Anger, Georgia Institute of Technology
Benjamin Allan, Sandia National Labs
Date: 12/2014
The Lightweight Performance Instrumentation Library (lwperf) is a tool to add
instrumentation to your applications. Simple API calls allow for adding metrics
of interest, starting, and stopping instrumentation. lwperf supports exporting
the data to CSV, Eiger, and SST/macro, and can be used to collect both
execution time and hardware performance counters using PAPI.
* Documentation:
This code is documented in the doc subdirectory. Run 'make' to regenerate
(requires pdflatex).
* Build:
To build using the defaults, run
./configure
make
Support for PAPI, Eiger, and SST/macro need to be enabled explicitly during
configuration with --enable-papi, --enable-eiger, and --enable-sstmac
respectively.
* Install:
After building, run 'make install'.
* Requirements:
See lwperf.pdf. Support for PAPI, Eiger, and SST/macro require each to be
installed, but are not mandatory.
* Parallelism:
The library is thread safe assuming no lwperf_t pointers are shared between
threads.
* PAPI: Hardware Performance Counters:
This build supports the collection of PAPI hardware performance counters during
execution in addition to excution time. This allows for the creation of other
performance metrics, such as power or energy. Support must be explicitly
configured and PAPI must be explicitly initialized during runtime.