1 /*========================== begin_copyright_notice ============================
2 
3 Copyright (C) 2019-2021 Intel Corporation
4 
5 SPDX-License-Identifier: MIT
6 
7 ============================= end_copyright_notice ===========================*/
8 
9 #pragma once
10 
11 #include "Compiler/CodeGenPublic.h" // needed for IGC::CodeGenContext?
12 #include "JitterDataStruct.h" // needed for FINALIZER_INFO
13 
14 namespace IGC
15 {
16     namespace CompilerStatsUtils
17     {
18         void RecordCompileTimeStats(IGC::CodeGenContext *context);
19         void RecordCodeGenCompilerStats(IGC::CodeGenContext *context,
20                                         SIMDMode dispatchSize,
21                                         CompilerStats &vISACompilerStats,
22                                         FINALIZER_INFO *jitInfo);
23         void OutputCompilerStats(IGC::CodeGenContext *context);
24     }
25 }
26