PAPIC:PAPI num components.3
From PAPIDocs
Jump to: navigation, search


Contents

NAME

  • PAPI_num_components - return the number of components currently installed

Synopsis

C Interface

#include <papi.h>
int PAPI_num_components();

Description

PAPI_num_components() returns the number of counting components installed in the library.

Arguments

This function takes no arguments.

Examples

/* Query the library for a component count. */
printf("%d components installed.\n", PAPI_num_components());

Bugs

None.

See Also

PAPI(3)