• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kcachegrind

Public Member Functions | List of all members
EventTypeSet Class Reference

#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.

int EventTypeSet::derivedCount ( )
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.

int EventTypeSet::minDerivedIndex ( )
inline

Definition at line 135 of file eventtype.h.

int EventTypeSet::realCount ( )
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:
  • eventtype.h
  • eventtype.cpp
This file is part of the KDE documentation.
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.

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal