NAME

PAPI_num_components - return the number of components currently installed

CONTENTS

Synopsis
Description
Arguments
Return Values
Examples
Bugs
See Also

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.

RETURN VALUES

This function returns a value greater than zero.

EXAMPLES


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


BUGS

None.

SEE ALSO

PAPI (3)


PAPI Programmer’s Reference PAPI_num_components (3) April, 2007

  Innovative Computing Laboratory
2001 R&D Winner  
Contact PAPI: papi@cs.utk.edu Computer Science Department
  University of Tennessee