1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4//
5// EEProfInterfaces.inl
6//
7
8//
9// Inline function implementations for common types used internally in the EE to support
10// issuing profiling API callbacks
11//
12
13// ======================================================================================
14
15#ifndef DACCESS_COMPILE
16
17FORCEINLINE BOOL TrackAllocations()
18{
19#ifdef PROFILING_SUPPORTED
20 return CORProfilerTrackAllocations();
21#else
22 return FALSE;
23#endif // PROFILING_SUPPORTED
24}
25
26
27#endif
28