NAME

PAPI_native - Accessing PAPI native events

CONTENTS

Synopsis
Description
Authors
Bugs
See Also

SYNOPSIS

#include <papi.h>

DESCRIPTION

In addition to the predefined PAPI preset events, the PAPI library also exposes a majority of the events native to each platform. Native events form the basic building blocks for PAPI presets. They can also be used directly to access functions specific to a given platform.

Since native events are by definition specific to each platform, the names for these events are unique to each platform. Native events for a given platform can be discovered by combining the PAPI_enum_event (3) and PAPI_event_code_to_name (3) or PAPI_get_event_info (3) functions.

AUTHORS

The PAPI Team. See them at the PAPI Web Site: http://icl.cs.utk.edu/projects/papi

BUGS

Not every native event on every platform can be represented through the native event interface. Occasionally, exotic but valuable events are not represented. There is presently no method for representing these events in a PAPI event set.

SEE ALSO

PAPI (3), PAPI_presets (3), PAPI_enum_event (3), PAPI_get_event_info (3), PAPI_event_code_to_name (3), PAPI_event_name_to_code (3)


PAPI Programmer’s Reference PAPI_native (3) November, 2003

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