blob: 7b03ddeea537ec37efd56c0d609166444eae3f8f (
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
29
|
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//-----------------------------------------------------------------------------
// MethodStatsEmitter.h - Emits useful method stats for compiled methods for analysis
//-----------------------------------------------------------------------------
#ifndef _MethodStatsEmitter
#define _MethodStatsEmitter
#include "methodcontext.h"
#include "jitinstance.h"
class MethodStatsEmitter
{
private:
char* statsTypes;
HANDLE hStatsFile;
public:
MethodStatsEmitter(char* nameOfInput);
~MethodStatsEmitter();
void Emit(int methodNumber, MethodContext* mc, ULONGLONG firstTime, ULONGLONG secondTime);
void SetStatsTypes(char* types);
};
#endif
|