VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtInMemoryProfilerDistributor.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 #include <vrvCore/DtUniqueID.h>
14 
16 
17 namespace makVrv
18 {
19  class DtDe;
20 
24  {
25  public:
26 
31 
34 
35  void init(unsigned int numOfSamples, const std::string& fileName);
36 
38  void start();
39 
41  void stop();
42 
44  void reset();
45 
46  // dump stats and force a dump of the underlying data; called if stopping and not dumped()
47  void dump();
48 
49  bool dumped();
50 
51  protected:
54  };
55 }
56 
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
A lightweight profiler. This class is not thread safe.
DtDe & myDe
Definition: DtInMemoryProfilerDistributor.h:52
This class measures time difference (cpu time, wall time, etc) between calls to its start and stop fu...
Definition: DtInMemoryProfiler.h:25
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtInMemoryProfiler myProfiler
Definition: DtInMemoryProfilerDistributor.h:53
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
This class measures time difference (cpu time, wall time, etc) between calls to its start and stop fu...
Definition: DtInMemoryProfilerDistributor.h:23
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Contains DLL export macros.

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)