diff options
author | Scott Mosier <smosier@microsoft.com> | 2016-04-29 21:04:50 +0300 |
---|---|---|
committer | Scott Mosier <smosier@microsoft.com> | 2016-04-29 21:04:50 +0300 |
commit | ede47337e4736cda31f963e1dacaf38f1d09e2f5 (patch) | |
tree | f11e071c1264c85b8a4f5d8382eb3eabaf8f95f8 /src/Native/Runtime/PalRedhawkFunctions.h | |
parent | e71eafae093ab4434e195dada959ac840d968bfc (diff) |
Implement type casting cache
This checkin is an adaptation of a cache used in the type loader. It is applied to our type casting APIs and brings a significant performance improvement to any type-cast-heavy workload.
The cache has an initial tuning that looks reasonable, but should still be considered provisional as we gather more data on its behavior across various workloads.
[tfs-changeset: 1600411]
Diffstat (limited to 'src/Native/Runtime/PalRedhawkFunctions.h')
-rw-r--r-- | src/Native/Runtime/PalRedhawkFunctions.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Native/Runtime/PalRedhawkFunctions.h b/src/Native/Runtime/PalRedhawkFunctions.h index 4f464aac8..c11b08cd1 100644 --- a/src/Native/Runtime/PalRedhawkFunctions.h +++ b/src/Native/Runtime/PalRedhawkFunctions.h @@ -119,12 +119,6 @@ inline HANDLE PalGetProcessHeap() } -extern "C" UInt64 __stdcall GetTickCount64(); -inline UInt64 PalGetTickCount64() -{ - return GetTickCount64(); -} - extern "C" void* __stdcall HeapAlloc(HANDLE, UInt32, UIntNative); inline void* PalHeapAlloc(HANDLE arg1, UInt32 arg2, UIntNative arg3) { |