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

#include <tracedata.h>

Inheritance diagram for TracePart:
Inheritance graph
[legend]

Public Member Functions

 TracePart (TraceData *)
 
virtual ~TracePart ()
 
bool activate (bool)
 
QString description () const
 
EventTypeMapping * eventTypeMapping ()
 
bool isActive () const
 
QString name () const
 
bool operator< (const TracePart &) const
 
virtual TracePart * part ()
 
virtual const TracePart * part () const
 
int partNumber () const
 
QString prettyName () const
 
int processID () const
 
void setDescription (const QString &d)
 
void setEventMapping (EventTypeMapping *sm)
 
void setName (const QString &n)
 
void setPartNumber (int n)
 
void setProcessID (int p)
 
void setThreadID (int t)
 
void setTimeframe (const QString &t)
 
void setTrigger (const QString &t)
 
void setVersion (const QString &v)
 
QString shortName () const
 
int threadID () const
 
QString timeframe () const
 
ProfileCostArray * totals ()
 
QString trigger () const
 
QString version () const
 
- 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
 
void setContext (ProfileContext *context)
 
void setDependant (CostItem *d)
 
void setPosition (CostItem *p)
 
QString toString ()
 
ProfileContext::Type type () const
 

Additional Inherited Members

- Static Public Attributes inherited from ProfileCostArray
static const int InvalidIndex = -1
 
static const int MaxRealIndex = MaxRealIndexValue
 
- Protected Member Functions inherited from TraceListCost
virtual bool onlyActiveParts ()
 
- Protected Attributes inherited from TraceListCost
TraceCostList _deps
 
- Protected Attributes inherited from CostItem
ProfileContext * _context
 
CostItem * _dep
 
bool _dirty
 
CostItem * _position
 

Detailed Description

A Trace Part: All data read from a trace file, containing all costs that happened in a specified time interval of the executed command.

Definition at line 655 of file tracedata.h.

Constructor & Destructor Documentation

TracePart::TracePart ( TraceData *  data)

Definition at line 2977 of file tracedata.cpp.

TracePart::~TracePart ( )
virtual

Definition at line 2991 of file tracedata.cpp.

Member Function Documentation

bool TracePart::activate ( bool  active)

Definition at line 3036 of file tracedata.cpp.

QString TracePart::description ( ) const
inline

Definition at line 668 of file tracedata.h.

EventTypeMapping* TracePart::eventTypeMapping ( )
inline

Definition at line 686 of file tracedata.h.

bool TracePart::isActive ( ) const
inline

Definition at line 690 of file tracedata.h.

QString TracePart::name ( ) const
inlinevirtual
Returns
Name of the file this part was loaded from

Reimplemented from CostItem.

Definition at line 667 of file tracedata.h.

bool TracePart::operator< ( const TracePart &  p2) const

Definition at line 3048 of file tracedata.cpp.

virtual TracePart* TracePart::part ( )
inlinevirtual

Reimplemented from CostItem.

Definition at line 661 of file tracedata.h.

virtual const TracePart* TracePart::part ( ) const
inlinevirtual

Reimplemented from CostItem.

Definition at line 662 of file tracedata.h.

int TracePart::partNumber ( ) const
inline

Definition at line 672 of file tracedata.h.

QString TracePart::prettyName ( ) const
virtual

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

Reimplemented from CostItem.

Definition at line 3025 of file tracedata.cpp.

int TracePart::processID ( ) const
inline

Definition at line 674 of file tracedata.h.

void TracePart::setDescription ( const QString &  d)
inline

Definition at line 675 of file tracedata.h.

void TracePart::setEventMapping ( EventTypeMapping *  sm)
inline

Definition at line 685 of file tracedata.h.

void TracePart::setName ( const QString &  n)
inline

Definition at line 679 of file tracedata.h.

void TracePart::setPartNumber ( int  n)

Definition at line 2996 of file tracedata.cpp.

void TracePart::setProcessID ( int  p)

Definition at line 3008 of file tracedata.cpp.

void TracePart::setThreadID ( int  t)

Definition at line 3002 of file tracedata.cpp.

void TracePart::setTimeframe ( const QString &  t)
inline

Definition at line 677 of file tracedata.h.

void TracePart::setTrigger ( const QString &  t)
inline

Definition at line 676 of file tracedata.h.

void TracePart::setVersion ( const QString &  v)
inline

Definition at line 678 of file tracedata.h.

QString TracePart::shortName ( ) const

Definition at line 3016 of file tracedata.cpp.

int TracePart::threadID ( ) const
inline

Definition at line 673 of file tracedata.h.

QString TracePart::timeframe ( ) const
inline

Definition at line 670 of file tracedata.h.

ProfileCostArray* TracePart::totals ( )
inline

Definition at line 683 of file tracedata.h.

QString TracePart::trigger ( ) const
inline

Definition at line 669 of file tracedata.h.

QString TracePart::version ( ) const
inline

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