logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pfm_get_version - get library version

Author

       Stephane Eranian <eranian@gmail.com>

                                                 September, 2009                                       LIBPFM(3)

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.

Errors

Name

       pfm_get_version - get library version

Return

       The function is always successful, i.e., it always returns the 32-bit version number.

Synopsis

#include<perfmon/pfmlib.h>intpfm_get_version(void);

See Also