summaryrefslogtreecommitdiff
path: root/src/vm/eeprofinterfaces.inl
blob: d60617e36596ccaf6511afdaffb2318d556bccd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license 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