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
vrvCore
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
15
#include <
vrvUtil/DtInMemoryProfiler.h
>
16
17
namespace
makVrv
18
{
19
class
DtDe;
20
23
class
DT_DLL_VRVCORE
DtInMemoryProfilerDistributor
24
{
25
public
:
26
30
DtInMemoryProfilerDistributor
(
DtDe
& de,
DtUniqueID
);
31
33
~
DtInMemoryProfilerDistributor
();
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
:
52
DtDe
&
myDe
;
53
DtInMemoryProfiler
myProfiler
;
54
};
55
}
56
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
)