Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Debug
Profile
ProfileRecord.h
1
// Copyright (c) 2014 eeGeo. All rights reserved.
2
3
#pragma once
4
5
#include "Types.h"
6
#include "Pool.h"
7
#include "PoolHandle.h"
8
9
#include <string>
10
11
namespace
Eegeo
12
{
13
namespace
Debug
14
{
15
namespace
Profile
16
{
17
class
ProfileRecord
:
protected
Eegeo::NonCopyable
18
{
19
public
:
20
ProfileRecord
();
21
22
void
Start();
23
void
Stop();
24
void
AddChild(
ProfileRecord
* child);
25
26
std::vector<ProfileRecord*>& GetChildren();
27
28
void
ReleaseToPool(
Eegeo::DataStructures::Pool<ProfileRecord*>
& pool);
29
void
SetHandle(
DataStructures::PoolHandle
& poolHandle);
30
31
void
SetName(
const
std::string& name);
32
double
GetDuration()
const
;
33
const
std::string& GetName()
const
;
34
35
private
:
36
std::string m_name;
37
double
m_start;
38
double
m_duration;
39
std::vector<ProfileRecord*> m_children;
40
DataStructures::PoolHandle
m_handle;
41
};
42
}
43
}
44
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1