• 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
TraceFunctionCycle Class Reference

#include <tracedata.h>

Inheritance diagram for TraceFunctionCycle:
Inheritance graph
[legend]

Public Member Functions

 TraceFunctionCycle (TraceFunction *, int n)
 
void add (TraceFunction *)
 
TraceFunction * base () const
 
int cycleNo () const
 
void init ()
 
const TraceFunctionList & members () const
 
void setup ()
 
- Public Member Functions inherited from TraceFunction
 TraceFunction ()
 
 TraceFunction (TraceData *data, const QString &name, TraceClass *cls, TraceFile *file, TraceObject *object)
 
virtual ~TraceFunction ()
 
void addAssoziation (TraceAssoziation *a)
 
void addCaller (TraceCall *)
 
void addPrettyLocation (QString &, int maxFiles=1) const
 
TraceAssoziation * assoziation (int rtti)
 
int calledContexts ()
 
SubCost calledCount ()
 
TraceCallList callers (bool skipCycle=false) const
 
TraceCall * calling (TraceFunction *called)
 
int callingContexts ()
 
SubCost callingCount ()
 
const TraceCallList & callings (bool skipCycle=false) const
 
TraceClass * cls () const
 
TraceFunctionCycle * cycle ()
 
void cycleDFS (int d, int &pNo, TraceFunction **pTop)
 
void cycleReset ()
 
TraceFile * file () const
 
Addr firstAddress () const
 
QString formattedName () const
 
QString info () const
 
TraceInstr * instr (Addr addr, bool createNew=true)
 
TraceInstrMap * instrMap ()
 
void invalidateAssoziation (int rtti)
 
void invalidateDynamicCost ()
 
bool isCycle ()
 
bool isCycleMember ()
 
Addr lastAddress () const
 
TraceLine * line (TraceFile *, uint lineno, bool createNew=true)
 
QString location (int maxFiles=0) const
 
TraceObject * object () const
 
TracePartFunction * partFunction (TracePart *, TracePartFile *, TracePartObject *)
 
QString prettyCalledCount ()
 
QString prettyCallingCount ()
 
QString prettyLocation (int maxFiles=0) const
 
QString prettyName () const
 
QString prettyNameWithLocation (int maxFiles=1) const
 
void removeAssoziation (TraceAssoziation *a)
 
void removeAssoziation (int rtti, bool reallyDelete=true)
 
void setClass (TraceClass *cls)
 
void setCycle (TraceFunctionCycle *c)
 
void setFile (TraceFile *file)
 
void setObject (TraceObject *object)
 
TraceFunctionSource * sourceFile (TraceFile *file=0, bool createNew=false)
 
const TraceFunctionSourceList & sourceFiles () const
 
virtual void update ()
 
- Public Member Functions inherited from TraceCostItem
 TraceCostItem (ProfileContext *)
 
virtual ~TraceCostItem ()
 
virtual QString name () const
 
virtual void setName (const QString &name)
 
- Public Member Functions inherited from TraceInclusiveListCost
 TraceInclusiveListCost (ProfileContext *)
 
virtual ~TraceInclusiveListCost ()
 
void addDep (TraceInclusiveCost *)
 
TraceInclusiveCostList deps ()
 
TraceInclusiveCost * findDepFromPart (TracePart *)
 
- Public Member Functions inherited from TraceInclusiveCost
 TraceInclusiveCost (ProfileContext *)
 
virtual ~TraceInclusiveCost ()
 
void addInclusive (ProfileCostArray *)
 
virtual void clear ()
 
virtual QString costString (EventTypeSet *m)
 
ProfileCostArray * inclusive ()
 
- Public Member Functions inherited from ProfileCostArray
 ProfileCostArray (ProfileContext *)
 
 ProfileCostArray ()
 
virtual ~ProfileCostArray ()
 
void addCost (EventTypeMapping *, const char *)
 
void addCost (EventTypeMapping *, FixString &)
 
void addCost (ProfileCostArray *item)
 
void addCost (int index, SubCost value)
 
ProfileCostArray diff (ProfileCostArray *item)
 
virtual void invalidate ()
 
void maxCost (EventTypeMapping *, FixString &)
 
void maxCost (ProfileCostArray *item)
 
void maxCost (int index, SubCost value)
 
QString prettySubCost (EventType *)
 
QString prettySubCostPerCall (EventType *t, int calls)
 
void reserve (int)
 
void set (EventTypeMapping *, const char *)
 
void set (EventTypeMapping *, FixString &)
 
SubCost subCost (EventType *)
 
- Public Member Functions inherited from CostItem
 CostItem (ProfileContext *)
 
virtual ~CostItem ()
 
ProfileContext * context () const
 
virtual TraceData * data ()
 
virtual const TraceData * data () const
 
CostItem * dependant ()
 
QString fullName () const
 
virtual TracePart * part ()
 
virtual const TracePart * part () const
 
void setContext (ProfileContext *context)
 
void setDependant (CostItem *d)
 
void setPosition (CostItem *p)
 
QString toString ()
 
ProfileContext::Type type () const
 

Additional Inherited Members

- Static Public Member Functions inherited from TraceFunction
static QString prettyEmptyName ()
 
- Static Public Attributes inherited from ProfileCostArray
static const int InvalidIndex = -1
 
static const int MaxRealIndex = MaxRealIndexValue
 
- Protected Member Functions inherited from TraceCostItem
bool onlyActiveParts ()
 
- Protected Attributes inherited from TraceFunction
TraceCallList _callers
 
TraceCallList _callings
 
TraceFunctionCycle * _cycle
 
- Protected Attributes inherited from TraceCostItem
QString _name
 
- Protected Attributes inherited from TraceInclusiveListCost
TraceInclusiveCostList _deps
 
- Protected Attributes inherited from TraceInclusiveCost
ProfileCostArray _inclusive
 
- Protected Attributes inherited from CostItem
ProfileContext * _context
 
CostItem * _dep
 
bool _dirty
 
CostItem * _position
 

Detailed Description

A cycle of recursive calling functions.

This is itself shown as a function

Definition at line 1241 of file tracedata.h.

Constructor & Destructor Documentation

TraceFunctionCycle::TraceFunctionCycle ( TraceFunction *  f,
int  n 
)

Definition at line 2641 of file tracedata.cpp.

Member Function Documentation

void TraceFunctionCycle::add ( TraceFunction *  f)

Definition at line 2668 of file tracedata.cpp.

TraceFunction* TraceFunctionCycle::base ( ) const
inline

Definition at line 1252 of file tracedata.h.

int TraceFunctionCycle::cycleNo ( ) const
inline

Definition at line 1253 of file tracedata.h.

void TraceFunctionCycle::init ( )

Definition at line 2658 of file tracedata.cpp.

const TraceFunctionList& TraceFunctionCycle::members ( ) const
inline

Definition at line 1254 of file tracedata.h.

void TraceFunctionCycle::setup ( )

Definition at line 2673 of file tracedata.cpp.


The documentation for this class was generated from the following files:
  • tracedata.h
  • tracedata.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