In the PAL GetProcessTimes implement lpCreationTime using the current time returned...
authorBrian Sullivan <briansul@microsoft.com>
Wed, 1 May 2019 17:45:39 +0000 (10:45 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Thu, 2 May 2019 22:36:17 +0000 (15:36 -0700)
commitda39e9d56490b36634b4293e8fb17efcced72854
tree04958331dc406abc6ebf2e278265483547456799
parentfd57f4c9f14e165701c6cb97c23afe5dc39be22f
In the PAL GetProcessTimes implement lpCreationTime using the current time returned by gettimeofday
This allows IBC profile data to record a meaningful time of when the training scenario was run.
Made EPOCH_DIFF a defined constant
Change calcTime to be an unsigned 64-bit integer
Change constants to units of 100NS instead of NS to avoid division and integer overflows.
Use the defined constants SECS_TO_100NS and USECS_TO_100NS when performing time calculations
Don't add a space after the Assembly arg when argc is zero

Commit migrated from https://github.com/dotnet/coreclr/commit/e7815dde1e3847841b260e700704da8f7b4f7a30
src/coreclr/src/pal/src/thread/process.cpp
src/coreclr/src/vm/ceeload.cpp