gwnavruntime/channel/channelarraycomputerstats.h Source File

channelarraycomputerstats.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 
8 #pragma once
9 
11 
12 
13 namespace Kaim
14 {
15 
16 class VisualDebugServer;
17 
18 class ChannelArrayComputerStats
19 {
20  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
21 public:
22  ChannelArrayComputerStats();
23 
24 public:
25  KyFloat32 GetPercentage(KyFloat32 x) const;
26 
27  void PrintStats() const;
28 
29  void PrintTotalTime() const;
30 
31  void SendVisualDebug(VisualDebugServer* visualDebugServer, const char* groupName) const;
32 
33 public:
34  KyFloat32 m_diagonalstripComputer;
35  KyFloat32 m_diagonalstripComputer_ComputeDiagonals;
36  KyFloat32 m_diagonalstripComputer_ComputeDiagonals_CanGo;
37  KyFloat32 m_diagonalstripComputer_ComputeMaxRadius;
38  KyFloat32 m_diagonalstripComputer_ComputeNeighbor;
39  KyFloat32 m_stringPuller;
40  KyFloat32 m_gateArrayComputer;
41  KyFloat32 m_createAggregatePath;
42  KyFloat32 m_visualDebug;
43 
44  KyFloat32 m_totalTime;
45 };
46 
47 
48 } // namespace Kaim
49 
#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