Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
844 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef STATS_H
  7. #define STATS_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. // internal counters to measure cost of physics simulation
  12. struct physics_stats_t
  13. {
  14. float maxRescueSpeed;
  15. float maxSpeedGain;
  16. int impactSysNum;
  17. int impactCounter;
  18. int impactSumSys;
  19. int impactHardRescueCount;
  20. int impactRescueAfterCount;
  21. int impactDelayedCount;
  22. int impactCollisionChecks;
  23. int impactStaticCount;
  24. double totalEnergyDestroyed;
  25. int collisionPairsTotal;
  26. int collisionPairsCreated;
  27. int collisionPairsDestroyed;
  28. int potentialCollisionsObjectVsObject;
  29. int potentialCollisionsObjectVsWorld;
  30. int frictionEventsProcessed;
  31. };
  32. #endif // STATS_H