diff options
Diffstat (limited to 'src/vm/eeprofinterfaces.inl')
-rw-r--r-- | src/vm/eeprofinterfaces.inl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/vm/eeprofinterfaces.inl b/src/vm/eeprofinterfaces.inl new file mode 100644 index 0000000000..a080002dd4 --- /dev/null +++ b/src/vm/eeprofinterfaces.inl @@ -0,0 +1,27 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +// +// EEProfInterfaces.inl +// + +// +// Inline function implementations for common types used internally in the EE to support +// issuing profiling API callbacks +// + +// ====================================================================================== + +#ifndef DACCESS_COMPILE + +FORCEINLINE BOOL TrackAllocations() +{ +#ifdef PROFILING_SUPPORTED + return CORProfilerTrackAllocations(); +#else + return FALSE; +#endif // PROFILING_SUPPORTED +} + + +#endif |