Stopwatch.cpp 455 B

1234567891011121314151617181920212223
  1. #include "il2cpp-config.h"
  2. #include "icalls/System/System.Diagnostics/Stopwatch.h"
  3. #include "os/Time.h"
  4. namespace il2cpp
  5. {
  6. namespace icalls
  7. {
  8. namespace System
  9. {
  10. namespace System
  11. {
  12. namespace Diagnostics
  13. {
  14. int64_t Stopwatch::GetTimestamp()
  15. {
  16. return il2cpp::os::Time::GetTicks100NanosecondsMonotonic();
  17. }
  18. } /* namespace Diagnostics */
  19. } /* namespace System */
  20. } /* namespace mscorlib */
  21. } /* namespace icalls */
  22. } /* namespace il2cpp */