op_hw_config.h File Reference

Configuration parameters that are dependent on CPU/architecture. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OP_MAX_COUNTERS   8
 maximum number of counters, up to 4 for Athlon (18 for P4).
#define OP_MAX_PERF_COUNT   2147483647UL
 maximum number of events between interrupts.

Detailed Description

Configuration parameters that are dependent on CPU/architecture.

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie

Define Documentation

#define OP_MAX_COUNTERS   8

maximum number of counters, up to 4 for Athlon (18 for P4).

The primary use of this variable is for static/local array dimension. Never use it in loop or in array index access/index checking unless you know what you made.

Referenced by find_counter_event().

#define OP_MAX_PERF_COUNT   2147483647UL

maximum number of events between interrupts.

Counters are 40 bits, but for convenience we only use 32 bits. The top bit is used for overflow detection, so user can set up to (2^31)-1


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1