LIBPFM - Online Linux Manual PageSection : 3
Updated : November, 2006
Source :
Note : Linux Programmer's Manual

NAMElibpfm_core - support for Intel Atom processor family

SYNOPSIS#include <perfmon/pfmlib.h> #include <perfmon/pfmlib_intel_atom.h>

DESCRIPTION The libpfm library provides full support for the Intel Atom processor. This processor implements Intel architectural perfmon v3 with Precise Event-Based Sampling (PEBS) support. It also implements all architected events to which it adds lots of Atom specific events. The libpfm interface is defined in pfmlib_intel_atom.h. It consists of a set of functions and structures which describe and allow access to the Intel Atom processor specific PMU features. When Intel Atom processor specific features are needed to support a measurement, their descriptions must be passed as model-specific input arguments to the pfm_dispatch_events() function. The Intel Atom processors specific input arguments are described in the pfmlib_intel_atom_input_param_t structure. No output parameters are currently defined. The input parameters are defined as follows: typedef struct { unsigned int cnt_mask; unsigned int flags; } pfmlib_intel_atom_counter_t; typedef struct { pfmlib_intel_atom_counter_t pfp_intel_atom_counters[PMU_INTEL_ATOM_NUM_COUNTERS]; unsigned int pfp_intel_atom_pebs_used; uint64_t reserved[4]; } pfmlib_core_input_param_t;The Intel Atom processor provides several additional per-event features for counters: thresholding, inversion, edge detection, monitoring both threads. They can be set using the pfp_intel_atom_counters data structure for each event. The flags field can be initialized with any combinations of the following values: PFMLIB_INTEL_ATOM_SEL_INV  Inverse the results of the cnt_mask comparison when set PFMLIB_INTEL_ATOM_SEL_EDGE  Enable edge detection of events. PFMLIB_INTEL_ATOM_SEL_ANYTHR  Enable measuring the event in any of the two threads. By default only the current thread is measured. The cnt_mask field is used to set the event threshold. The value of the counter is incremented each time the number of occurrences per cycle of the event is greater or equal to the value of the field. Thus the event is modified to actually measure the number of qualifying cycles. When zero all occurrences are counted (this is the default).

Support for Precise-Event Based Sampling (PEBS)The library can be used to setup the PMC registers when using PEBS. In this case, the pfp_intel_atom_pebs_used field must be set to 1. When using PEBS, it is not possible to use more than one event.

ERRORSRefer to the description of the pfm_dispatch_events() function for errors.

SEE ALSOpfm_dispatch_events(3) and set of examples shipped with the library

AUTHORStephane Eranian <eranian@gmail.com>
0
Johanes Gumabo
Data Size   :   7,488 byte
man-libpfm_atom.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 199,038
Visitor ID   :     :  
Visitor IP   :   18.216.167.229   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.