kcachegrind
#include <eventtype.h>
Public Member Functions | |
EventTypeSet () | |
~EventTypeSet () | |
int | add (EventType *) |
int | addKnownDerivedTypes () |
int | addReal (const QString &) |
EventTypeMapping * | createMapping (const QString &types) |
int | derivedCount () |
EventType * | derivedType (int) |
int | index (const QString &) |
int | minDerivedIndex () |
int | realCount () |
int | realIndex (const QString &) |
EventType * | realType (int) |
bool | remove (EventType *) |
EventType * | type (int) |
EventType * | type (const QString &) |
EventType * | typeForLong (const QString &) |
Detailed Description
A class for managing a set of event types.
Each event type has an index:
- Real events are in range [0 .. ProfileCostArray:MaxRealIndex[
- Derived events are in range [MaxRealIndex, ...]
Definition at line 117 of file eventtype.h.
Constructor & Destructor Documentation
EventTypeSet::EventTypeSet | ( | ) |
Definition at line 324 of file eventtype.cpp.
EventTypeSet::~EventTypeSet | ( | ) |
Definition at line 332 of file eventtype.cpp.
Member Function Documentation
int EventTypeSet::add | ( | EventType * | et | ) |
Definition at line 403 of file eventtype.cpp.
int EventTypeSet::addKnownDerivedTypes | ( | ) |
Adds all known derived event types that can be parsed.
Definition at line 536 of file eventtype.cpp.
int EventTypeSet::addReal | ( | const QString & | t | ) |
Definition at line 387 of file eventtype.cpp.
EventTypeMapping * EventTypeSet::createMapping | ( | const QString & | types | ) |
Defines a mapping from indexes into a list of costs to real event types If <create> is false, checks if this is a existing sub set.
Definition at line 341 of file eventtype.cpp.
|
inline |
Definition at line 134 of file eventtype.h.
EventType * EventTypeSet::derivedType | ( | int | t | ) |
Definition at line 468 of file eventtype.cpp.
int EventTypeSet::index | ( | const QString & | name | ) |
Definition at line 523 of file eventtype.cpp.
|
inline |
Definition at line 135 of file eventtype.h.
|
inline |
Definition at line 133 of file eventtype.h.
int EventTypeSet::realIndex | ( | const QString & | name | ) |
Definition at line 514 of file eventtype.cpp.
EventType * EventTypeSet::realType | ( | int | t | ) |
Definition at line 462 of file eventtype.cpp.
bool EventTypeSet::remove | ( | EventType * | t | ) |
Definition at line 433 of file eventtype.cpp.
EventType * EventTypeSet::type | ( | int | t | ) |
Definition at line 475 of file eventtype.cpp.
EventType * EventTypeSet::type | ( | const QString & | name | ) |
Definition at line 487 of file eventtype.cpp.
EventType * EventTypeSet::typeForLong | ( | const QString & | name | ) |
Definition at line 500 of file eventtype.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.