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

#include <tracedata.h>

Inheritance diagram for TraceInstr:
Inheritance graph
[legend]

Public Member Functions

 TraceInstr ()
 
virtual ~TraceInstr ()
 
void addInstrCall (TraceInstrCall *)
 
Addr addr () const
 
TraceFunction * function () const
 
bool hasCost (EventType *)
 
const TraceInstrCallList & instrCalls () const
 
TraceInstrJump * instrJump (TraceInstr *to, bool isCondJump)
 
const TraceInstrJumpList & instrJumps () const
 
bool isValid ()
 
TraceLine * line () const
 
virtual QString name () const
 
TracePartInstr * partInstr (TracePart *part, TracePartFunction *partFunction)
 
QString prettyName () const
 
void setAddr (const Addr addr)
 
void setFunction (TraceFunction *f)
 
void setLine (TraceLine *l)
 
- Public Member Functions inherited from TraceListCost
 TraceListCost (ProfileContext *)
 
virtual ~TraceListCost ()
 
void addDep (ProfileCostArray *)
 
TraceCostList & deps ()
 
ProfileCostArray * findDepFromPart (TracePart *)
 
virtual void update ()
 
- 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)
 
virtual void clear ()
 
virtual QString costString (EventTypeSet *)
 
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
 
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 TraceListCost
TraceCostList _deps
 
- Protected Attributes inherited from CostItem
ProfileContext * _context
 
CostItem * _dep
 
bool _dirty
 
CostItem * _position
 

Detailed Description

A code instruction address of the program.

Consists of a list a TracePartInstr from different trace files and a list of TraceInstrCalls if there are calls from this address.

Definition at line 887 of file tracedata.h.

Constructor & Destructor Documentation

TraceInstr::TraceInstr ( )

Definition at line 1286 of file tracedata.cpp.

TraceInstr::~TraceInstr ( )
virtual

Definition at line 1294 of file tracedata.cpp.

Member Function Documentation

void TraceInstr::addInstrCall ( TraceInstrCall *  instrCall)

Definition at line 1344 of file tracedata.cpp.

Addr TraceInstr::addr ( ) const
inline

Definition at line 905 of file tracedata.h.

TraceFunction* TraceInstr::function ( ) const
inline

Definition at line 906 of file tracedata.h.

bool TraceInstr::hasCost ( EventType *  ct)

Definition at line 1301 of file tracedata.cpp.

const TraceInstrCallList& TraceInstr::instrCalls ( ) const
inline

Definition at line 909 of file tracedata.h.

TraceInstrJump * TraceInstr::instrJump ( TraceInstr *  to,
bool  isCondJump 
)

Definition at line 1331 of file tracedata.cpp.

const TraceInstrJumpList& TraceInstr::instrJumps ( ) const
inline

Definition at line 908 of file tracedata.h.

bool TraceInstr::isValid ( )
inline

Definition at line 896 of file tracedata.h.

TraceLine* TraceInstr::line ( ) const
inline

Definition at line 907 of file tracedata.h.

QString TraceInstr::name ( ) const
virtual

Returns dynamic name info (without type)

Reimplemented from CostItem.

Definition at line 1366 of file tracedata.cpp.

bool TraceInstr::onlyActiveParts ( )
inlineprotectedvirtual

Reimplemented from TraceListCost.

Definition at line 918 of file tracedata.h.

TracePartInstr * TraceInstr::partInstr ( TracePart *  part,
TracePartFunction *  partFunction 
)

Definition at line 1317 of file tracedata.cpp.

QString TraceInstr::prettyName ( ) const
virtual

Similar to name, but prettyfied = more descriptive to humans.

Reimplemented from CostItem.

Definition at line 1371 of file tracedata.cpp.

void TraceInstr::setAddr ( const Addr  addr)
inline

Definition at line 913 of file tracedata.h.

void TraceInstr::setFunction ( TraceFunction *  f)
inline

Definition at line 914 of file tracedata.h.

void TraceInstr::setLine ( TraceLine *  l)
inline

Definition at line 915 of file tracedata.h.


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