Cleaning up the P/Invoke signatures for QPF and QPC to avoid marshalling and pinning...
authorTanner Gooding <tagoo@outlook.com>
Tue, 26 Mar 2019 15:48:03 +0000 (08:48 -0700)
committerJan Kotas <jkotas@microsoft.com>
Tue, 26 Mar 2019 21:09:50 +0000 (14:09 -0700)
commitaa072b639fc2eb0e60a8083e4c74426db91341e0
tree2b3644fa95ee2537eeaa34d5e3ae20c69c8dfabd
parent2520798548b0c414f513aaaf708399f8ef5a4f6c
Cleaning up the P/Invoke signatures for QPF and QPC to avoid marshalling and pinning (#36071)

* Cleaning up the P/Invoke signatures for QPF and QPC to avoid marshalling and pinning

* Responding to PR feedback.

* Dropping support for low resolution stopwatch

* Removing BestFitMapping=false

* Removing unneeded unsafe declarations

* Addressing more PR feedback

* Fixing the pal_time header file

* Fixing the Unix P/Invoke signatures for GetTimestamp and GetTimestampResolution to return ulong.

* Fixing GetTimestampResolution to scale the result for HAVE_CLOCK_MONOTONIC

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.GetTimestamp.cs