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

#include <tracedata.h>

Inheritance diagram for TraceLine:
Inheritance graph
[legend]

Public Member Functions

 TraceLine ()
 
virtual ~TraceLine ()
 
void addLineCall (TraceLineCall *)
 
TraceFunctionSource * functionSource () const
 
bool hasCost (EventType *)
 
bool isValid ()
 
const TraceLineCallList & lineCalls () const
 
TraceLineJump * lineJump (TraceLine *to, bool isCondJump)
 
const TraceLineJumpList & lineJumps () const
 
uint lineno () const
 
virtual QString name () const
 
TracePartLine * partLine (TracePart *part, TracePartFunction *partFunction)
 
QString prettyName () const
 
void setLineno (uint lineno)
 
void setSourceFile (TraceFunctionSource *sf)
 
- 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 source line of the program.

Consists of a list a TracePartLines from different trace files and a list of TraceLineCalls if there are calls from this line.

Definition at line 935 of file tracedata.h.

Constructor & Destructor Documentation

TraceLine::TraceLine ( )

Definition at line 1380 of file tracedata.cpp.

TraceLine::~TraceLine ( )
virtual

Definition at line 1387 of file tracedata.cpp.

Member Function Documentation

void TraceLine::addLineCall ( TraceLineCall *  lineCall)

Definition at line 1438 of file tracedata.cpp.

TraceFunctionSource* TraceLine::functionSource ( ) const
inline

Definition at line 954 of file tracedata.h.

bool TraceLine::hasCost ( EventType *  ct)

Definition at line 1394 of file tracedata.cpp.

bool TraceLine::isValid ( )
inline

Definition at line 952 of file tracedata.h.

const TraceLineCallList& TraceLine::lineCalls ( ) const
inline

Definition at line 956 of file tracedata.h.

TraceLineJump * TraceLine::lineJump ( TraceLine *  to,
bool  isCondJump 
)

Definition at line 1426 of file tracedata.cpp.

const TraceLineJumpList& TraceLine::lineJumps ( ) const
inline

Definition at line 957 of file tracedata.h.

uint TraceLine::lineno ( ) const
inline

Definition at line 955 of file tracedata.h.

QString TraceLine::name ( ) const
virtual

Returns dynamic name info (without type)

Reimplemented from CostItem.

Definition at line 1475 of file tracedata.cpp.

bool TraceLine::onlyActiveParts ( )
inlineprotectedvirtual

Reimplemented from TraceListCost.

Definition at line 964 of file tracedata.h.

TracePartLine * TraceLine::partLine ( TracePart *  part,
TracePartFunction *  partFunction 
)

Definition at line 1410 of file tracedata.cpp.

QString TraceLine::prettyName ( ) const
virtual

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

Reimplemented from CostItem.

Definition at line 1485 of file tracedata.cpp.

void TraceLine::setLineno ( uint  lineno)
inline

Definition at line 961 of file tracedata.h.

void TraceLine::setSourceFile ( TraceFunctionSource *  sf)
inline

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