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

kcachegrind

Public Member Functions | Protected Member Functions | List of all members
TraceCall Class Reference

#include <tracedata.h>

Inheritance diagram for TraceCall:
Inheritance graph
[legend]

Public Member Functions

 TraceCall (TraceFunction *caller, TraceFunction *called)
 
virtual ~TraceCall ()
 
TraceFunction * called (bool skipCycle=false) const
 
QString calledName (bool skipCycle=false) const
 
TraceFunction * caller (bool skipCycle=false) const
 
QString callerName (bool skipCycle=false) const
 
int inCycle ()
 
TraceInstrCall * instrCall (TraceInstr *)
 
const TraceInstrCallList & instrCalls () const
 
void invalidateDynamicCost ()
 
bool isRecursion ()
 
TraceLineCall * lineCall (TraceLine *)
 
const TraceLineCallList & lineCalls () const
 
virtual QString name () const
 
TracePartCall * partCall (TracePart *, TracePartFunction *, TracePartFunction *)
 
FixCallCost * setFirstFixCost (FixCallCost *fc)
 
void update ()
 
- Public Member Functions inherited from TraceCallListCost
 TraceCallListCost (ProfileContext *)
 
virtual ~TraceCallListCost ()
 
void addDep (TraceCallCost *)
 
TraceCallCostList deps ()
 
TraceCallCost * findDepFromPart (TracePart *)
 
- Public Member Functions inherited from TraceCallCost
 TraceCallCost (ProfileContext *)
 
virtual ~TraceCallCost ()
 
void addCallCount (SubCost c)
 
SubCost callCount ()
 
virtual void clear ()
 
virtual QString costString (EventTypeSet *m)
 
QString prettyCallCount ()
 
- 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 ()
 
virtual QString formattedName () const
 
QString fullName () const
 
virtual TracePart * part ()
 
virtual const TracePart * part () const
 
virtual QString prettyName () const
 
void setContext (ProfileContext *context)
 
void setDependant (CostItem *d)
 
void setPosition (CostItem *p)
 
QString toString ()
 
ProfileContext::Type type () const
 

Protected Member Functions

bool onlyActiveParts ()
 

Additional Inherited Members

- Static Public Attributes inherited from ProfileCostArray
static const int InvalidIndex = -1
 
static const int MaxRealIndex = MaxRealIndexValue
 
- Protected Attributes inherited from TraceCallListCost
TraceCallCostList _deps
 
- Protected Attributes inherited from TraceCallCost
SubCost _callCount
 
- Protected Attributes inherited from CostItem
ProfileContext * _context
 
CostItem * _dep
 
bool _dirty
 
CostItem * _position
 

Detailed Description

A call from one to another function.

Consists of a list a TraceLineCalls

Definition at line 835 of file tracedata.h.

Constructor & Destructor Documentation

TraceCall::TraceCall ( TraceFunction *  caller,
TraceFunction *  called 
)

Definition at line 1117 of file tracedata.cpp.

TraceCall::~TraceCall ( )
virtual

Definition at line 1125 of file tracedata.cpp.

Member Function Documentation

TraceFunction * TraceCall::called ( bool  skipCycle = false) const

Definition at line 1235 of file tracedata.cpp.

QString TraceCall::calledName ( bool  skipCycle = false) const

Definition at line 1264 of file tracedata.cpp.

TraceFunction * TraceCall::caller ( bool  skipCycle = false) const

Definition at line 1230 of file tracedata.cpp.

QString TraceCall::callerName ( bool  skipCycle = false) const

Definition at line 1248 of file tracedata.cpp.

int TraceCall::inCycle ( )

Definition at line 1202 of file tracedata.cpp.

TraceInstrCall * TraceCall::instrCall ( TraceInstr *  i)

Definition at line 1147 of file tracedata.cpp.

const TraceInstrCallList& TraceCall::instrCalls ( ) const
inline

Definition at line 864 of file tracedata.h.

void TraceCall::invalidateDynamicCost ( )

Definition at line 1183 of file tracedata.cpp.

bool TraceCall::isRecursion ( )
inline

Definition at line 844 of file tracedata.h.

TraceLineCall * TraceCall::lineCall ( TraceLine *  l)

Definition at line 1165 of file tracedata.cpp.

const TraceLineCallList& TraceCall::lineCalls ( ) const
inline

Definition at line 863 of file tracedata.h.

QString TraceCall::name ( ) const
virtual

Returns dynamic name info (without type)

Reimplemented from CostItem.

Definition at line 1195 of file tracedata.cpp.

bool TraceCall::onlyActiveParts ( )
inlineprotectedvirtual

Reimplemented from TraceCallListCost.

Definition at line 870 of file tracedata.h.

TracePartCall * TraceCall::partCall ( TracePart *  part,
TracePartFunction *  partCaller,
TracePartFunction *  partCalling 
)

Definition at line 1132 of file tracedata.cpp.

FixCallCost* TraceCall::setFirstFixCost ( FixCallCost *  fc)
inline

Definition at line 866 of file tracedata.h.

void TraceCall::update ( )
virtual

Updates cost attributes.

This has to be called by subclasses that access cost attributes directly

Reimplemented from TraceCallListCost.

Definition at line 1212 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