Refactor get_time_stamp_ns (#34536)
authorFan Yang <52458914+fanyang-mono@users.noreply.github.com>
Fri, 24 Apr 2020 15:35:58 +0000 (11:35 -0400)
committerGitHub <noreply@github.com>
Fri, 24 Apr 2020 15:35:58 +0000 (11:35 -0400)
* Refactor get_time_stamp_ns

* Add place holder function for pc to make pc build pass

* Add missing header file

* Move all time functions to mono-time.c

* Make sampling_thread_running a global variable

* Pass void* to init, clean_up and get_time function to accormodate different clock ID types for different os, and move back profiler specific function

* Add static keyword for local helper function and fix a typo

* Change to platform-specific typedef approach

* Add missing header file for macOS

* Add missing header file for linux

* Change header file name

* Change header file name one more time

* Fix failures on macOS

* Update src/mono/mono/utils/mono-time.h

Co-Authored-By: Ryan Lucia <ryan@luciaonline.net>
Co-authored-by: Ryan Lucia <ryan@luciaonline.net>
1  2 
src/mono/mono/mini/mini-runtime.c

Simple merge