pfm_get_version(3) — Linux manual page
LIBPFM(3) Linux Programmer's Manual LIBPFM(3)
NAME
pfm_get_version - get library version
SYNOPSIS
#include <perfmon/pfmlib.h>
int pfm_get_version(void);
DESCRIPTION
This function can be called at any time to get the revision level
of the library. It is not necessary to have invoked
pfm_initialize() prior to calling this function.
The revision number is composed of two fields: a major number and
a minor number. Both can be extracted using macros provided in
the header file:
PFMLIB_MAJ_VERSION(v)
returns the major number encoded in v.
PFMLIB_MIN_VERSION(v)
returns the minor number encoded in v.
RETURN
The function is always successful, i.e., it always returns the
32-bit version number.
ERRORS
AUTHOR
Stephane Eranian <eranian@gmail.com>
COLOPHON
This page is part of the perfmon2 (a performance monitoring
library) project. Information about the project can be found at
⟨http://perfmon2.sourceforge.net/⟩. If you have a bug report for
this manual page, send it to
perfmon2-devel@lists.sourceforge.net. This page was obtained
from the project's upstream Git repository
⟨git://git.code.sf.net/p/perfmon2/libpfm4 perfmon2-libpfm4⟩ on
2024-06-14. (At that time, the date of the most recent commit
that was found in the repository was 2024-04-24.) If you
discover any rendering problems in this HTML version of the page,
or you believe there is a better or more up-to-date source for
the page, or you have corrections or improvements to the
information in this COLOPHON (which is not part of the original
manual page), send a mail to man-pages@man7.org