VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtProfileIterator.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 
15 namespace makVrv
16 {
17  //forward defs
18  typedef unsigned long long DtUInt64;
19  class DtProfileNode;
20 
24  {
25  public:
27  void first();
28 
30  DtProfileNode* next();
31 
33  bool isDone() const;
34 
39  void enterChild( int index );
40 
42  void enterParent( );
43 
45  void enterLargestChild( );
46 
49  const char* currentName();
50 
53  int currentTotalCalls();
54 
57  DtUInt64 currentTotalTime();
58 
60  DtUInt64 currentMaxTime();
61 
63  DtUInt64 currentMinTime();
64 
66  const char* currentParentName() const;
67 
69  int currentParentTotalCalls() const;
70 
72  DtUInt64 currentParentTotalTime() const;
73 
75  DtProfileNode* currentNode();
76 
78  DtProfileNode* currentParent();
79 
80  protected:
83  friend class DtProfileManager;
84 
87  };
88 }
Profile node class stores timing data for a profiled section.
Definition: DtProfileNode.h:22
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
An Iterator for navigating through the function call tree.
Definition: DtProfileIterator.h:23
DtProfileNode * myCurrentParent
Definition: DtProfileIterator.h:85
Contains DLL export macros.
The profile manager responsible for all profiling.
Definition: DtProfileManager.h:29
DtProfileNode * myCurrentChild
Definition: DtProfileIterator.h:86
unsigned long long DtUInt64
unsigned 64 bit integer
Definition: DtProfileIterator.h:18

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)