gwnavruntime/dynamicnavmesh/dynamicnavmeshquerystats.h Source File

dynamicnavmeshquerystats.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 #pragma once
8 
11 
12 namespace Kaim
13 {
14 
15 class VisualDebugServer;
16 
17 class DynamicNavMeshQueryStats
18 {
19  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
20 public:
21  DynamicNavMeshQueryStats();
22 
23  DynamicNavMeshQueryStats& operator+=(const DynamicNavMeshQueryStats& rhs);
24 
25  bool operator<(const DynamicNavMeshQueryStats& other);
26 
27  KyFloat32 GetPercentage(KyFloat32 x) const;
28 
29  void PrintStats() const;
30 
31  void PrintTotalTime() const;
32 
33  void SendVisualDebug(VisualDebugServer* visualDebugServer, const char* groupName) const;
34 
35 public:
36  KyFloat32 m_extractInputData;
37  KyFloat32 m_edgeIntersectTime;
38  KyFloat32 m_sweeplineTime;
39  KyFloat32 m_polygonBuildingTime;
40  KyFloat32 m_triangulatorInputConversionTime;
41  KyFloat32 m_triangulationTime;
42  KyFloat32 m_delaunayTime;
43  KyFloat32 m_triangulatoroutPutConversionTime;
44  KyFloat32 m_navFloorBuilding;
45  KyFloat32 m_edgeTypeFixing;
46  KyFloat32 m_altitudeComputationTime;
47  KyFloat32 m_ACT_PixelBoxAndFloatComputation;
48  KyFloat32 m_ACT_StaticVertexBrowse;
49  KyFloat32 m_ACT_IsInsideTriangletest;
50  KyFloat32 m_ACT_edgeCaseResolution;
51 
52  KyFloat32 m_blobBuildingTime;
53  KyFloat32 m_totalQueryTime;
54  KyUInt32 m_inputEdgeCount;
55 };
56 
57 } // namespace Kaim
58 
59 
60 
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
float KyFloat32
float
Definition: types.h:32