PerformanceCounter.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #pragma once
  2. #include <stdint.h>
  3. #include "il2cpp-config.h"
  4. #include "il2cpp-object-internals.h"
  5. struct Il2CppObject;
  6. struct Il2CppDelegate;
  7. struct Il2CppReflectionType;
  8. struct Il2CppReflectionMethod;
  9. struct Il2CppReflectionField;
  10. struct Il2CppArray;
  11. struct Il2CppException;
  12. struct Il2CppReflectionModule;
  13. struct Il2CppAssembly;
  14. struct Il2CppAssemblyName;
  15. struct Il2CppAppDomain;
  16. namespace il2cpp
  17. {
  18. namespace icalls
  19. {
  20. namespace System
  21. {
  22. namespace System
  23. {
  24. namespace Diagnostics
  25. {
  26. struct Il2CppCounterSample;
  27. class LIBIL2CPP_CODEGEN_API PerformanceCounter
  28. {
  29. public:
  30. static void FreeData(intptr_t impl);
  31. static bool GetSample(intptr_t impl, bool only_value, Il2CppCounterSample* sample);
  32. static int64_t UpdateValue(intptr_t impl, bool do_incr, int64_t value);
  33. static intptr_t GetImpl(Il2CppString* category, Il2CppString* counter, Il2CppString* instance, Il2CppString* machine, int* type, bool* custom);
  34. };
  35. } /* namespace Diagnostics */
  36. } /* namespace System */
  37. } /* namespace System */
  38. } /* namespace icalls */
  39. } /* namespace il2cpp */