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

kcachegrind

Public Types | Public Member Functions | Static Public Member Functions | List of all members
ProfileContext Class Reference

#include <context.h>

Public Types

enum  Type {
  InvalidType = 0, UnknownType, PartInstr, Instr,
  PartLine, Line, PartInstrJump, InstrJump,
  PartLineJump, LineJump, PartInstrCall, InstrCall,
  PartLineCall, LineCall, PartCall, Call,
  PartLineRegion, LineRegion, PartFunction, FunctionSource,
  Function, FunctionCycle, PartClass, Class,
  ClassCycle, PartFile, File, FileCycle,
  PartObject, Object, ObjectCycle, Part,
  Data, MaxType
}
 

Public Member Functions

 ProfileContext (ProfileContext::Type=InvalidType)
 
ProfileContext::Type type ()
 

Static Public Member Functions

static void cleanup ()
 
static ProfileContext * context (ProfileContext::Type)
 
static Type i18nType (const QString &)
 
static QString i18nTypeName (Type)
 
static Type type (const QString &)
 
static QString typeName (Type)
 

Detailed Description

Base class for source contexts which event costs contained in a ProfileData instance, ie.

a profiling experiment, can relate to.

This only includes code/source related context. Any other cost context such as thread number, see DataContext, which relates to ProfileData.

Definition at line 32 of file context.h.

Member Enumeration Documentation

enum ProfileContext::Type
Enumerator
InvalidType 
UnknownType 
PartInstr 
Instr 
PartLine 
Line 
PartInstrJump 
InstrJump 
PartLineJump 
LineJump 
PartInstrCall 
InstrCall 
PartLineCall 
LineCall 
PartCall 
Call 
PartLineRegion 
LineRegion 
PartFunction 
FunctionSource 
Function 
FunctionCycle 
PartClass 
Class 
ClassCycle 
PartFile 
File 
FileCycle 
PartObject 
Object 
ObjectCycle 
Part 
Data 
MaxType 

Definition at line 36 of file context.h.

Constructor & Destructor Documentation

ProfileContext::ProfileContext ( ProfileContext::Type  t = InvalidType)

Definition at line 31 of file context.cpp.

Member Function Documentation

void ProfileContext::cleanup ( )
static

Definition at line 46 of file context.cpp.

ProfileContext * ProfileContext::context ( ProfileContext::Type  t)
static

Definition at line 36 of file context.cpp.

ProfileContext::Type ProfileContext::i18nType ( const QString &  s)
static

Definition at line 129 of file context.cpp.

QString ProfileContext::i18nTypeName ( Type  t)
static

Definition at line 118 of file context.cpp.

ProfileContext::Type ProfileContext::type ( )
inline

Definition at line 55 of file context.h.

ProfileContext::Type ProfileContext::type ( const QString &  s)
static

Definition at line 103 of file context.cpp.

QString ProfileContext::typeName ( ProfileContext::Type  t)
static

Definition at line 62 of file context.cpp.


The documentation for this class was generated from the following files:
  • context.h
  • context.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