Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

ps
Class CProfileNode

IJSObject
   |
   +--CJSObject
         |
         +--CProfileNode

   in Profile.h
   in Profile.cpp

class CProfileNode
extends CJSObject


Inner Classes, Typedefs, and Enums
typedef CProfileNode::const_profile_iterator
          
typedef CProfileNode::profile_iterator
          
 
Field Summary
private float calls_frame_amortized
          
private int[ 50 ] calls_frame_buffer
          
private int calls_frame_current
          
private int* calls_frame_last
          
private int calls_total
          
private std::vector< CProfileNode* > children
          
private CProfileNodeTable* display_table
          
private long mallocs_frame_current
          
private long mallocs_frame_last
          
private long mallocs_total
          
private const char* name
          
private CProfileNode* parent
          
private int recursion
          
private std::vector< CProfileNode* > script_children
          
private double start
          
private long start_mallocs
          
private double time_frame_amortized
          
private double[ 50 ] time_frame_buffer
          
private double time_frame_current
          
private double* time_frame_last
          
private double time_total
          
   
Fields inherited from class CJSObject
m_NativeProperties, m_NonsharedProperties, m_ScriptProperties, m_EngineOwned, JSI_class
 
Constructor Summary
CProfileNode( const char* _name, CProfileNode* _parent )
          
~CProfileNode()
          
 
Method Summary
 void Call()
          
 bool CanExpand()
          
 void Frame()
          
 int GetCalls() const
          
 const CProfileNode* GetChild( const char* childName ) const
          
 const std::vector< CProfileNode* >* GetChildren() const
          
 float GetFrameCalls() const
          
 long GetFrameMallocs() const
          
 double GetFrameTime() const
          
 const char* GetName() const
          
 CProfileNode* GetParent() const
          
 const CProfileNode* GetScriptChild( const char* childName ) const
          
 const std::vector< CProfileNode* >* GetScriptChildren() const
          
 double GetTime() const
          
 jsval JS_GetName( JSContext* )
          
 void Reset()
          
 bool Return()
          
 static void ScriptingInit()
          
   
Methods inherited from class CJSObject
ScriptingInit, ScriptingShutdown, GetProperty, SetProperty, HasProperty, AddProperty, AddProperty, AddProperty, AddMethod, AddProperty, AddLocalProperty, GetScript, CreateScriptObject, ReleaseScriptObject, Shutdown
   
Methods inherited from class IJSObject
HasProperty, GetProperty, AddProperty, AddProperty
 

Field Detail

calls_frame_amortized

private float calls_frame_amortized;

calls_frame_buffer

private int calls_frame_buffer[ 50 ];

calls_frame_current

private int calls_frame_current;

calls_frame_last

private int* calls_frame_last;

calls_total

private int calls_total;

children

private std::vector< CProfileNode* > children;

display_table

private CProfileNodeTable* display_table;

mallocs_frame_current

private long mallocs_frame_current;

mallocs_frame_last

private long mallocs_frame_last;

mallocs_total

private long mallocs_total;

name

private const char* name;

parent

private CProfileNode* parent;

recursion

private int recursion;

script_children

private std::vector< CProfileNode* > script_children;

start

private double start;

start_mallocs

private long start_mallocs;

time_frame_amortized

private double time_frame_amortized;

time_frame_buffer

private double time_frame_buffer[ 50 ];

time_frame_current

private double time_frame_current;

time_frame_last

private double* time_frame_last;

time_total

private double time_total;


Constructor Detail

CProfileNode

public CProfileNode( const char* _name, CProfileNode* _parent );

~CProfileNode

public ~CProfileNode();


Method Detail

Call

public void Call();

CanExpand

public bool CanExpand();

Frame

public void Frame();

GetCalls

public int GetCalls() const;

GetChild

public const CProfileNode* GetChild( const char* childName ) const;

GetChildren

public const std::vector< CProfileNode* >* GetChildren() const;

GetFrameCalls

public float GetFrameCalls() const;

GetFrameMallocs

public long GetFrameMallocs() const;

GetFrameTime

public double GetFrameTime() const;

GetName

public const char* GetName() const;

GetParent

public CProfileNode* GetParent() const;

GetScriptChild

public const CProfileNode* GetScriptChild( const char* childName ) const;

GetScriptChildren

public const std::vector< CProfileNode* >* GetScriptChildren() const;

GetTime

public double GetTime() const;

JS_GetName

public jsval JS_GetName( JSContext* );

Reset

public void Reset();

Return

public bool Return();

ScriptingInit

public static void ScriptingInit();

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD