VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvUtil
DtProfileNode.h
Go to the documentation of this file.
1
/*********************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************************/
5
10
11
#pragma once
12
13
#include <
vrvUtil/vrvUtil.h
>
14
#include <cstddef>
15
16
namespace
makVrv
17
{
18
typedef
unsigned
long
long
DtUInt64
;
19
22
class
DT_DLL_VRVUTIL
DtProfileNode
23
{
24
public
:
26
void
*
operator
new
(std::size_t
size
);
27
void
operator
delete
(
void
* memory);
28
30
DtProfileNode
(
const
char
* name,
DtProfileNode
* parent);
31
33
~DtProfileNode();
34
38
DtProfileNode* getChildNode(
const
char
* name );
39
41
DtProfileNode* parent()
const
;
43
DtProfileNode* sibling()
const
;
45
DtProfileNode* child()
const
;
46
48
void
reset();
50
void
call();
54
bool
finish();
55
57
const
char
* name()
const
;
59
int
threadId()
const
;
61
int
totalCalls()
const
;
63
DtUInt64
totalTime()
const
;
64
65
DtUInt64
maxTime()
const
;
66
DtUInt64
minTime()
const
;
67
68
DtUInt64
timeLastFrame()
const
;
69
int
lastFrameCalled()
const
;
70
int
callsLastFrame()
const
;
71
72
void
nextFrame();
73
74
static
int
nodeCount();
75
static
int
maxNodes();
76
77
protected
:
78
const
char
*
myName
;
79
DtUInt64
myTotalTime
;
80
DtUInt64
myStartTime
;
81
DtUInt64
myTimeLastFrame
;
82
DtUInt64
myMaxTime
;
83
DtUInt64
myMinTime
;
84
int
myLastFrameCalled
;
85
int
myTotalCalls
;
86
int
myRecursionCounter
;
87
int
myCallsLastFrame
;
88
int
myThreadiId
;
89
90
DtProfileNode*
myParent
;
91
DtProfileNode*
myChild
;
92
DtProfileNode*
mySibling
;
93
};
94
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)