File: instruction_stats.proto

package info (click to toggle)
intel-graphics-compiler 1.0.12504.6-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 83,912 kB
  • sloc: cpp: 910,147; lisp: 202,655; ansic: 15,197; python: 4,025; yacc: 2,241; lex: 1,570; pascal: 244; sh: 104; makefile: 25
file content (98 lines) | stat: -rw-r--r-- 2,711 bytes parent folder | download | duplicates (3)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*========================== begin_copyright_notice ============================

Copyright (C) 2021-2022 Intel Corporation

SPDX-License-Identifier: MIT

============================= end_copyright_notice ===========================*/

syntax = "proto3";

package IGC_METRICS;

message SIMDStats {
  int32 SIMD1 = 1;
  int32 SIMD2 = 2;
  int32 SIMD4 = 3;
  int32 SIMD8 = 4;
  int32 SIMD16 = 5;
  int32 SIMD32 = 6;
}

message HDCSendStats {
// Data Cache0 Messages
  // Store
  int32 countDC_OWORD_BLOCK_WRITE = 1;
  int32 countDC_DWORD_SCATTERED_WRITE = 2;
  int32 countDC_BYTE_SCATTERED_WRITE = 3;
  int32 countDC_QWORD_SCATTERED_WRITE = 4;
  // Load
  int32 countDC_OWORD_BLOCK_READ = 5;
  int32 countDC_ALIGNED_OWORD_BLOCK_READ = 6;
  int32 countDC_DWORD_SCATTERED_READ = 7;
  int32 countDC_BYTE_SCATTERED_READ = 8;
  int32 countDC_QWORD_SCATTERED_READ = 9;

// Data Cache1 Messages
  // Store
  int32 countDC1_UNTYPED_SURFACE_WRITE = 10;
  int32 countDC1_MEDIA_BLOCK_WRITE = 11;
  int32 countDC1_TYPED_SURFACE_WRITE = 12;
  int32 countDC1_A64_BLOCK_WRITE = 13;
  int32 countDC1_A64_UNTYPED_SURFACE_WRITE = 14;
  int32 countDC1_A64_SCATTERED_WRITE = 15;
  // Load
  int32 countDC1_UNTYPED_SURFACE_READ = 16;
  int32 countDC1_MEDIA_BLOCK_READ = 17;
  int32 countDC1_TYPED_SURFACE_READ = 18;
  int32 countDC1_A64_SCATTERED_READ = 19;
  int32 countDC1_A64_UNTYPED_SURFACE_READ = 20;
  int32 countDC1_A64_BLOCK_READ = 21;

// Data Cache2 Messages
  // Store
  int32 countDC2_UNTYPED_SURFACE_WRITE = 22;
  int32 countDC2_A64_UNTYPED_SURFACE_WRITE = 23;
  int32 countDC2_A64_SCATTERED_WRITE = 24;
  int32 countDC2_BYTE_SCATTERED_WRITE = 25;
  // Load
  int32 countDC2_UNTYPED_SURFACE_READ = 26;
  int32 countDC2_A64_SCATTERED_READ = 27;
  int32 countDC2_A64_UNTYPED_SURFACE_READ = 28;
  int32 countDC2_BYTE_SCATTERED_READ  = 29;

// URB Messages
  // Store
  int32 countURB_WRITE_HWORD = 30;
  int32 countURB_WRITE_OWORD = 31;
  int32 countURB_SIMD8_WRITE = 32;
  // Load
  int32 countURB_READ_HWORD = 33;
  int32 countURB_READ_OWORD = 34;
  int32 countURB_SIMD8_READ = 35;
}

message LSCSendStats {
  // Store
  int32 countLSC_STORE = 1;
  int32 countLSC_STORE_STRIDED = 2;
  int32 countLSC_STORE_QUAD = 3;
  int32 countLSC_STORE_BLOCK2D = 4;
  int32 countLSC_STORE_UNCOMPRESSED = 5;
  // Load
  int32 countLSC_LOAD = 6;
  int32 countLSC_LOAD_STRIDED = 7;
  int32 countLSC_LOAD_QUAD = 8;
  int32 countLSC_LOAD_BLOCK2D = 9;
}

message InstrStats {
  SIMDStats simd_used = 1;
  int32 countCoalescedAccess = 2;
  int32 countShufflePermutes = 3;
  int32 countArithmeticInst = 4;
  int32 countEmulatedInst = 5;
  int32 countTranscendentalFunc = 6;
  HDCSendStats statsHDCSends = 7;
  LSCSendStats statsLSCSends = 8;
}