pfm_initialize(3) centos man page | unix.com

Man Page: pfm_initialize

Operating Environment: centos

Section: 3

LIBPFM(3)						     Linux Programmer's Manual							 LIBPFM(3)

NAME
pfm_initialize - initialize library
SYNOPSIS
#include <perfmon/pfmlib.h> int pfm_initialize(void);
DESCRIPTION
This is the first function that a program must call otherwise the library will not function at all. This function probes the underlying hardware looking for valid PMUs event tables to activate. Multiple distinct PMU tables may be activated at the same time. The function must be called only once.
RETURN
The function returns whether or not it was successful, i.e., at least one PMU was activated. A return value of PFMLIB_SUCCESS indicates success, otherwise the value is an error code.
ERRORS
PFMLIB_ERR_NOTSUPP No PMU was activated.
AUTHOR
Stephane Eranian <eranian@gmail.com> September, 2009 LIBPFM(3)
Related Man Pages
libpfm_intel_coreduo(3) - centos
libpfm_intel_p6(3) - centos
libpfm_intel_snb_unc(3) - centos
libpfm_intel_wsm(3) - centos
pfm_get_pmu_info(3) - centos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
DB2 convert digits to binary format
Controlling user input
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!