VR-Forces 4.8 Class Documentation
 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 
A lightweight profiler.
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:22
This class measures time difference (cpu time, wall time, etc) between calls to its start and stop fu...
Definition: DtInMemoryProfilerDistributor.h:23
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)