gwnavruntime/channel/channelarraycomputerstats.h Source File

channelarraycomputerstats.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 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 
8 // primary contact: LAPA - secondary contact: NOBODY
9 
10 #ifndef Navigation_ChannelArrayComputerStats_H
11 #define Navigation_ChannelArrayComputerStats_H
12 
14 
15 
16 namespace Kaim
17 {
18 
19 class VisualDebugServer;
20 
21 class ChannelArrayComputerStats
22 {
23  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
24 public:
25  ChannelArrayComputerStats();
26 
27 public:
28  KyFloat32 GetPercentage(KyFloat32 x) const;
29 
30  void PrintStats() const;
31 
32  void PrintTotalTime() const;
33 
34  void SendVisualDebug(VisualDebugServer* visualDebugServer, const char* groupName) const;
35 
36 public:
37  KyFloat32 m_diagonalstripComputer;
38  KyFloat32 m_diagonalstripComputer_ComputeDiagonals;
39  KyFloat32 m_diagonalstripComputer_ComputeDiagonals_CanGo;
40  KyFloat32 m_diagonalstripComputer_ComputeMaxRadius;
41  KyFloat32 m_diagonalstripComputer_ComputeNeighbor;
42  KyFloat32 m_stringPuller;
43  KyFloat32 m_gateArrayComputer;
44  KyFloat32 m_createAggregatePath;
45  KyFloat32 m_visualDebug;
46 
47  KyFloat32 m_totalTime;
48 };
49 
50 
51 } // namespace Kaim
52 
53 #endif // Navigation_ChannelArrayComputerStats_H
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43