• 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 Attributes | List of all members
TraceJumpCost Class Reference

#include <tracedata.h>

Inheritance diagram for TraceJumpCost:
Inheritance graph
[legend]

Public Member Functions

 TraceJumpCost (ProfileContext *)
 
virtual ~TraceJumpCost ()
 
void addCost (TraceJumpCost *)
 
void addExecutedCount (SubCost c)
 
void addFollowedCount (SubCost c)
 
virtual void clear ()
 
virtual QString costString (EventTypeSet *m)
 
SubCost executedCount ()
 
SubCost followedCount ()
 
- 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 void invalidate ()
 
virtual QString name () 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 Attributes

SubCost _executedCount
 
SubCost _followedCount
 
- Protected Attributes inherited from CostItem
ProfileContext * _context
 
CostItem * _dep
 
bool _dirty
 
CostItem * _position
 

Additional Inherited Members

- Protected Member Functions inherited from CostItem
virtual void update ()
 

Detailed Description

Cost of a (conditional) jump.

Definition at line 201 of file tracedata.h.

Constructor & Destructor Documentation

TraceJumpCost::TraceJumpCost ( ProfileContext *  c)

Definition at line 46 of file tracedata.cpp.

TraceJumpCost::~TraceJumpCost ( )
virtual

Definition at line 52 of file tracedata.cpp.

Member Function Documentation

void TraceJumpCost::addCost ( TraceJumpCost *  item)

Definition at line 84 of file tracedata.cpp.

void TraceJumpCost::addExecutedCount ( SubCost  c)
inline

Definition at line 217 of file tracedata.h.

void TraceJumpCost::addFollowedCount ( SubCost  c)
inline

Definition at line 216 of file tracedata.h.

void TraceJumpCost::clear ( )
virtual

Set all cost counters to zero.

Reimplemented from CostItem.

Definition at line 78 of file tracedata.cpp.

QString TraceJumpCost::costString ( EventTypeSet *  )
virtual

Returns text of all cost metrics.

Reimplemented from CostItem.

Definition at line 69 of file tracedata.cpp.

SubCost TraceJumpCost::executedCount ( )

Definition at line 55 of file tracedata.cpp.

SubCost TraceJumpCost::followedCount ( )

Definition at line 62 of file tracedata.cpp.

Member Data Documentation

SubCost TraceJumpCost::_executedCount
protected

Definition at line 220 of file tracedata.h.

SubCost TraceJumpCost::_followedCount
protected

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