content
stringlengths 7
1.05M
|
|---|
def word_len(word):
"""Returns the length of word not counting spaces
>>> word_len("a la carte")
8
>>> word_len("hello")
5
>>> word_len('')
0
>>> word_len("coup d'etat")
10
"""
num = len(word)
for i in range(len(word)):
if word[i] == " ":
num = num-1
return num
def has_no_e(word):
"""Returns True if word contains no e letter
>>> has_no_e("hello")
False
>>> has_no_e("myopia")
True
"""
word.split()
if "e" in word:
return False
else:
return True
def avoids(word, forbidden):
"""Returns True if word does not contain any letter in forbidden string
>>> avoids('yummy', 'abcdefg')
True
>>> avoids('dictionary', 'abcdefg')
False
>>> avoids('crypt', 'aeiou')
True
>>> avoids('tangible', 'aeiou')
False
"""
for letter in word:
if letter in forbidden:
return False
return True
def uses_only(word, available):
"""Returns True if each of the letters in word is contained in string
>>> uses_only('aloha', 'acefhlo')
True
>>> uses_only('flow', 'acefhlo')
False
>>> uses_only('pizza', 'enipaz')
True
>>> uses_only('pineapple', 'enipaz')
False
>>> uses_only('spine', 'enipaz')
False
"""
ans = 0
word.split
available.split
for i in range(len(word)):
for j in range(len(available)):
if word[i] == available[j]:
ans += 1
continue
if ans == len(word):
return True
else:
return False
def uses_all(word, required):
"""Returns True if each of the letters in required is contained in word
>>> uses_all('resampling', 'aeipn')
True
>>> uses_all('plenty', 'aeipn')
False
>>> uses_all('penalize', 'enipaz')
True
>>> uses_all('penalty', 'enipaz')
False
"""
def is_abecedarian(word):
"""Returns True if the letters in a word appear in alphabetical order
>>> is_abecedarian('loop')
True
>>> is_abecedarian('almost')
True
>>> is_abecedarian('lopsided')
False
>>> is_abecedarian('always')
False
"""
previous = word[0]
for c in word:
if c < previous:
return False
previous = c
return True
|
def gray_to_binary(gray,bits=4):
"""converts a given gray code to its binary number"""
mask = 1 << (bits - 1)
binary = gray & mask
for i in xrange(bits-1):
bmask = 1 << (bits - i-1)
gmask = bmask >> 1
if (binary & bmask) ^ ((gray & gmask) << 1):
binary = binary | gmask
return binary
def binary_to_gray(binary,bits=4):
"""converts a given binary number to is gray code"""
mask = 1 << (bits - 1)
gray = binary & mask
binary = (binary ^ binary << 1) >> 1
gray = gray | binary
return gray
def ROR(x, n, bits = 32):
n = n % bits
mask = (2**n) - 1
mask_bits = x & mask
return (x >> n) | (mask_bits << (bits - n))
def ROL(x, n, bits = 32):
n = n % bits
return ROR(x, bits - n, bits)
def bin_string(integer):
return str(integer) if integer<=1 else bin_string(integer>>1) + str(integer&1)
def get_signed_number(number, bitLength):
mask = (2 ** bitLength) - 1
if number & (1 << (bitLength - 1)):
return number | ~mask
else:
return number & mask
def get_unsigned_number(number, bitLength):
mask = pow(2,bitLength) - 1
return number & mask
|
# Problem URL: https://leetcode.com/problems/search-in-rotated-sorted-array-ii
class Solution:
def binarySearch(self, array, begin, end, target):
mid = (begin + end)//2
while (begin<=end):
if array[mid] == target:
return True
elif array[mid] < target:
begin = mid + 1
return self.binarySearch(array,begin,end,target)
else:
end = mid - 1
return self.binarySearch(array,begin,end,target)
return False
def search(self, nums: List[int], target: int) -> bool:
array = nums.copy()
pivot = 0
for i in range(1,len(nums)):
if nums[i] < nums[i-1]:
pivot = i
break
if pivot != 0:
array = nums[pivot:]
array.extend(nums[:pivot])
return self.binarySearch(array,0,len(nums)-1,target)
|
# A*搜寻算法
# open_list: 可达到的点集合
# close_list: 已到达的点集合
# F: 从起点到某个格子,再从该格子到终点的总距离预估
# G: 从起点到当前格子的距离
# H: 从当前格子到终点的距离
# F = G + H
# 迷宫需要是一个规则的矩形
maze = [
[0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 1, 0, 0, 0],
[0, 0, 0, 1, 0, 0, 0],
[0, 0, 0, 1, 0, 0, 0],
[0, 0, 0, 1, 0, 0, 0],
[0, 0, 0, 1, 0, 0, 0],
[0, 0, 0, 1, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0],
]
def print_format(array_list, path):
for i_index, i in enumerate(array_list):
for j_index, j in enumerate(i):
if contain_grid(path, i_index, j_index):
if i_index == path[0].x and j_index == path[0].y:
print('E', end=' ')
elif i_index == path[len(path)-1].x and j_index == path[len(path)-1].y:
print('S', end=' ')
else:
print('*', end=' ')
else:
print(j, end=' ')
print()
class Grid(object):
# 设置每一个点的基本信息
def __init__(self, x, y):
self.x = x # x轴坐标
self.y = y # y轴坐标
self.f = 0 # g和h的综合评估, f = g + h
self.g = 0 # 从起点走到该位置的步数
self.h = 0 # 从当前格子到终点的步数
self.parent = None # 前一个结点的位置信息
def init_grid(self, parent, end_grid):
self.parent = parent
if parent is not None:
self.g = parent.g + 1
else:
self.g = 1
# 曼哈顿距离求h值
self.h = abs(self.x - end_grid.x) + abs(self.y - end_grid.y)
self.f = self.g + self.h
def contain_grid(grids, x, y):
for item in grids:
if item.x == x and item.y == y:
return True
return False
def is_valid_grid(x, y, open_list, close_list):
# open_list 可达到的点的集合
# close_list 已经达到的点的集合
# x,y越界判断
if x < 0 or x > len(maze) or y < 0 or y > len(maze[0]):
return False
# 障碍物判断
if maze[x][y] == 1:
return False
# 是否存在于open_list或者close_list中
if contain_grid(open_list, x, y) or contain_grid(close_list, x, y):
return False
return True
def find_neighbors(grid, open_list, close_list):
neighbors = []
# 上下左右四个方向
if is_valid_grid(grid.x, grid.y - 1, open_list, close_list):
neighbors.append(Grid(grid.x, grid.y - 1))
if is_valid_grid(grid.x, grid.y + 1, open_list, close_list):
neighbors.append(Grid(grid.x, grid.y + 1))
if is_valid_grid(grid.x - 1, grid.y, open_list, close_list):
neighbors.append(Grid(grid.x - 1, grid.y))
if is_valid_grid(grid.x + 1, grid.y, open_list, close_list):
neighbors.append(Grid(grid.x + 1, grid.y))
return neighbors
def find_min_grid(open_list):
# 发现可达点中的最小f值点,如果存在相同的则任取一个
min_grid = open_list[0]
for item in open_list:
if min_grid.f > item.f:
min_grid = item
return min_grid
def a_star_search(start, end):
open_list = []
close_list = []
open_list.append(start)
while len(open_list):
current_grid = find_min_grid(open_list)
open_list.remove(current_grid)
close_list.append(current_grid)
neighbors = find_neighbors(current_grid, open_list, close_list)
for item in neighbors:
item.init_grid(current_grid, end)
open_list.append(item)
for item in open_list:
if item.x == end.x and item.y == end.y:
return item
return None
if __name__ == '__main__':
print_format(maze, [])
start = Grid(3, 1)
end = Grid(3, 5)
result_grid = a_star_search(start, end)
path = []
while result_grid is not None:
path.append(Grid(result_grid.x, result_grid.y))
result_grid = result_grid.parent
print("======================================")
print_format(maze, path)
|
# 問題URL: https://atcoder.jp/contests/abc127/tasks/abc127_a
# 解答URL: https://atcoder.jp/contests/abc127/submissions/14655259
a, b = map(int, input().split())
if a <= 5:
print(0)
elif a <= 12:
print(b // 2)
else:
print(b)
|
# -*- coding: utf-8 -*-
class Solution:
def largestOddNumber(self, num: str) -> str:
for index, digit in enumerate(reversed(num)):
if int(digit) % 2 == 1:
return num[:len(num) - index]
return ''
if __name__ == '__main__':
solution = Solution()
assert '5' == solution.largestOddNumber('52')
assert '' == solution.largestOddNumber('4206')
assert '35427' == solution.largestOddNumber('35427')
|
produce = ['apple','banana', 'cucumber']
volumes = ['one piece', 'cup', 'handful']
d = {}
for i in range(len(produce)):
if produce[i] not in d:
d[produce[i]] = volumes[i]
print(d.items())
|
"""This test's if user successfully registered """
def test_successful_register(successful_registration):
assert successful_registration.email == 'example@email.com'
assert successful_registration.password == 'Password'
assert successful_registration.confirm == 'Password'
response = successful_registration.get("/dashboard")
assert response.status_code == 302
assert b'Congrats, registration success' in response.data
|
"""
For the opening ceremony of the upcoming sports event an even number of athletes were picked.
They formed a correct lineup, i.e. such a lineup in which no two boys or two girls stand together.
The first person in the lineup was a girl. As a part of the performance,
adjacent pairs of athletes (i.e. the first one together with the second one,
the third one together with the fourth one, etc.) had to swap positions with each other.
Given a list of athletes, return the list of athletes after the changes, i.e. after each adjacent pair of athletes is swapped.
Example
For athletes = [1, 2, 3, 4, 5, 6], the output should be
correctLineup(athletes) = [2, 1, 4, 3, 6, 5].
"""
def correctLineup(athletes):
return [val for item in [a for a in zip([e for i, e in enumerate(athletes) if i % 2 != 0], [e for i, e in enumerate(athletes) if i % 2 == 0])] for val in item]
|
def get_settings_dot_py_changes(config):
"""Return dictionaries with changed strings of settings.py"""
INSERTED = { # Value inserted before line with key
"from pathlib import Path": "import sys, os\n",
"# Quick-start development settings": (
'# Environment flag\n'
'ENVIRONMENT = os.environ.get("DJANGO_ENVIRONMENT", default="development")\n\n'
),
"ALLOWED_HOSTS = []": (
'if ENVIRONMENT == "production":\n'
' SECURE_BROWSER_XSS_FILTER = True\n'
' X_FRAME_OPTIONS = "DENY"\n'
' SECURE_SSL_REDIRECT = True\n'
' SECURE_HSTS_SECONDS = 3600\n'
' SECURE_HSTS_INCLUDE_SUBDOMAINS = True\n'
' SECURE_HSTS_PRELOAD = True\n'
' SECURE_CONTENT_TYPE_NOSNIFF = True\n'
' SESSION_COOKIE_SECURE = True\n'
' CSRF_COOKIE_SECURE = True\n'
' SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")\n\n'
),
"django.contrib.staticfiles": ' "whitenoise.runserver_nostatic",\n',
"# Static files (CSS, JavaScript, Images)": (
"LOCALE_PATHS = [\n"
" os.path.join(BASE_DIR, 'locale'),\n"
"]\n"
"LANGUAGES = [\n"
" ('en-us', 'English'),\n"
" ('es', 'Spanish'),\n"
"]\n\n"
),
"STATIC_URL = '/static/'": (
'STATICFILES_DIRS = [\n'
' str(Path(BASE_DIR, "static")),\n'
']\n'
'STATIC_ROOT = str(Path(BASE_DIR, "staticfiles"))\n'
'STATICFILES_FINDERS = [\n'
' "django.contrib.staticfiles.finders.FileSystemFinder",\n'
' "django.contrib.staticfiles.finders.AppDirectoriesFinder",\n'
']\n'
),
}
SUBSTITUTED = { # Line with key is substituted with content
"SECRET_KEY = ": 'SECRET_KEY = os.environ.get("DJANGO_SECRET_KEY",default="django-insecure-@04%uk08cz)mpenm#15f*5zg!0(pnc&p@2pzq6shfwi*%h900f",)\n\n',
"DEBUG = True": 'DEBUG = os.environ.get("DJANGO_DEBUG", default="True") == "True"\n',
"ALLOWED_HOSTS = []" : 'ALLOWED_HOSTS = ["localhost","127.0.0.1",]\n',
"'DIRS': []": ' "DIRS": [str(Path(BASE_DIR, "templates"))],\n',
"django.contrib.staticfiles":(
' "django.contrib.staticfiles",\n'
' "django.contrib.sites",\n'
' # Third party\n'
' "allauth",\n'
' "allauth.account",\n'
' "rest_framework",\n'
' # Local\n'
),
"'django.contrib.sessions.middleware.SessionMiddleware',": (
" 'whitenoise.middleware.WhiteNoiseMiddleware',\n"
" 'django.contrib.sessions.middleware.SessionMiddleware',\n"
" 'django.middleware.locale.LocaleMiddleware',\n"
),
"'ENGINE': 'django.db.backends.sqlite3',": "",
"'NAME': BASE_DIR / 'db.sqlite3',": (
' "ENGINE": "django.db.backends.postgresql",\n'
' "NAME": "postgres",\n'
' "USER": "postgres",\n'
' "PASSWORD": "postgres",\n'
' "HOST": "db",\n'
' "PORT": 5432,\n'
),
}
APPENDED = ( # Content appended to end of file
'\n\n# Custom User model\n'
'#AUTH_USER_MODEL = "users.CustomUser"\n\n'
'# django-allauth config\n'
'LOGIN_REDIRECT_URL = "app:dashboard"\n'
'ACCOUNT_LOGOUT_REDIRECT = "pages:home"\n\n'
'SITE_ID = 1\n\n'
'ACCOUNT_AUTHENTICATION_METHOD = "email"\n'
'ACCOUNT_EMAIL_REQUIRED = True\n'
'ACCOUNT_EMAIL_VERIFICATION = "mandatory"\n'
'ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True\n'
'ACCOUNT_SESSION_REMEMBER = True\n'
'ACCOUNT_SIGNUP_PASSWORD_ENTER_TWICE = False\n'
'ACCOUNT_USERNAME_REQUIRED = False\n'
'ACCOUNT_UNIQUE_EMAIL = True\n'
'ACCOUNT_FORMS = {\n'
' "signup": "users.forms.CustomSignupForm",\n'
'}\n'
'AUTHENTICATION_BACKENDS = (\n'
' "django.contrib.auth.backends.ModelBackend",\n'
' "allauth.account.auth_backends.AuthenticationBackend",\n'
')\n\n'
'# EMAIL\n'
'# EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"\n'
'EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"\n'
'EMAIL_HOST = "smtp.gmail.com"\n'
'EMAIL_PORT = 587\n'
f'EMAIL_HOST_USER = "{config["email"]}"\n'
'EMAIL_HOST_PASSWORD = "password"\n'
'EMAIL_USE_TLS = True\n'
'DEFAULT_FROM_EMAIL = EMAIL_HOST_USER\n\n'
'# django-debug-toolbar config\n'
'TESTING_MODE = "test" in sys.argv\n'
'DEV_MODE = DEBUG and not TESTING_MODE\n\n'
'if DEV_MODE:\n'
' INTERNAL_IPS = (\n'
' "127.0.0.1",\n'
' "localhost",\n'
' )\n'
' MIDDLEWARE += [\n'
' "debug_toolbar.middleware.DebugToolbarMiddleware",\n'
' ]\n\n'
' INSTALLED_APPS += [\n'
' "debug_toolbar",\n'
' ]\n\n'
' DEBUG_TOOLBAR_PANELS = [\n'
' "debug_toolbar.panels.versions.VersionsPanel",\n'
' "debug_toolbar.panels.timer.TimerPanel",\n'
' "debug_toolbar.panels.settings.SettingsPanel",\n'
' "debug_toolbar.panels.headers.HeadersPanel",\n'
' "debug_toolbar.panels.request.RequestPanel",\n'
' "debug_toolbar.panels.sql.SQLPanel",\n'
' "debug_toolbar.panels.staticfiles.StaticFilesPanel",\n'
' "debug_toolbar.panels.templates.TemplatesPanel",\n'
' "debug_toolbar.panels.cache.CachePanel",\n'
' "debug_toolbar.panels.signals.SignalsPanel",\n'
' "debug_toolbar.panels.logging.LoggingPanel",\n'
' "debug_toolbar.panels.redirects.RedirectsPanel",\n'
' "debug_toolbar.panels.profiling.ProfilingPanel",\n'
' ]\n\n'
' DEBUG_TOOLBAR_CONFIG = {\n'
' "INTERCEPT_REDIRECTS": False,\n'
' "SHOW_TOOLBAR_CALLBACK": lambda _request: DEBUG, # needed for Docker!\n'
' }\n\n'
'# Deployment to Heroku\n'
'import dj_database_url\n\n'
'db_from_env = dj_database_url.config(conn_max_age=500)\n'
'DATABASES["default"].update(db_from_env)\n\n'
'# Django Rest Framework\n'
'REST_FRAMEWORK = {\n'
' # Use Django standard `django.contrib.auth` permissions,\n'
' # or allow read-only access for unauthenticated users.\n'
' "DEFAULT_PERMISSION_CLASSES": [\n'
' "rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly"\n'
' ]\n'
'}\n\n'
)
return (INSERTED, SUBSTITUTED, APPENDED)
|
class Jobs:
tag = ''
time_requested = 0
finished = False
def __init__(self, tag_, time_requested_):
self.tag = tag_
self.time_requested = time_requested_
|
class Solution:
#given a list of integer
#return an integer
def maxArea(self, height):
res = 0
left = 0
right = len(height) - 1
while left < right:
if height[left] < height[right]:
res = max(res, height[left] * (right - left))
left += 1
else:
res = max(res, height[right] * (right - left))
right -= 1
return res
|
l3 = list(filter(lambda x: 1000 <= x <= 9999, list(int(n * (n + 1)/2)
for n in range(9999))))
l4 = list(filter(lambda x: 1000 <= x <= 9999, list(int(n*n)
for n in range(9999))))
l5 = list(filter(lambda x: 1000 <= x <= 9999, list(int(n * (3 * n - 1)/2)
for n in range(9999))))
l6 = list(filter(lambda x: 1000 <= x <= 9999, list(n*(2*n - 1)
for n in range(9999))))
l7 = list(filter(lambda x: 1000 <= x <= 9999, list(int(n*(5*n-3)/2)
for n in range(9999))))
l8 = list(filter(lambda x: 1000 <= x <= 9999, list(n*(3*n - 2)
for n in range(9999))))
def getShareDigits(a, b: list):
la = sorted(set(int(str(x)[-2:]) for x in a))
lb = sorted(set(filter(lambda x: len(str(x)) == 2,
list(int(str(x)[:2]) for x in b))))
return list(set(la) & set(lb))
# print(getShareDigits(l3, l5))
# print(getShareDigits(l4, l3))
# print(getShareDigits(l5, l4))
s35 = getShareDigits(l3, l5)
s43 = getShareDigits(l4, l3)
s54 = getShareDigits(l5, l4)
def combin(s1, s2, d1: list):
ret = []
for i in s1:
for j in s2:
n = int(str(i)+str(j))
if n in d1:
ret.append(n)
return ret
print(s43)
print(s35)
print(combin(s43, s35, l3))
# def compute(pool):
# for a in pool:
# selected = []
# selected.append(a.belong)
# for b in pool:
# if isMatch(a, b) and b.belong not in selected:
# selected.append(b.belong)
# for c in pool:
# if isMatch(b, c) and c.belong not in selected:
# selected.append(c.belong)
# print(a, b, c)
# for d in pool:
# if isMatch(c, d) and d.belong not in selected:
# selected.append(d.belong)
# print(a, b, c, d)
# for e in pool:
# if isMatch(d, e) and e.belong not in selected:
# selected.append(e.belong)
# print(a, b, c, d, e)
# for f in pool:
# if isMatch(e, f) and isMatch(f, a) and f.belong not in selected:
# selected.append(f.belong)
# print(a, b, c, d, e, f)
# return
|
#
# PySNMP MIB module FN100-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/FN100-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:00:25 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Gauge32, Bits, TimeTicks, NotificationType, mgmt, Counter64, Unsigned32, Counter32, enterprises, ObjectIdentity, MibIdentifier, ModuleIdentity, Integer32, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "Bits", "TimeTicks", "NotificationType", "mgmt", "Counter64", "Unsigned32", "Counter32", "enterprises", "ObjectIdentity", "MibIdentifier", "ModuleIdentity", "Integer32", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso")
DisplayString, TextualConvention, PhysAddress = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "PhysAddress")
cmu = MibIdentifier((1, 3, 6, 1, 4, 1, 3))
sigma = MibIdentifier((1, 3, 6, 1, 4, 1, 97))
sys = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 1))
platform = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5))
es_1fe = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3)).setLabel("es-1fe")
sfhw = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 1))
sfsw = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 2))
sfadmin = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 3))
sfswdis = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 4))
sfaddr = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 5))
sfif = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 6))
sfuart = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 7))
sfdebug = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 8))
sfproto = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 9))
sftrunk = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 10))
sfworkGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 97, 5, 3, 11))
systems = MibIdentifier((1, 3, 6, 1, 4, 1, 3, 1))
mibs = MibIdentifier((1, 3, 6, 1, 4, 1, 3, 2))
cmuSNMP = MibIdentifier((1, 3, 6, 1, 4, 1, 3, 1, 1))
cmuKip = MibIdentifier((1, 3, 6, 1, 4, 1, 3, 1, 2))
cmuRouter = MibIdentifier((1, 3, 6, 1, 4, 1, 3, 1, 3))
sysID = MibScalar((1, 3, 6, 1, 4, 1, 97, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2))).clone(namedValues=NamedValues(("es-1fe-bridge", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysID.setStatus('mandatory')
sysReset = MibScalar((1, 3, 6, 1, 4, 1, 97, 1, 2), TimeTicks()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sysReset.setStatus('mandatory')
sysTrapAck = MibScalar((1, 3, 6, 1, 4, 1, 97, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("traps-need-acks", 1), ("traps-not-acked", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sysTrapAck.setStatus('mandatory')
sysTrapTime = MibScalar((1, 3, 6, 1, 4, 1, 97, 1, 4), TimeTicks()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sysTrapTime.setStatus('mandatory')
sysTrapRetry = MibScalar((1, 3, 6, 1, 4, 1, 97, 1, 5), TimeTicks()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sysTrapRetry.setStatus('mandatory')
sysTrapPort = MibScalar((1, 3, 6, 1, 4, 1, 97, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sysTrapPort.setStatus('mandatory')
sfhwDiagCode = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfhwDiagCode.setStatus('mandatory')
sfhwManufData = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfhwManufData.setStatus('mandatory')
sfhwPortCount = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfhwPortCount.setStatus('mandatory')
sfhwPortTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 4), )
if mibBuilder.loadTexts: sfhwPortTable.setStatus('mandatory')
sfhwPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 4, 1), ).setIndexNames((0, "FN100-MIB", "sfhwPortIndex"))
if mibBuilder.loadTexts: sfhwPortEntry.setStatus('mandatory')
sfhwPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 4, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfhwPortIndex.setStatus('mandatory')
sfhwPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 6, 255))).clone(namedValues=NamedValues(("port-csma", 1), ("port-uart", 6), ("port-none", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfhwPortType.setStatus('mandatory')
sfhwPortSubType = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(10, 13, 16, 80, 255))).clone(namedValues=NamedValues(("csmacd-fx", 10), ("csmacd-tpx", 13), ("csmacd-tpx-fx", 16), ("uart-female-9pin", 80), ("no-information", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfhwPortSubType.setStatus('mandatory')
sfhwPortDiagPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("diag-passed", 1), ("diag-failed", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfhwPortDiagPassed.setStatus('mandatory')
sfhwAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 1, 4, 1, 5), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfhwAddr.setStatus('mandatory')
sfswNumber = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswNumber.setStatus('mandatory')
sfswFilesetTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2), )
if mibBuilder.loadTexts: sfswFilesetTable.setStatus('mandatory')
sfswFileset = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1), ).setIndexNames((0, "FN100-MIB", "sfswIndex"))
if mibBuilder.loadTexts: sfswFileset.setStatus('mandatory')
sfswIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("currently-executing", 1), ("next-boot", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswIndex.setStatus('mandatory')
sfswDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswDesc.setStatus('mandatory')
sfswCount = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswCount.setStatus('mandatory')
sfswType = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1, 4), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswType.setStatus('mandatory')
sfswSizes = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1, 5), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswSizes.setStatus('mandatory')
sfswStarts = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1, 6), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswStarts.setStatus('mandatory')
sfswBases = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1, 7), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswBases.setStatus('mandatory')
sfswFlashBank = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 2, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("first-bank", 1), ("second-bank", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswFlashBank.setStatus('mandatory')
sfadminFatalErr = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminFatalErr.setStatus('mandatory')
sfadminAnyPass = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 2), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminAnyPass.setStatus('mandatory')
sfadminGetPass = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 3), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminGetPass.setStatus('mandatory')
sfadminNMSIPAddr = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminNMSIPAddr.setStatus('mandatory')
sfadminAlarmDynamic = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminAlarmDynamic.setStatus('mandatory')
sfadminAlarmAddressChange = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminAlarmAddressChange.setStatus('mandatory')
sfadminStorageFailure = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminStorageFailure.setStatus('mandatory')
sfadminAuthenticationFailure = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 8), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminAuthenticationFailure.setStatus('mandatory')
sfadminMPReceiveCongests = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminMPReceiveCongests.setStatus('mandatory')
sfadminArpEntries = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminArpEntries.setStatus('mandatory')
sfadminArpStatics = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminArpStatics.setStatus('mandatory')
sfadminArpOverflows = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminArpOverflows.setStatus('mandatory')
sfadminIpEntries = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminIpEntries.setStatus('mandatory')
sfadminIpStatics = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminIpStatics.setStatus('mandatory')
sfadminStaticPreference = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 15), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminStaticPreference.setStatus('mandatory')
sfadminRipPreference = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 16), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminRipPreference.setStatus('mandatory')
sfadminRipRouteDiscards = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminRipRouteDiscards.setStatus('mandatory')
sfadminRebootConfig = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("no-change", 1), ("tftp-config", 2), ("revert-to-defaults", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminRebootConfig.setStatus('mandatory')
sfadminTempOK = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("temperature-normal", 1), ("temperature-too-hot", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfadminTempOK.setStatus('mandatory')
sfadminDisableButton = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminDisableButton.setStatus('mandatory')
sfadminButtonSelection = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("led-any-activity", 1), ("led-rx-activity", 2), ("led-tx-activity", 3), ("led-any-collision", 4), ("led-programmed", 5), ("led-speed", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminButtonSelection.setStatus('mandatory')
sfadminLEDProgramOption = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("program-led-any-error", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminLEDProgramOption.setStatus('mandatory')
sfadminVirtualSwitch1 = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 23), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminVirtualSwitch1.setStatus('mandatory')
sfadminVirtualSwitch2 = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 24), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminVirtualSwitch2.setStatus('mandatory')
sfadminVirtualSwitch3 = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 25), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminVirtualSwitch3.setStatus('mandatory')
sfadminVirtualSwitch4 = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 26), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminVirtualSwitch4.setStatus('mandatory')
sfadminDefaultVirtualSwitch = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 3, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("virtual-switch-1", 1), ("virtual-switch-2", 2), ("virtual-switch-3", 3), ("virtual-switch-4", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfadminDefaultVirtualSwitch.setStatus('mandatory')
sfswdisDesc = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 4, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswdisDesc.setStatus('mandatory')
sfswdisAccess = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("protected", 1), ("any-software", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfswdisAccess.setStatus('mandatory')
sfswdisWriteStatus = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("in-progress", 1), ("success", 2), ("config-error", 3), ("flash-error", 4), ("config-and-flash-errors", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfswdisWriteStatus.setStatus('mandatory')
sfswdisConfigIp = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 4, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfswdisConfigIp.setStatus('mandatory')
sfswdisConfigRetryTime = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 4, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfswdisConfigRetryTime.setStatus('mandatory')
sfswdisConfigTotalTimeout = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 4, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfswdisConfigTotalTimeout.setStatus('mandatory')
sfaddrDynamics = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrDynamics.setStatus('mandatory')
sfaddrDynamicMax = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 2), Gauge32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrDynamicMax.setStatus('mandatory')
sfaddrFlags = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrFlags.setStatus('mandatory')
sfaddrMAC = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 4), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrMAC.setStatus('mandatory')
sfaddrPort = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrPort.setStatus('mandatory')
sfaddrOperation = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("read-random", 1), ("read-next", 2), ("reserved", 3), ("update", 4), ("delete", 5), ("read-block", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrOperation.setStatus('mandatory')
sfaddrIndex = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 7), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrIndex.setStatus('mandatory')
sfaddrNext = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrNext.setStatus('mandatory')
sfaddrBlockSize = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrBlockSize.setStatus('mandatory')
sfaddrBlock = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 10), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrBlock.setStatus('mandatory')
sfaddrAlarmMAC = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 11), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrAlarmMAC.setStatus('mandatory')
sfaddrDbFullBuckets = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrDbFullBuckets.setStatus('mandatory')
sfaddrDbMaxFullBuckets = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 13), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrDbMaxFullBuckets.setStatus('mandatory')
sfaddrDbMaxSize = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrDbMaxSize.setStatus('mandatory')
sfaddrDbBuckets = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrDbBuckets.setStatus('mandatory')
sfaddrDbSearchDepth = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 16), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfaddrDbSearchDepth.setStatus('mandatory')
sfaddrDbDistribution = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 17), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrDbDistribution.setStatus('mandatory')
sfaddrDbTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 18), )
if mibBuilder.loadTexts: sfaddrDbTable.setStatus('mandatory')
sfaddrDbEntry = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 18, 1), ).setIndexNames((0, "FN100-MIB", "sfaddrDbBucketAddress"))
if mibBuilder.loadTexts: sfaddrDbEntry.setStatus('mandatory')
sfaddrDbBucketAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 18, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrDbBucketAddress.setStatus('mandatory')
sfaddrDbBucketEntCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 18, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrDbBucketEntCnt.setStatus('mandatory')
sfaddrDbBucketEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 5, 18, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfaddrDbBucketEntries.setStatus('mandatory')
sfifTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1), )
if mibBuilder.loadTexts: sfifTable.setStatus('mandatory')
sfifEntry = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1), ).setIndexNames((0, "FN100-MIB", "sfifIndex"))
if mibBuilder.loadTexts: sfifEntry.setStatus('mandatory')
sfifIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifIndex.setStatus('mandatory')
sfifRxCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifRxCnt.setStatus('mandatory')
sfifTxCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifTxCnt.setStatus('mandatory')
sfifTxStormCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifTxStormCnt.setStatus('mandatory')
sfifTxStormTime = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 5), TimeTicks()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifTxStormTime.setStatus('mandatory')
sfifFilterFloodSourceSame = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifFilterFloodSourceSame.setStatus('mandatory')
sfifFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifFunction.setStatus('mandatory')
sfifRxPacket = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 8), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifRxPacket.setStatus('mandatory')
sfifRxHwFCSs = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifRxHwFCSs.setStatus('mandatory')
sfifRxQueues = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifRxQueues.setStatus('mandatory')
sfifTxPacket = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 11), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifTxPacket.setStatus('mandatory')
sfifTxStorms = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifTxStorms.setStatus('mandatory')
sfifStatisticsTime = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 13), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifStatisticsTime.setStatus('mandatory')
sfifIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 14), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifIpAddr.setStatus('mandatory')
sfifIpGroupAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 15), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifIpGroupAddr.setStatus('mandatory')
sfifRxForwardChars = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifRxForwardChars.setStatus('mandatory')
sfifRxFilteredChars = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifRxFilteredChars.setStatus('mandatory')
sfifSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 18), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifSpeed.setStatus('mandatory')
sfifMgntRxQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 19), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifMgntRxQueueSize.setStatus('mandatory')
sfifVirtualSwitchID = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifVirtualSwitchID.setStatus('mandatory')
sfifTPLinkOK = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifTPLinkOK.setStatus('mandatory')
sfifLedOn = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("led-on", 1), ("led-off", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifLedOn.setStatus('mandatory')
sfifTxCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifTxCollisions.setStatus('mandatory')
sfifFuseOkay = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifFuseOkay.setStatus('mandatory')
sfifCrashEvents = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 25), Counter32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifCrashEvents.setStatus('mandatory')
sfifCrashTime = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 26), TimeTicks()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifCrashTime.setStatus('mandatory')
sfifMinimumUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 27), TimeTicks()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifMinimumUpTime.setStatus('mandatory')
sfifDMAFlowControlEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifDMAFlowControlEnable.setStatus('mandatory')
sfifDMARetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 29), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifDMARetryCount.setStatus('mandatory')
sfifDMARetryBufferCount = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 30), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifDMARetryBufferCount.setStatus('mandatory')
sfifDMAPeakRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifDMAPeakRetries.setStatus('mandatory')
sfifDMATotalRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifDMATotalRetries.setStatus('mandatory')
sfifDMAPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 33), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifDMAPackets.setStatus('mandatory')
sfifDMADroppedPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 34), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifDMADroppedPackets.setStatus('mandatory')
sfifDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 35), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifDescr.setStatus('mandatory')
sfifMgtDroppedPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 36), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifMgtDroppedPackets.setStatus('mandatory')
sfifLinkStatusOutages = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 37), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfifLinkStatusOutages.setStatus('mandatory')
sfifLocalFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 6, 1, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("hardware", 1), ("software", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfifLocalFilter.setStatus('mandatory')
sfuartTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 7, 1), )
if mibBuilder.loadTexts: sfuartTable.setStatus('mandatory')
sfuartEntry = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 7, 1, 1), ).setIndexNames((0, "FN100-MIB", "sfuartIndex"))
if mibBuilder.loadTexts: sfuartEntry.setStatus('mandatory')
sfuartIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 7, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfuartIndex.setStatus('mandatory')
sfuartBaud = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 7, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("external-clock", 1), ("b1200-baud", 2), ("b2400-baud", 3), ("b4800-baud", 4), ("b9600-baud", 5), ("b19200-baud", 6), ("b38400-baud", 7), ("b56-kilobits", 8), ("b1544-kilobits", 9), ("b2048-kilobits", 10), ("b45-megabits", 11)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfuartBaud.setStatus('mandatory')
sfuartAlignmentErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 7, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfuartAlignmentErrors.setStatus('mandatory')
sfuartOverrunErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 7, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfuartOverrunErrors.setStatus('mandatory')
sfdebugStringID = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfdebugStringID.setStatus('mandatory')
sfdebugString = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfdebugString.setStatus('mandatory')
sfdebugTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 3), )
if mibBuilder.loadTexts: sfdebugTable.setStatus('mandatory')
sfdebugEntry = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 3, 1), ).setIndexNames((0, "FN100-MIB", "sfdebugIndex"))
if mibBuilder.loadTexts: sfdebugEntry.setStatus('mandatory')
sfdebugIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 100))).clone(namedValues=NamedValues(("debug-port1", 1), ("debug-port2", 2), ("debug-port3", 3), ("debug-port4", 4), ("debug-port5", 5), ("debug-port6", 6), ("debug-port7", 7), ("debug-port8", 8), ("debug-port9", 9), ("debug-port10", 10), ("debug-port11", 11), ("debug-port12", 12), ("debug-mp", 100)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfdebugIndex.setStatus('mandatory')
sfdebugOperation = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("examine", 1), ("modify", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfdebugOperation.setStatus('mandatory')
sfdebugBase = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 3, 1, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfdebugBase.setStatus('mandatory')
sfdebugLength = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 3, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfdebugLength.setStatus('mandatory')
sfdebugData = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 8, 3, 1, 5), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfdebugData.setStatus('mandatory')
sfprotoTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 9, 1), )
if mibBuilder.loadTexts: sfprotoTable.setStatus('mandatory')
sfprotoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 9, 1, 1), ).setIndexNames((0, "FN100-MIB", "sfprotoIfIndex"))
if mibBuilder.loadTexts: sfprotoEntry.setStatus('mandatory')
sfprotoIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 9, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfprotoIfIndex.setStatus('mandatory')
sfprotoBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 9, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4))).clone(namedValues=NamedValues(("transparent", 1), ("none", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfprotoBridge.setStatus('mandatory')
sfprotoSuppressBpdu = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 9, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("suppressed", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfprotoSuppressBpdu.setStatus('mandatory')
sfprotoRipListen = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 9, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfprotoRipListen.setStatus('mandatory')
sfprotoTrunking = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 9, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfprotoTrunking.setStatus('mandatory')
sftrunkTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1), )
if mibBuilder.loadTexts: sftrunkTable.setStatus('mandatory')
sftrunkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1), ).setIndexNames((0, "FN100-MIB", "sftrunkIfIndex"))
if mibBuilder.loadTexts: sftrunkEntry.setStatus('mandatory')
sftrunkIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sftrunkIfIndex.setStatus('mandatory')
sftrunkState = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("closed", 1), ("oneway", 2), ("joined", 3), ("helddown", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sftrunkState.setStatus('mandatory')
sftrunkRemoteBridgeId = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sftrunkRemoteBridgeId.setStatus('mandatory')
sftrunkRemoteIp = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1, 4), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sftrunkRemoteIp.setStatus('mandatory')
sftrunkLastError = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("in-bpdu", 2), ("multiple-bridges", 3), ("no-ack", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sftrunkLastError.setStatus('mandatory')
sftrunkLinkOrdinal = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sftrunkLinkOrdinal.setStatus('mandatory')
sftrunkLinkCount = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sftrunkLinkCount.setStatus('mandatory')
sftrunkLastChange = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 10, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sftrunkLastChange.setStatus('mandatory')
sfworkGroupNextIndex = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfworkGroupNextIndex.setStatus('mandatory')
sfworkGroupCurrentCounts = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfworkGroupCurrentCounts.setStatus('mandatory')
sfworkGroupMaxCount = MibScalar((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfworkGroupMaxCount.setStatus('mandatory')
sfworkGroupTable = MibTable((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 4), )
if mibBuilder.loadTexts: sfworkGroupTable.setStatus('mandatory')
sfworkGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 4, 1), ).setIndexNames((0, "FN100-MIB", "sfworkGroupIndex"))
if mibBuilder.loadTexts: sfworkGroupEntry.setStatus('mandatory')
sfworkGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 4, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sfworkGroupIndex.setStatus('mandatory')
sfworkGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 4, 1, 2), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfworkGroupName.setStatus('mandatory')
sfworkGroupType = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("workgroup-all", 1), ("workgroup-multicast", 2), ("workgroup-unicast", 3), ("workgroup-invalid", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfworkGroupType.setStatus('mandatory')
sfworkGroupPort = MibTableColumn((1, 3, 6, 1, 4, 1, 97, 5, 3, 11, 4, 1, 4), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sfworkGroupPort.setStatus('mandatory')
mibBuilder.exportSymbols("FN100-MIB", sfadminVirtualSwitch4=sfadminVirtualSwitch4, sfifTxStormCnt=sfifTxStormCnt, sfadminArpEntries=sfadminArpEntries, sfifDMATotalRetries=sfifDMATotalRetries, sfaddrDbFullBuckets=sfaddrDbFullBuckets, sfifTxStormTime=sfifTxStormTime, sfif=sfif, sfaddr=sfaddr, sfhwPortCount=sfhwPortCount, sfadminVirtualSwitch2=sfadminVirtualSwitch2, sfadminAlarmAddressChange=sfadminAlarmAddressChange, sftrunkIfIndex=sftrunkIfIndex, sfworkGroupType=sfworkGroupType, sfaddrDbEntry=sfaddrDbEntry, platform=platform, sfadmin=sfadmin, cmuKip=cmuKip, sfswSizes=sfswSizes, sfprotoIfIndex=sfprotoIfIndex, sfswDesc=sfswDesc, sfifMgntRxQueueSize=sfifMgntRxQueueSize, sfdebugTable=sfdebugTable, sfuartOverrunErrors=sfuartOverrunErrors, sftrunkLinkCount=sftrunkLinkCount, sfifMgtDroppedPackets=sfifMgtDroppedPackets, sfworkGroupName=sfworkGroupName, sfifFilterFloodSourceSame=sfifFilterFloodSourceSame, sfhwPortTable=sfhwPortTable, sfadminLEDProgramOption=sfadminLEDProgramOption, sfifCrashTime=sfifCrashTime, sfworkGroup=sfworkGroup, sftrunkTable=sftrunkTable, sfifRxForwardChars=sfifRxForwardChars, sfprotoTrunking=sfprotoTrunking, sfadminArpStatics=sfadminArpStatics, sfifSpeed=sfifSpeed, es_1fe=es_1fe, sfifIpAddr=sfifIpAddr, sfadminVirtualSwitch3=sfadminVirtualSwitch3, sfifDMAPeakRetries=sfifDMAPeakRetries, sfaddrDbMaxFullBuckets=sfaddrDbMaxFullBuckets, sfadminRipPreference=sfadminRipPreference, sfifIndex=sfifIndex, sfworkGroupTable=sfworkGroupTable, sfifRxQueues=sfifRxQueues, sfifLedOn=sfifLedOn, sftrunkState=sftrunkState, sfprotoSuppressBpdu=sfprotoSuppressBpdu, sfadminAnyPass=sfadminAnyPass, sftrunkLastError=sftrunkLastError, cmu=cmu, sfdebug=sfdebug, sfaddrOperation=sfaddrOperation, sftrunkRemoteIp=sftrunkRemoteIp, sfproto=sfproto, sfswdisWriteStatus=sfswdisWriteStatus, sfaddrDbBucketEntries=sfaddrDbBucketEntries, sfsw=sfsw, sfswFilesetTable=sfswFilesetTable, sfadminTempOK=sfadminTempOK, sfadminIpEntries=sfadminIpEntries, sfifDescr=sfifDescr, sfdebugEntry=sfdebugEntry, sfswBases=sfswBases, sfhwPortSubType=sfhwPortSubType, sfifDMARetryCount=sfifDMARetryCount, sysTrapRetry=sysTrapRetry, sfhwManufData=sfhwManufData, sfadminArpOverflows=sfadminArpOverflows, sysID=sysID, sfhwAddr=sfhwAddr, sfprotoEntry=sfprotoEntry, sfhwPortIndex=sfhwPortIndex, sfuartAlignmentErrors=sfuartAlignmentErrors, sfswIndex=sfswIndex, sfaddrFlags=sfaddrFlags, sfuartEntry=sfuartEntry, sfifRxCnt=sfifRxCnt, sfifVirtualSwitchID=sfifVirtualSwitchID, sysTrapAck=sysTrapAck, sysTrapTime=sysTrapTime, sfhwPortDiagPassed=sfhwPortDiagPassed, sfadminGetPass=sfadminGetPass, sfhwPortEntry=sfhwPortEntry, sfdebugString=sfdebugString, sfaddrDbBucketEntCnt=sfaddrDbBucketEntCnt, sfadminStaticPreference=sfadminStaticPreference, sfifTable=sfifTable, sfadminRebootConfig=sfadminRebootConfig, sfswdis=sfswdis, sfswCount=sfswCount, sfswType=sfswType, sftrunkEntry=sftrunkEntry, sfaddrAlarmMAC=sfaddrAlarmMAC, sfadminAuthenticationFailure=sfadminAuthenticationFailure, sfdebugData=sfdebugData, sftrunkLastChange=sftrunkLastChange, sfifFuseOkay=sfifFuseOkay, sfworkGroupPort=sfworkGroupPort, sfaddrDbSearchDepth=sfaddrDbSearchDepth, sfswdisConfigRetryTime=sfswdisConfigRetryTime, sfdebugBase=sfdebugBase, sfaddrDbDistribution=sfaddrDbDistribution, sfadminVirtualSwitch1=sfadminVirtualSwitch1, sfprotoRipListen=sfprotoRipListen, sfadminIpStatics=sfadminIpStatics, sfaddrPort=sfaddrPort, sfadminDefaultVirtualSwitch=sfadminDefaultVirtualSwitch, sfifStatisticsTime=sfifStatisticsTime, sfuartIndex=sfuartIndex, sfprotoBridge=sfprotoBridge, sfworkGroupEntry=sfworkGroupEntry, sfuartBaud=sfuartBaud, sfdebugOperation=sfdebugOperation, sfadminButtonSelection=sfadminButtonSelection, sfworkGroupCurrentCounts=sfworkGroupCurrentCounts, sfadminAlarmDynamic=sfadminAlarmDynamic, sfdebugStringID=sfdebugStringID, sfworkGroupMaxCount=sfworkGroupMaxCount, sfifRxPacket=sfifRxPacket, sfprotoTable=sfprotoTable, sfaddrDbMaxSize=sfaddrDbMaxSize, sfaddrDynamicMax=sfaddrDynamicMax, cmuRouter=cmuRouter, sfhwDiagCode=sfhwDiagCode, systems=systems, sfswdisConfigTotalTimeout=sfswdisConfigTotalTimeout, sftrunk=sftrunk, sfuartTable=sfuartTable, sfadminRipRouteDiscards=sfadminRipRouteDiscards, sysReset=sysReset, sftrunkRemoteBridgeId=sftrunkRemoteBridgeId, sysTrapPort=sysTrapPort, sfadminDisableButton=sfadminDisableButton, sftrunkLinkOrdinal=sftrunkLinkOrdinal, sfaddrDynamics=sfaddrDynamics, sfifTPLinkOK=sfifTPLinkOK, sfifRxHwFCSs=sfifRxHwFCSs, sfhw=sfhw, sys=sys, sfuart=sfuart, sfifIpGroupAddr=sfifIpGroupAddr, sfswFileset=sfswFileset, sfifDMAPackets=sfifDMAPackets, sfifLinkStatusOutages=sfifLinkStatusOutages, sfhwPortType=sfhwPortType, sfadminStorageFailure=sfadminStorageFailure, sfifCrashEvents=sfifCrashEvents, sfworkGroupIndex=sfworkGroupIndex, sfdebugLength=sfdebugLength, sfaddrMAC=sfaddrMAC, sfswFlashBank=sfswFlashBank, sfswNumber=sfswNumber, sfadminMPReceiveCongests=sfadminMPReceiveCongests, sfswdisAccess=sfswdisAccess, sfswStarts=sfswStarts, sfifDMAFlowControlEnable=sfifDMAFlowControlEnable, sfdebugIndex=sfdebugIndex, sfifRxFilteredChars=sfifRxFilteredChars, sfaddrDbTable=sfaddrDbTable, sfifEntry=sfifEntry, sfaddrIndex=sfaddrIndex, sfifDMADroppedPackets=sfifDMADroppedPackets, sfadminNMSIPAddr=sfadminNMSIPAddr, cmuSNMP=cmuSNMP, sfswdisConfigIp=sfswdisConfigIp, sfifTxCollisions=sfifTxCollisions, sigma=sigma, sfifLocalFilter=sfifLocalFilter, sfworkGroupNextIndex=sfworkGroupNextIndex, sfifTxCnt=sfifTxCnt, sfifMinimumUpTime=sfifMinimumUpTime, sfaddrDbBuckets=sfaddrDbBuckets, mibs=mibs, sfswdisDesc=sfswdisDesc, sfaddrDbBucketAddress=sfaddrDbBucketAddress, sfifTxPacket=sfifTxPacket, sfaddrNext=sfaddrNext, sfaddrBlock=sfaddrBlock, sfaddrBlockSize=sfaddrBlockSize, sfifDMARetryBufferCount=sfifDMARetryBufferCount, sfifTxStorms=sfifTxStorms, sfifFunction=sfifFunction, sfadminFatalErr=sfadminFatalErr)
|
#### Translator
eng_fr={'hello':'salut',
'very':'tres',
'good':'Bon',
'see':'voir',
'soon':'bientôt',
'bye':'au revoir',
"house":"maison",
"apple":"pomme",
"tree":"arbre",
"horse":"cheval",
"yellow":"jaune",
"keyboard":"clavier",
"water":"eau",
"start":"commencer",
"city":"ville",
"ear":"oreille",
"eel":"anguille",
"tooth":"dent",
"thank you":"merci",
"thank": "remercier",
"you":"vous"}
translate = input("Enter something in English:: ")
translate = translate.split()
print("In French we say it:")
for i in translate:
print(eng_fr[i],end = " ")
|
def aio_documented_by(original):
def wrapper(target):
target.__doc__ = "Aio function: {original_doc}".format(original_doc=original.__doc__)
return target
return wrapper
def documented_by(original):
def wrapper(target):
target.__doc__ = original.__doc__
return target
return wrapper
|
class TurboSMSRouter(object):
app_label = 'turbosms'
db_name = 'turbosms'
def db_for_read(self, model, **hints):
if model._meta.app_label == self.app_label:
return self.db_name
return None
def db_for_write(self, model, **hints):
if model._meta.app_label == self.app_label:
return self.db_name
return None
def allow_relation(self, obj1, obj2, **hints):
if obj1._meta.app_label == self.app_label or \
obj2._meta.app_label == self.app_label:
return False
return None
def allow_migrate(self, db, app_label, model_name=None, **hints):
if app_label == self.app_label:
return False
return None
|
"""
This module implements the FLOAT class, used (sparingly please!) for real number storage and manipulation.
(Ian Howie Mackenzie - April 2009, July 2017)
"""
class FLOAT(float):
"""
simple float handling
"""
def __new__(self, x=0.0):
""" create our (immutable) float
force invalid x to 0
"""
try:
i = super().__new__(self, x)
except:
i = super().__new__(self, 0.0)
return i
def sql(self, quoted=True):
""" gives sql string format, including quotes (why not..)
"""
if quoted:
return "'%s'" % self
else:
return "%s" % self
_v_mysql_type = "float"
_v_default = 0.0
|
BROWSER_IMPLICIT_WAIT_TIME = 5
MODAL_TRANSITION_WAIT_TIME = 2
BOOTSTRAP_SWITCH_TRANSITION_WAIT_TIME = 1
PAGE_LOADING_WAIT_TIME = 5
PAGE_LOADING_LONG_WAIT_TIME = 10
|
'''
Class
/is holding plate = True
/
attributes:/
/ \
/ tables_responsible = [4, 5, 6]
waiter (object)
\
\ / def take_order(table, order)
/ # takes order to chef
methods:/
\
\
\def take_payment(amount):
# add money to the restaurant
'''
|
# Split-initiator sequences from
# Sequences retrieved from https://dev.biologists.org/content/develop/suppl/2018/06/21/145.12.dev165753.DC1/DEV165753supp.pdf
# Sequences below include 2nt spacers on 3' end of odd and 5' end of even to allow for bending to present initiator.
initiators = {
"B1": {
"odd": "gAggAgggCAgCAAACggAA",
"even": "TAgAAgAgTCTTCCTTTACg"
},
"B2": {
"odd": "CCTCgTAAATCCTCATCAAA",
"even": "AAATCATCCAgTAAACCgCC"
},
"B3": {
"odd": "gTCCCTgCCTCTATATCTTT",
"even": "TTCCACTCAACTTTAACCCg"
},
"B4": {
"odd": "CCTCAACCTACCTCCAACAA",
"even": "ATTCTCACCATATTCgCTTC"
},
"B5": {
"odd": "CTCACTCCCAATCTCTATAA",
"even": "AACTACCCTACAAATCCAAT"
},
}
def addInitiator(tile,initiator="B1"):
pass
|
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
class ChoiceFactoryOptions:
def __init__(
self,
inline_separator: str = None,
inline_or: str = None,
inline_or_more: str = None,
include_numbers: bool = None,
) -> None:
"""Initializes a new instance.
Refer to the code in the ConfirmPrompt for an example of usage.
:param object:
:type object:
:param inline_separator: The inline seperator value, defaults to None
:param inline_separator: str, optional
:param inline_or: The inline or value, defaults to None
:param inline_or: str, optional
:param inline_or_more: The inline or more value, defaults to None
:param inline_or_more: str, optional
:param includeNumbers: Flag indicating whether to include numbers as a choice, defaults to None
:param includeNumbers: bool, optional
:return:
:rtype: None
"""
self.inline_separator = inline_separator
self.inline_or = inline_or
self.inline_or_more = inline_or_more
self.include_numbers = include_numbers
|
"""
Time complexity: O(n*m) (where n = nth sequence, m = length of the longest sequence)
Space complexity: O(m) (for the resulting sequence)
"""
def look_and_say(n):
sequence = "1"
for _ in range(n - 1):
sequence = "".join(groups(sequence))
return sequence
"""
Return an array with pairs [occurrences, char]
Ex:
"1122212" = [["2", "1"], ["3", "2"], ["1", "1"], ["1", "2"]]
"""
def groups(word):
groups = []
last_char, count = None, 0
for char in word:
if not last_char:
last_char, count = char, 1
else:
if char == last_char:
count += 1
else:
groups.extend([str(count), last_char])
last_char, count = char, 1
# Remaining
groups.extend([str(count), last_char])
return groups
|
#!/usr/bin/env python
# $Id: listsets.py,v 2.1 2004/07/14 17:38:53 zeller Exp $
def listminus(c1, c2):
"""Return a list of all elements of C1 that are not in C2."""
s2 = {}
for delta in c2:
s2[delta] = 1
c = []
for delta in c1:
if not s2.has_key(delta):
c.append(delta)
return c
def listintersect(c1, c2):
"""Return the common elements of C1 and C2."""
s2 = {}
for delta in c2:
s2[delta] = 1
c = []
for delta in c1:
if s2.has_key(delta):
c.append(delta)
def listunion(c1, c2):
"""Return the union of C1 and C2."""
s1 = {}
for delta in c1:
s1[delta] = 1
c = c1[:]
for delta in c2:
if not s1.has_key(delta):
c.append(delta)
return c
def listsubseteq(c1, c2):
"""Return 1 if C1 is a subset or equal to C2."""
s2 = {}
for delta in c2:
s2[delta] = 1
for delta in c1:
if not s2.has_key(delta):
return 0
|
2227
247
2216
3705
555
166
977
1900
4858
1337
3934
3599
4200
1598
2940
2359
2756
3753
1332
3646
706
428
3958
974
2744
2501
1209
2579
4987
334
2169
2175
4273
2890
3569
1006
2539
3855
1353
2677
1369
2008
59
311
1294
3008
1717
3271
1563
867
3466
187
4939
4719
1485
1243
1898
1169
4667
228
1743
4146
661
2831
158
724
2289
1973
1193
85
460
2437
3408
3580
1457
336
4940
1614
3280
3639
4754
643
2690
2791
1319
2957
3109
370
953
2642
4685
515
756
4456
4296
2989
513
1588
1749
4845
|
def docking_data_01(lines):
mask = None
data = dict()
for line in [line.split() for line in lines]:
if line[0] == 'mask':
mask = line[2]
else:
index = line[0]
bits = "{0:b}".format(int(line[2]))
bits = (36-len(bits))*'0' + bits
masked = []
for i, c in enumerate(bits):
if mask[i] != 'X':
masked.append(mask[i])
else:
masked.append(c)
data[index] = ''.join(masked)
return sum([int(v, 2) for v in data.values()])
def bitmask_02(address, mask):
bits = "{0:b}".format(int(address))
bits = (len(mask)-len(bits))*'0' + bits
masked = []
result = []
for i, c in enumerate(bits):
if mask[i] == 'X':
result.append(None)
masked.append(i)
elif mask[i] == '1':
result.append('1')
else:
result.append(c)
# Now we have the final bit template, and a list of masked indices.
# loop over 2^len(masked) in binary to come up with all permutations
results = []
for i in range(pow(2, len(masked))):
bits = list("{0:b}".format(i))
bits = (len(masked)-len(bits))*['0'] + bits
cur = []
for c in reversed(result):
if c == None:
cur.append(bits.pop())
else:
cur.append(c)
cur.reverse()
results.append(int(''.join(cur), 2))
return results
def docking_data_02(lines):
mask = None
data = dict()
for line in [line.split() for line in lines]:
if line[0] == 'mask':
mask = line[2]
else:
address = line[0].split('[')[1][:-1]
addresses = bitmask_02(address, mask)
for a in addresses:
data[a] = line[2]
return sum([int(v) for v in data.values()])
if __name__ == "__main__":
with open('input.txt') as f:
contents = [l.strip() for l in f.readlines()]
with open('output.txt', 'w') as f:
f.write("Part one: {}\n".format(docking_data_01(contents)))
f.write("Part two: {}\n".format(docking_data_02(contents)))
# There is some refactoring that can be done here, in addition to some good old cleanup and simplification, but I'm out of time.
|
# File: smime_consts.py
# Copyright (c) 2020 Splunk Inc.
#
# Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt)
# Sign email action related constants
SMIME_SIGN_PROGRESS_MSG = "Signing email message"
SMIME_SIGN_OK_MSG = "Email message signed successfully"
SMIME_SIGN_ERR_MSG = "Error occurred while signing message. {err}"
# Verify email action related constants
SMIME_VERIFY_PROGRESS_MSG = "Verifying signed email message"
SMIME_VERIFY_OK_MSG = "Signed email message verified successfully"
SMIME_VERIFY_ERR_MSG = "Error occurred while verifying message. {err}"
SMIME_VERIFY_ERR2_MSG = "The received message was not signed"
# Encrypt email action related constants
SMIME_ENCRYPT_PROGRESS_MSG = "Encrypting email message"
SMIME_ENCRYPT_OK_MSG = "Email message encrypted successfully"
SMIME_ENCRYPT_ERR_MSG = "Error occurred while encrypting message. {err}"
# Decrypt email action related constants
SMIME_DECRYPT_PROGRESS_MSG = "Decrypting encrypted email message"
SMIME_DECRYPT_ERR_MSG = "Error occurred while decrypting message. {err}"
SMIME_DECRYPT_ERR2_MSG = "The received message was not encrypted"
SMIME_DECRYPT_OK_MSG = "Email message decrypted successfully"
# Error message handling constants
ERR_CODE_MSG = "Error code unavailable"
ERR_MSG_UNAVAILABLE = "Error message unavailable. Please check the asset configuration and|or action parameters"
PARSE_ERR_MSG = "Unable to parse the error message. Please check the asset configuration and|or action parameters"
TYPE_ERR_MSG = "Error occurred while connecting to the SMime Server. Please check the asset configuration and|or the action parameters"
|
print("""
084) Faça um programa que leia nome e peso de várias pessoas, guardando tudo
em uma lista. No final, mostre:
A) Quantas pessoas foram cadastradas.
B) Uma listagem com as pessoas mais pesadas.
C) Uma listagem com as pessoas mais leves.
""")
listaDePessoasEPesos = []
maiorPeso = menorPeso = 0
pessoasMaisPesadas = ''
pessoasMaisLeves = ''
while True:
nome = input('Informe o nome da pessoa: ').strip()
peso = float(input(f'Informe o peso de {nome}: ').strip())
### Verificação do maior e menor pesos
if len(listaDePessoasEPesos) == 0:
maiorPeso = menorPeso = peso
else:
if peso > maiorPeso:
maiorPeso = peso
elif peso < menorPeso:
menorPeso = peso
### Esta atribuição garante que o nome e o peso serão inseridos,
### sempre, como uma lista aninhada na lista principal.
### É boa prática, no entanto, preferir o uso do método "append()".
listaDePessoasEPesos += [[nome, peso]]
### Verificação tradicional de continuidade do programa
while True:
continuar = input('Deseja continuar? (s/n) ').strip().lower()
if continuar == 's' or continuar == 'n':
break
print('Digite S/s ou N/n para prosseguir ou suspender, \
respectivamente.')
if continuar == 'n':
break
for item in listaDePessoasEPesos:
if item[1] == maiorPeso:
pessoasMaisPesadas += item[0] + ', '
elif item[1] == menorPeso:
pessoasMaisLeves += item[0] + ', '
print(f'\n{len(listaDePessoasEPesos)} pessoas foram cadastradas.')
print(f'O maior peso encontrado foi {maiorPeso}Kg. As pessoas deste grupo \
são: {pessoasMaisPesadas[:-2]}.')
print(f'O menor peso encontrado foi {menorPeso}Kg. As pessoas deste grupo \
são: {pessoasMaisLeves[:-2]}.')
|
_list = ['int', 'bool', 'str']
def sys_macro_load():
result = ''
for _type in _list:
with open(f'cool_compiler/codegen/v1_mips_generate/general_macros//{_type}.mips') as mips:
text = mips.read()
mips.close()
result += text[text.index('#region'): text.index('#endregion')]
return result
|
# coding=utf-8
class App:
TESTING = True
# ReverseProxy.HTTP_X_SCRIPT_NAME='/__'
HOST_URL = 'http://pay.lvye.com'
class Checkout:
ZYT_MAIN_PAGE = 'http://pay.lvye.com/__/main'
VALID_NETLOCS = ['pay.lvye.com']
AES_KEY = "2HF5UKPIADDYBHDSKOVP9GMA80MU2IV2"
PAYMENT_CHECKOUT_VALID_SECONDS = 1 * 60 * 60
class LvyePaySitePayClientConfig:
ROOT_URL = "http://pay.lvye.com/api/__"
CHECKOUT_URL = 'http://pay.lvye.com/__/checkout/{sn}'
class LvyeCorpPaySitePayClientConfig:
ROOT_URL = "http://pay.lvye.com/api/__"
CHECKOUT_URL = 'http://pay.lvye.com/__/checkout/{sn}'
|
"""
This module contains the TissueMAPs interface to Napari
plugin.
"""
|
def get_file_list(num_files):
"""
formats number of files in olympus format
:param num_files:
:return: list of file numbers
"""
file_list = []
for num in range(1, num_files+1):
num = str(num)
to_add = 4-len(num)
final = '0'*to_add+num
file_list.append(final)
return file_list
def make_macro_3_channels(data_dir, save_dir, file_name_prefix, file_nums, macro_save_dir):
"""
:param data_dir: directory with .oir files
:param save_dir: directory where .tif files will be saved
:param file_name_prefix: common component of name of .oir files from experiment
ex: "8-10-2018 exp 2 attempt 1 phase 1_A01_G001_"
:param file_nums: output of get_file_list
:param macro_save_dir: full path of location for macro to save
:return: saves a macro file
"""
file_object = open(macro_save_dir+"oir_macro.ijm", "w")
inp = 'input="{}";'.format(data_dir)
bio_import = 'run("Bio-Formats Importer", "open=["+ input + filename +"] view=Hyperstack split_channels stack_order=XYCZT");'
run = 'run("Z Project...", "projection=[Max Intensity]");'
close = 'close();'
for file_num in file_nums:
filename = 'filename="{}{}.oir"'.format(file_name_prefix, file_num)
two = 'selectWindow("{}{}.oir - C=0");'.format(file_name_prefix, file_num)
four = 'saveAs("Tiff", "{}MAX_{}{}.oir - C=0.tif");'.format(save_dir, file_name_prefix, file_num)
two_1 = 'selectWindow("{}{}.oir - C=1");'.format(file_name_prefix, file_num)
four_1 = 'saveAs("Tiff", "{}MAX_{}{}.oir - C=1.tif");'.format(save_dir, file_name_prefix, file_num)
two_2 = 'selectWindow("{}{}.oir - C=2");'.format(file_name_prefix, file_num)
four_2 = 'saveAs("Tiff", "{}MAX_{}{}.oir - C=2.tif");'.format(save_dir, file_name_prefix, file_num)
command = inp+"\n"+filename+"\n"+bio_import+"\n"+two+"\n"+run+"\n"+four+"\n"+close+"\n"+close+"\n"+ \
two_1+"\n"+run+"\n"+four_1+"\n"+close+"\n"+close+"\n"+ \
two_2+"\n"+run+"\n"+four_2+"\n"+close+"\n"+close
file_object.write(command+"\n")
file_object.close()
|
# -*- coding: utf-8 -*-
"""
Editor: Zhao Xinlu
School: BUPT
Date: 2018-03-21
算法思想: 合并k个排序链表--分治,时间复杂度为O(nklogk)
"""
"""
Definition of ListNode
"""
class ListNode(object):
def __init__(self, val, next=None):
self.val = val
self.next = next
class Solution:
"""
@param lists: a list of ListNode
@return: The head of one sorted list.
"""
def mergeKLists(self, lists):
# write your code here
if lists == None or len(lists) == 0:
return None
if len(lists) == 1:
return lists[0]
start = 0
end = len(lists)-1
# 将lists的头和尾进行归并,然后将结果存放在头,头向后移动,尾向前移动,直到begin=end,则已经归并了一半,此时将begin=0,继续归并
while end > 0:
start = 0
while start < end:
lists[start] = self.merge2Lists(lists[start], lists[end])
start += 1
end -= 1
return lists[0]
def merge2Lists(self, head1, head2):
if head1 == None:
return head2
if head2 == None:
return head1
dummy = ListNode(0)
head3 = dummy
while head1 and head2:
if head1.val <= head2.val:
head3.next = head1
head1 = head1.next
else:
head3.next = head2
head2 = head2.next
head3 = head3.next
while head1:
head3.next = head1
head1 = head1.next
head3 = head3.next
while head2:
head3.next = head2
head2 = head2.next
head3 = head3.next
return dummy.next
|
n = int(input())
p_list = sorted(list(map(int, input().split())))
ret = 0
for i in range(n):
ret += (n-i) * p_list[i]
print(ret)
|
expected_output = {
"power_stack": {
"Powerstack-1": {
"allocated_power": 575,
"mode": "SP-PS",
"power_supply_num": 1,
"reserved_power": 0,
"switch_num": 1,
"switches": {
1: {
"allocated_power": 575,
"available_power": 525,
"consumed_power_poe": 0,
"consumed_power_sys": 155,
"power_budget": 1100,
"power_supply_a": 1100,
"power_supply_b": 0
}
},
"topology": "Stndaln",
"total_power": 1100,
"unused_power": 525
},
"Powerstack-2": {
"allocated_power": 575,
"mode": "SP-PS",
"power_supply_num": 1,
"reserved_power": 0,
"switch_num": 1,
"switches": {
2: {
"allocated_power": 575,
"available_power": 525,
"consumed_power_poe": 0,
"consumed_power_sys": 155,
"power_budget": 1100,
"power_supply_a": 1100,
"power_supply_b": 0
}
},
"topology": "Stndaln",
"total_power": 1100,
"unused_power": 525
}
},
"totals": {
"total_allocated_power": 1150,
"total_available_power": 1050,
"total_consumed_power_poe": 0,
"total_consumed_power_sys": 310
}
}
|
class HtmlEmitter(object):
def emit(self, s):
self.file.write(s)
def emit_line(self, s=""):
self.emit(s)
self.emit("\n")
def initialize(self, filename, title, author, date):
self.file = open(filename, "w")
self.emit_line("""<html>
<head>
<link rel="stylesheet" type="text/css" href="hymnal.css" />
<meta charset="utf-8" />
<title>%s, %s</title>
</head>
<body>""" % (title, author))
self.emit_line("""<h1 class="hymnal_title">%s</h1>""" % title)
self.emit_line("""<h2 class="hymnal_subtitle">%s (%s)</h2>""" % (author, date))
def emit_category(self, category):
self.emit_line("""<h3 class="category">%s</h3>""" % category)
def emit_header(self, num, meter, author):
self.emit_line("""<div class="hymn">""")
if author == "":
self.emit_line(
"""<span class="hymn_num">%s</span>. (<span class="meter">%s</span>)<br />""" %
(num, meter))
else:
self.emit_line(
"""<span class="hymn_num">%s</span>. (<span class="meter">%s</span>) <span class="author">%s</span><br />""" %
(num, meter, author))
def emit_footer(self):
self.emit_line("</div>")
def emit_stanza(self, stanza):
self.emit_line("""<div class="stanza">""")
self.emit("""<span class="stanza_num">%s</span>""" % stanza.num)
for line in stanza:
self.emit_line("%s<br />" % line)
self.emit_line("</div>")
def finalize(self):
self.emit_line("""</body>
</html>""")
self.file.close()
|
#
# PySNMP MIB module ENTERASYS-ACTIVATION-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ENTERASYS-ACTIVATION-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:03:07 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ConstraintsUnion")
etsysModules, = mibBuilder.importSymbols("ENTERASYS-MIB-NAMES", "etsysModules")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup")
NotificationType, Unsigned32, Gauge32, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, TimeTicks, Integer32, Counter64, ModuleIdentity, Counter32, iso, MibIdentifier, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Unsigned32", "Gauge32", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "TimeTicks", "Integer32", "Counter64", "ModuleIdentity", "Counter32", "iso", "MibIdentifier", "IpAddress")
RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString")
etsysActivationMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999))
etsysActivationMIB.setRevisions(('2002-04-18 14:54',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: etsysActivationMIB.setRevisionsDescriptions(('The initial version of this MIB module.',))
if mibBuilder.loadTexts: etsysActivationMIB.setLastUpdated('200204181454Z')
if mibBuilder.loadTexts: etsysActivationMIB.setOrganization('Enterasys Networks, Inc')
if mibBuilder.loadTexts: etsysActivationMIB.setContactInfo('Postal: Enterasys Networks, Inc. 500 Spaulding Turnpike P.O. Box 3060 Portsmouth, NH 03801 Phone: +1 603 501 5500 E-mail: support@enterasys.com WWW: http://www.enterasys.com')
if mibBuilder.loadTexts: etsysActivationMIB.setDescription("This MIB module defines a portion of the SNMP enterprise MIBs under Enterasys Networks' enterprise OID pertaining to configuration of product activation keys.")
etsysActivationObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1))
class EnterasysKeyType(TextualConvention, Integer32):
description = 'A value of this type indicates whether an activation key is a product key, or whether it is a special kind of key such as a demonstration key. noKey(1) Indicates that no key is configured. unknownKeyType(2) Indicates that a key is configured, but that the agent has no idea what type of key it is. productKey(3) Indicates that a product key is configured. demoKey(4) Indicates that a demonstration key is configured. Demonstration keys intended for customer use will typically have expirations or other restrictions.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))
namedValues = NamedValues(("noKey", 1), ("unknownKeyType", 2), ("productKey", 3), ("demoKey", 4))
class EnterasysFeature(TextualConvention, Integer32):
description = 'A value of this type identifies an optional feature for which an activation key may be bought or obtained. This enumeration type will be extended as necessary.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("dot1xAuthentication", 1), ("pointToMultipoint", 2))
etsysActivationBaseBranch = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1))
etsysMaxActivationKeyRow = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: etsysMaxActivationKeyRow.setStatus('current')
if mibBuilder.loadTexts: etsysMaxActivationKeyRow.setDescription('The largest value that the agent supports for the index object etsysActivationKeyRow.')
etsysActivationKeyTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 2), )
if mibBuilder.loadTexts: etsysActivationKeyTable.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyTable.setDescription('This table contains activation keys for optional features.')
etsysActivationKeyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 2, 1), ).setIndexNames((0, "ENTERASYS-ACTIVATION-MIB", "etsysActivationKeyRow"))
if mibBuilder.loadTexts: etsysActivationKeyEntry.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyEntry.setDescription('Each valid conceptual row contains basic information about one product activation key. Only those rows for which the etsysActivationKeyStatus is active(1) may enable features. Note that it is possible for an active(1) row to contain a well-formatted, internally-consistent key that has expired. A managed system is under no obligation to enable features in response to the presence of expired keys.')
etsysActivationKeyRow = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: etsysActivationKeyRow.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyRow.setDescription('An index that uniquely identifies a row in the product key table. Agents are not required to accept arbitrary indices -- they may limit indices to numbers in the range (1 - N), where N is defined as the maximum number of activation keys that can usefully be supported on a product.')
etsysActivationLicenseString = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 2, 1, 2), SnmpAdminString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: etsysActivationLicenseString.setStatus('current')
if mibBuilder.loadTexts: etsysActivationLicenseString.setDescription("A place for human-readable administrative information associated with this activation key, such as a product serial number or a demo key's registration date. Some key formats may require entry of 'License String' values provided by the vendor. Agents may enforce the following rule with respect to such paired-key rows: ------------------------------------------------------- This object MUST be set before etsysActivationKeyStatus can become active(1), and MAY NOT be modified while etsysActivationKeyStatus is active(1). -------------------------------------------------------")
etsysActivationKeyValue = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 2, 1, 3), SnmpAdminString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: etsysActivationKeyValue.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyValue.setDescription("An activation key. The activation key must be coded as a string of printable characters. Spaces and hyphens are reserved punctuation characters. They may be used freely on input and output, and do not form part of the key value. (The agent is not required to preserve these or other non-essential aspects of the key formatting.) The key must conform to one of the meta-formats defined in this DESCRIPTION. These meta-formats are subject to change. Agents should validate activation keys at Set time. An agent may reject even a valid key if it is inapplicable to the managed device. This object MUST be set before etsysActivationKeyStatus can become active(1), and MAY NOT be modified while etsysActivationKeyStatus is active(1). ======================================================= Standard activation keys have the following format: <FormatCode> <OpaqueKey> The <FormatCode> is encoded as four hexadecimal digits, and identifies the format of the <OpaqueKey>. The <OpaqueKey> may be encoded in any fashion the agent likes, within the constraints mentioned earlier in this DESCRIPTION. ======================================================= A platform may accept keys of the format <Keyword> [Qualifiers] provided that there is no possibility of confusion with standard activation keys. This format is best suited to non-secret demo keys that are intended for a wide audience ('everyone reading the user manual'). ======================================================= Backwards compatibility example Task : Configure an existing RoamAbout AccessPoint 2000 P-MP activation key, using this MIB. <OpaqueKey> : XXXX-XXXX-XXXX-XXXX (existing key) <FormatCode> : 0001 You enter : 0001-XXXX-XXXX-XXXX-XXXX =======================================================")
etsysActivationKeyType = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 2, 1, 4), EnterasysKeyType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: etsysActivationKeyType.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyType.setDescription('Derived from the activation key. Identifies the type of key (product key vs. demonstration key). Identification of existing demonstration keys may not be 100% accurate.')
etsysActivationKeyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 2, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: etsysActivationKeyStatus.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyStatus.setDescription('Supports creation, deletion, and activation of rows in the etsysActivationKeyTable. An instance of this variable may become active(1) only when there is a corresponding etsysActivationKeyValue. For some key formats, the etsysActivationLicenseString may need to be set to a matching vendor-supplied value. Note that a row with an active(1) status may contain a demo key that has expired, and that no longer provides access to any features.')
etsysActivationKeyFeatureTable = MibTable((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 3), )
if mibBuilder.loadTexts: etsysActivationKeyFeatureTable.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyFeatureTable.setDescription("This table indicates which optional feature or features each activation key enables. Rows only appear in this table for 'etsysActivationKeyValue' instances that contain recognizable key values.")
etsysActivationKeyFeatureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 3, 1), ).setIndexNames((0, "ENTERASYS-ACTIVATION-MIB", "etsysActivationKeyRow"), (0, "ENTERASYS-ACTIVATION-MIB", "etsysActivationKeyFeature"))
if mibBuilder.loadTexts: etsysActivationKeyFeatureEntry.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyFeatureEntry.setDescription('Each valid conceptual row indicates the existence of a known mapping between an activation key and an optional feature.')
etsysActivationKeyFeature = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 3, 1, 1), EnterasysFeature())
if mibBuilder.loadTexts: etsysActivationKeyFeature.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyFeature.setDescription('Identifies one of the optional product features enabled by an activation key in the etsysActivationKeyTable.')
etsysActivationKeyRestrictions = MibTableColumn((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 1, 1, 3, 1, 2), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: etsysActivationKeyRestrictions.setStatus('current')
if mibBuilder.loadTexts: etsysActivationKeyRestrictions.setDescription("If the activation key associated with this row is a demo key, this MIB object may contain a human-readable string describing the key's restrictions, expiration conditions, and/or status. A demo key that enables several features could, at least theoretically, have different conditions for each. Platforms may automatically enforce expirations, but are not guaranteed to do so. It is ultimately the system manager's responsibility to clean up expired keys. For a key that has no restrictions, this object's value may consist of the empty string, or of whitespace.")
etsysActivationConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 2))
etsysActivationGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 2, 1))
etsysActivationCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 2, 2))
etsysActivationBaseGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 2, 1, 1)).setObjects(("ENTERASYS-ACTIVATION-MIB", "etsysMaxActivationKeyRow"), ("ENTERASYS-ACTIVATION-MIB", "etsysActivationLicenseString"), ("ENTERASYS-ACTIVATION-MIB", "etsysActivationKeyValue"), ("ENTERASYS-ACTIVATION-MIB", "etsysActivationKeyType"), ("ENTERASYS-ACTIVATION-MIB", "etsysActivationKeyStatus"), ("ENTERASYS-ACTIVATION-MIB", "etsysActivationKeyRestrictions"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
etsysActivationBaseGroup = etsysActivationBaseGroup.setStatus('current')
if mibBuilder.loadTexts: etsysActivationBaseGroup.setDescription('A collection of objects for configuring activation keys for optional platform features.')
etsysActivationCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 5624, 1, 2, 99999, 2, 2, 1)).setObjects(("ENTERASYS-ACTIVATION-MIB", "etsysActivationBaseGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
etsysActivationCompliance = etsysActivationCompliance.setStatus('current')
if mibBuilder.loadTexts: etsysActivationCompliance.setDescription('The compliance statement for devices that support the Enterasys Product Activation MIB.')
mibBuilder.exportSymbols("ENTERASYS-ACTIVATION-MIB", etsysActivationMIB=etsysActivationMIB, etsysActivationConformance=etsysActivationConformance, etsysActivationKeyRestrictions=etsysActivationKeyRestrictions, etsysActivationKeyValue=etsysActivationKeyValue, etsysActivationCompliance=etsysActivationCompliance, EnterasysFeature=EnterasysFeature, etsysActivationCompliances=etsysActivationCompliances, etsysActivationKeyRow=etsysActivationKeyRow, etsysActivationKeyFeatureTable=etsysActivationKeyFeatureTable, etsysActivationKeyEntry=etsysActivationKeyEntry, etsysActivationGroups=etsysActivationGroups, etsysActivationKeyTable=etsysActivationKeyTable, etsysActivationKeyFeatureEntry=etsysActivationKeyFeatureEntry, etsysActivationObjects=etsysActivationObjects, etsysActivationBaseGroup=etsysActivationBaseGroup, etsysActivationKeyStatus=etsysActivationKeyStatus, etsysActivationKeyFeature=etsysActivationKeyFeature, EnterasysKeyType=EnterasysKeyType, PYSNMP_MODULE_ID=etsysActivationMIB, etsysActivationBaseBranch=etsysActivationBaseBranch, etsysActivationKeyType=etsysActivationKeyType, etsysMaxActivationKeyRow=etsysMaxActivationKeyRow, etsysActivationLicenseString=etsysActivationLicenseString)
|
# Cut the sticks
# Given the lengths of n sticks, print the number of sticks that are left before each cut operation.
#
# https://www.hackerrank.com/challenges/cut-the-sticks/problem
#
def cutTheSticks(arr):
# Complete this function
# algorithme:
# il faut soustraire la valeur minimale à chaque fois
# et supprimer les éléments minimaux
def iter():
m = min(arr)
for i in arr:
if i > m:
yield i - m
while len(arr) > 0:
print(len(arr))
arr = list(iter())
if __name__ == "__main__":
n = int(input().strip())
arr = list(map(int, input().strip().split(' ')))
cutTheSticks(arr)
|
def Qklnu(cfg,k,l,nu) : #function q=Qklnu(k,l,nu)
#
#% Computes Q, neccesary constant#% Computes Q, neccesary constant
#% for the moments computation#% for the moments computation
#
aux_1=cfg.power(-1,k+nu)/cfg.power(4.0,k) #aux_1=power(-1,k+nu)/power(4,k)
aux_2=cfg.sqrt((2*l+4*k+3)/3.0) #aux_2=sqrt((2*l+4*k+3)/3)
aux_3=cfg.trinomial(nu,k-nu,l+nu+1)*cfg.nchoosek(2*(l+nu+1+k),l+nu+1+k) #aux_3=trinomial(nu,k-nu,l+nu+1)*nchoosek(2*(l+nu+1+k),l+nu+1+k)
aux_4=cfg.nchoosek(2.0*(l+nu+1),l+nu+1) #aux_4=nchoosek(2*(l+nu+1),l+nu+1)
q=(aux_1*aux_2*aux_3)/aux_4 #q=(aux_1*aux_2*aux_3)/aux_4
return q
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2017-05-23 16:23
# @Author : Max
# @File : singleton.py
def singleton(cls):
instance = cls()
instance.__call__ = lambda: instance
return instance
|
# One way to serialize a binary tree is to use pre-order traversal.
# When we encounter a non-null node, we record the node's value. If it is a null node,
# we record using a sentinel value such as #.
# _9_
# / \
# 3 2
# / \ / \
# 4 1 # 6
# / \ / \ / \
# # # # # # #
# For example, the above binary tree can be serialized to the string "9,3,4,#,#,1,#,#,2,#,6,#,#",
# where # represents a null node.
# Given a string of comma separated values, verify whether it is a correct
# preorder traversal serialization of a binary tree. Find an algorithm without
# reconstructing the tree.
# Each comma separated value in the string must be either an integer
# or a character '#' representing null pointer.
# You may assume that the input format is always valid,
# for example it could never contain two consecutive commas such as "1,,3".
# Example 1:
# Input: "9,3,4,#,#,1,#,#,2,#,6,#,#"
# Output: true
# Example 2:
# Input: "1,#"
# Output: false
# Example 3:
# Input: "9,#,#,1"
# Output: false
class Solution(object):
def isValidSerialization(self, preorder):
"""
:type preorder: str
:rtype: bool
"""
# M1. 出度入度之差
# 入度等于出度
# 根节点:0个入度,2个出度;其他非空结点:1个入度,2个出度;空节点:1个入度,0个出度。
# 应保证出度-入度始终≥0,且最终差值为0。
# 遍历到每个结点时,因为入度为1,所以diff -= 1(考虑头结点,diff初始化为1)。
# 如果非空,因为出度为2,所以diff += 2。
diff = 1
preorder = preorder.split(',')
for x in preorder:
diff -= 1
if diff < 0:
return False
if x != '#':
diff += 2
return diff == 0
# M2. 栈
'''
不断的砍掉叶子节点,最后看能不能全部砍掉。
遇到x # #的时候,就把它变为 #
“9,3,4,#,#,1,#,#,2,#,6,#,#” 为例
模拟过程:
9,3,4,#,# => 9,3,# 继续读
9,3,#,1,#,# => 9,3,#,# => 9,# 继续读
9,#2,#,6,#,# => 9,#,2,#,# => 9,#,# => #
'''
preorder = preorder.split(',')
stack = []
for x in preorder:
stack.append(x)
while len(stack) >= 3 and stack[-2:] == ['#','#'] and stack[-3] != '#':
stack[-3:] = '#'
return stack == ['#']
|
# HSX hsxuc_events.v1.00p hsxuc_derived.v1.00p
# aliases
aliases = {
"QPIRxMatch1": "Q_Py_PCI_RX_PMON_BOX_MATCH1",
"QPIRxMask1": "Q_Py_PCI_RX_PMON_BOX_MASK1",
"IRPFilter": "IRP_PCI_PMON_BOX_FILTER",
"PCUFilter": "PCU_MSR_PMON_BOX_FILTER",
"QPIRxMask0": "Q_Py_PCI_RX_PMON_BOX_MASK0",
"CBoFilter0": "Cn_MSR_PMON_BOX_FILTER",
"HA_AddrMatch0": "HAn_PCI_PMON_BOX_ADDRMATCH0",
"QPITxMatch0": "Q_Py_PCI_TX_PMON_BOX_MATCH0",
"HA_AddrMatch1": "HAn_PCI_PMON_BOX_ADDRMATCH1",
"QPITxMask0": "Q_Py_PCI_TX_PMON_BOX_MASK0",
"QPITxMask1": "Q_Py_PCI_TX_PMON_BOX_MASK1",
"QPITxMatch1": "Q_Py_PCI_TX_PMON_BOX_MATCH1",
"HA_OpcodeMatch": "HAn_PCI_PMON_BOX_OPCODEMATCH",
"QPIRxMatch0": "Q_Py_PCI_RX_PMON_BOX_MATCH0",
"CBoFilter1": "Cn_MSR_PMON_BOX_FILTER1",
"UBoxFilter": "U_MSR_PMON_BOX_FILTER",
}
events = {
# iMC:
"iMC.ACT_COUNT": {
"Box": "iMC",
"Category": "iMC ACT Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Activate commands sent on this channel. Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS. One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates.",
"Desc": "DRAM Activate Count",
"EvSel": 1,
"ExtSel": "",
},
"iMC.ACT_COUNT.BYP": {
"Box": "iMC",
"Category": "iMC ACT Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Activate commands sent on this channel. Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS. One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates.",
"Desc": "DRAM Activate Count",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"iMC.ACT_COUNT.RD": {
"Box": "iMC",
"Category": "iMC ACT Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Activate commands sent on this channel. Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS. One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates.",
"Desc": "DRAM Activate Count",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.ACT_COUNT.WR": {
"Box": "iMC",
"Category": "iMC ACT Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Activate commands sent on this channel. Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS. One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates.",
"Desc": "DRAM Activate Count",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.BYP_CMDS": {
"Box": "iMC",
"Category": "iMC BYPASS Command Events",
"Counters": "0-3",
"EvSel": 161,
"ExtSel": "",
},
"iMC.BYP_CMDS.PRE": {
"Box": "iMC",
"Category": "iMC BYPASS Command Events",
"Counters": "0-3",
"EvSel": 161,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"iMC.BYP_CMDS.CAS": {
"Box": "iMC",
"Category": "iMC BYPASS Command Events",
"Counters": "0-3",
"EvSel": 161,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.BYP_CMDS.ACT": {
"Box": "iMC",
"Category": "iMC BYPASS Command Events",
"Counters": "0-3",
"EvSel": 161,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.CAS_COUNT": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
},
"iMC.CAS_COUNT.RD_UNDERFILL": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.CAS_COUNT.RD_RMM": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"iMC.CAS_COUNT.RD_REG": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.CAS_COUNT.WR": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.CAS_COUNT.RD": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.CAS_COUNT.WR_RMM": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"iMC.CAS_COUNT.WR_WMM": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"iMC.CAS_COUNT.ALL": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.CAS_COUNT.RD_WMM": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "DRAM RD_CAS and WR_CAS Commands",
"Desc": "DRAM RD_CAS and WR_CAS Commands.",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"iMC.DCLOCKTICKS": {
"Box": "iMC",
"Category": "iMC DCLK Events",
"Counters": "0-3",
"Desc": "DRAM Clockticks",
"EvSel": 0,
"ExtSel": "",
},
"iMC.DRAM_PRE_ALL": {
"Box": "iMC",
"Category": "iMC DRAM_PRE_ALL Events",
"Counters": "0-3",
"Defn": "Counts the number of times that the precharge all command was sent.",
"Desc": "DRAM Precharge All Commands",
"EvSel": 6,
"ExtSel": "",
},
"iMC.DRAM_REFRESH": {
"Box": "iMC",
"Category": "iMC DRAM_REFRESH Events",
"Counters": "0-3",
"Defn": "Counts the number of refreshes issued.",
"Desc": "Number of DRAM Refreshes Issued",
"EvSel": 5,
"ExtSel": "",
},
"iMC.DRAM_REFRESH.HIGH": {
"Box": "iMC",
"Category": "iMC DRAM_REFRESH Events",
"Counters": "0-3",
"Defn": "Counts the number of refreshes issued.",
"Desc": "Number of DRAM Refreshes Issued",
"EvSel": 5,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"iMC.DRAM_REFRESH.PANIC": {
"Box": "iMC",
"Category": "iMC DRAM_REFRESH Events",
"Counters": "0-3",
"Defn": "Counts the number of refreshes issued.",
"Desc": "Number of DRAM Refreshes Issued",
"EvSel": 5,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.ECC_CORRECTABLE_ERRORS": {
"Box": "iMC",
"Category": "iMC ECC Events",
"Counters": "0-3",
"Defn": "Counts the number of ECC errors detected and corrected by the iMC on this channel. This counter is only useful with ECC DRAM devices. This count will increment one time for each correction regardless of the number of bits corrected. The iMC can correct up to 4 bit errors in independent channel mode and 8 bit erros in lockstep mode.",
"Desc": "ECC Correctable Errors",
"EvSel": 9,
"ExtSel": "",
},
"iMC.MAJOR_MODES": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Defn": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.",
"Desc": "Cycles in a Major Mode",
"EvSel": 7,
"ExtSel": "",
},
"iMC.MAJOR_MODES.ISOCH": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Defn": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.",
"Desc": "Cycles in a Major Mode",
"EvSel": 7,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"iMC.MAJOR_MODES.PARTIAL": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Defn": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.",
"Desc": "Cycles in a Major Mode",
"EvSel": 7,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"iMC.MAJOR_MODES.WRITE": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Defn": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.",
"Desc": "Cycles in a Major Mode",
"EvSel": 7,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.MAJOR_MODES.READ": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Defn": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.",
"Desc": "Cycles in a Major Mode",
"EvSel": 7,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.POWER_CHANNEL_DLLOFF": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles when all the ranks in the channel are in CKE Slow (DLLOFF) mode.",
"Desc": "Channel DLLOFF Cycles",
"EvSel": 132,
"ExtSel": "",
"Notes": "IBT = Input Buffer Termination = Off",
},
"iMC.POWER_CHANNEL_PPD": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles when all the ranks in the channel are in PPD mode. If IBT=off is enabled, then this can be used to count those cycles. If it is not enabled, then this can count the number of cycles when that could have been taken advantage of.",
"Desc": "Channel PPD Cycles",
"EvSel": 133,
"ExtSel": "",
"MaxIncCyc": 4,
"Notes": "IBT = Input Buffer Termination = On. ALL Ranks must be populated in order to measure",
},
"iMC.POWER_CKE_CYCLES": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
},
"iMC.POWER_CKE_CYCLES.RANK0": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
"Umask": "b00000001",
},
"iMC.POWER_CKE_CYCLES.RANK6": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
"Umask": "b01000000",
},
"iMC.POWER_CKE_CYCLES.RANK5": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
"Umask": "b00100000",
},
"iMC.POWER_CKE_CYCLES.RANK2": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
"Umask": "b00000100",
},
"iMC.POWER_CKE_CYCLES.RANK3": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
"Umask": "b00001000",
},
"iMC.POWER_CKE_CYCLES.RANK4": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
"Umask": "b00010000",
},
"iMC.POWER_CKE_CYCLES.RANK1": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
"Umask": "b00000010",
},
"iMC.POWER_CKE_CYCLES.RANK7": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Number of cycles spent in CKE ON mode. The filter allows you to select a rank to monitor. If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation. Multiple counters will need to be used to track multiple ranks simultaneously. There is no distinction between the different CKE modes (APD, PPDS, PPDF). This can be determined based on the system programming. These events should commonly be used with Invert to get the number of cycles in power saving mode. Edge Detect is also useful here. Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
"Desc": "CKE_ON_CYCLES by Rank",
"EvSel": 131,
"ExtSel": "",
"MaxIncCyc": 16,
"Umask": "b10000000",
},
"iMC.POWER_CRITICAL_THROTTLE_CYCLES": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the iMC is in critical thermal throttling. When this happens, all traffic is blocked. This should be rare unless something bad is going on in the platform. There is no filtering by rank for this event.",
"Desc": "Critical Throttle Cycles",
"EvSel": 134,
"ExtSel": "",
},
"iMC.POWER_PCU_THROTTLING": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"EvSel": 66,
"ExtSel": "",
},
"iMC.POWER_SELF_REFRESH": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the iMC is in self-refresh and the iMC still has a clock. This happens in some package C-states. For example, the PCU may ask the iMC to enter self-refresh even though some of the cores are still processing. One use of this is for Monroe technology. Self-refresh is required during package C3 and C6, but there is no clock in the iMC at this time, so it is not possible to count these cases.",
"Desc": "Clock-Enabled Self-Refresh",
"EvSel": 67,
"ExtSel": "",
},
"iMC.POWER_THROTTLE_CYCLES": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
},
"iMC.POWER_THROTTLE_CYCLES.RANK7": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"iMC.POWER_THROTTLE_CYCLES.RANK1": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.POWER_THROTTLE_CYCLES.RANK4": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"iMC.POWER_THROTTLE_CYCLES.RANK3": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"iMC.POWER_THROTTLE_CYCLES.RANK6": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"iMC.POWER_THROTTLE_CYCLES.RANK2": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"iMC.POWER_THROTTLE_CYCLES.RANK5": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"iMC.POWER_THROTTLE_CYCLES.RANK0": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling. It is not possible to distinguish between the two. This can be filtered by rank. If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.",
"Desc": "Throttle Cycles for Rank 0",
"EvSel": 65,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.PREEMPTION": {
"Box": "iMC",
"Category": "iMC PREEMPTION Events",
"Counters": "0-3",
"Defn": "Counts the number of times a read in the iMC preempts another read or write. Generally reads to an open page are issued ahead of requests to closed pages. This improves the page hit rate of the system. However, high priority requests can cause pages of active requests to be closed in order to get them out. This will reduce the latency of the high-priority request at the expense of lower bandwidth and increased overall average latency.",
"Desc": "Read Preemption Count",
"EvSel": 8,
"ExtSel": "",
},
"iMC.PREEMPTION.RD_PREEMPT_WR": {
"Box": "iMC",
"Category": "iMC PREEMPTION Events",
"Counters": "0-3",
"Defn": "Counts the number of times a read in the iMC preempts another read or write. Generally reads to an open page are issued ahead of requests to closed pages. This improves the page hit rate of the system. However, high priority requests can cause pages of active requests to be closed in order to get them out. This will reduce the latency of the high-priority request at the expense of lower bandwidth and increased overall average latency.",
"Desc": "Read Preemption Count",
"EvSel": 8,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.PREEMPTION.RD_PREEMPT_RD": {
"Box": "iMC",
"Category": "iMC PREEMPTION Events",
"Counters": "0-3",
"Defn": "Counts the number of times a read in the iMC preempts another read or write. Generally reads to an open page are issued ahead of requests to closed pages. This improves the page hit rate of the system. However, high priority requests can cause pages of active requests to be closed in order to get them out. This will reduce the latency of the high-priority request at the expense of lower bandwidth and increased overall average latency.",
"Desc": "Read Preemption Count",
"EvSel": 8,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.PRE_COUNT": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Precharge commands sent on this channel.",
"Desc": "DRAM Precharge commands.",
"EvSel": 2,
"ExtSel": "",
},
"iMC.PRE_COUNT.BYP": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Precharge commands sent on this channel.",
"Desc": "DRAM Precharge commands.",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"iMC.PRE_COUNT.PAGE_MISS": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Precharge commands sent on this channel.",
"Desc": "DRAM Precharge commands.",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.PRE_COUNT.RD": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Precharge commands sent on this channel.",
"Desc": "DRAM Precharge commands.",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"iMC.PRE_COUNT.PAGE_CLOSE": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Precharge commands sent on this channel.",
"Desc": "DRAM Precharge commands.",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.PRE_COUNT.WR": {
"Box": "iMC",
"Category": "iMC PRE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRAM Precharge commands sent on this channel.",
"Desc": "DRAM Precharge commands.",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"iMC.RD_CAS_PRIO": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"EvSel": 160,
"ExtSel": "",
},
"iMC.RD_CAS_PRIO.HIGH": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"EvSel": 160,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"iMC.RD_CAS_PRIO.PANIC": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"EvSel": 160,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"iMC.RD_CAS_PRIO.MED": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"EvSel": 160,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.RD_CAS_PRIO.LOW": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"EvSel": 160,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.RD_CAS_RANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
},
"iMC.RD_CAS_RANK0.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.RD_CAS_RANK0.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.RD_CAS_RANK0.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.RD_CAS_RANK0.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.RD_CAS_RANK0.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.RD_CAS_RANK0.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.RD_CAS_RANK0.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.RD_CAS_RANK0.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.RD_CAS_RANK0.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.RD_CAS_RANK0.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.RD_CAS_RANK0.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.RD_CAS_RANK0.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.RD_CAS_RANK0.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.RD_CAS_RANK0.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.RD_CAS_RANK0.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.RD_CAS_RANK0.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.RD_CAS_RANK0.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.RD_CAS_RANK0.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.RD_CAS_RANK0.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.RD_CAS_RANK0.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.RD_CAS_RANK0.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 0",
"EvSel": 176,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.RD_CAS_RANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
},
"iMC.RD_CAS_RANK1.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.RD_CAS_RANK1.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.RD_CAS_RANK1.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.RD_CAS_RANK1.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.RD_CAS_RANK1.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.RD_CAS_RANK1.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.RD_CAS_RANK1.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.RD_CAS_RANK1.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.RD_CAS_RANK1.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.RD_CAS_RANK1.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.RD_CAS_RANK1.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.RD_CAS_RANK1.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.RD_CAS_RANK1.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.RD_CAS_RANK1.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.RD_CAS_RANK1.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.RD_CAS_RANK1.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.RD_CAS_RANK1.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.RD_CAS_RANK1.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.RD_CAS_RANK1.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.RD_CAS_RANK1.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.RD_CAS_RANK1.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 1",
"EvSel": 177,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.RD_CAS_RANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 2",
"EvSel": 178,
"ExtSel": "",
},
"iMC.RD_CAS_RANK2.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 2",
"EvSel": 178,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.RD_CAS_RANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
},
"iMC.RD_CAS_RANK4.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.RD_CAS_RANK4.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.RD_CAS_RANK4.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.RD_CAS_RANK4.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.RD_CAS_RANK4.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.RD_CAS_RANK4.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.RD_CAS_RANK4.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.RD_CAS_RANK4.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.RD_CAS_RANK4.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.RD_CAS_RANK4.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.RD_CAS_RANK4.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.RD_CAS_RANK4.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.RD_CAS_RANK4.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.RD_CAS_RANK4.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.RD_CAS_RANK4.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.RD_CAS_RANK4.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.RD_CAS_RANK4.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.RD_CAS_RANK4.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.RD_CAS_RANK4.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.RD_CAS_RANK4.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.RD_CAS_RANK4.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 4",
"EvSel": 180,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.RD_CAS_RANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
},
"iMC.RD_CAS_RANK5.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.RD_CAS_RANK5.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.RD_CAS_RANK5.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.RD_CAS_RANK5.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.RD_CAS_RANK5.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.RD_CAS_RANK5.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.RD_CAS_RANK5.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.RD_CAS_RANK5.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.RD_CAS_RANK5.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.RD_CAS_RANK5.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.RD_CAS_RANK5.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.RD_CAS_RANK5.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.RD_CAS_RANK5.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.RD_CAS_RANK5.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.RD_CAS_RANK5.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.RD_CAS_RANK5.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.RD_CAS_RANK5.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.RD_CAS_RANK5.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.RD_CAS_RANK5.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.RD_CAS_RANK5.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.RD_CAS_RANK5.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 5",
"EvSel": 181,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.RD_CAS_RANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
},
"iMC.RD_CAS_RANK6.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.RD_CAS_RANK6.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.RD_CAS_RANK6.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.RD_CAS_RANK6.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.RD_CAS_RANK6.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.RD_CAS_RANK6.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.RD_CAS_RANK6.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.RD_CAS_RANK6.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.RD_CAS_RANK6.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.RD_CAS_RANK6.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.RD_CAS_RANK6.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.RD_CAS_RANK6.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.RD_CAS_RANK6.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.RD_CAS_RANK6.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.RD_CAS_RANK6.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.RD_CAS_RANK6.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.RD_CAS_RANK6.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.RD_CAS_RANK6.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.RD_CAS_RANK6.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.RD_CAS_RANK6.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.RD_CAS_RANK6.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 6",
"EvSel": 182,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.RD_CAS_RANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
},
"iMC.RD_CAS_RANK7.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.RD_CAS_RANK7.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.RD_CAS_RANK7.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.RD_CAS_RANK7.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.RD_CAS_RANK7.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.RD_CAS_RANK7.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.RD_CAS_RANK7.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.RD_CAS_RANK7.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.RD_CAS_RANK7.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.RD_CAS_RANK7.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.RD_CAS_RANK7.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.RD_CAS_RANK7.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.RD_CAS_RANK7.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.RD_CAS_RANK7.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.RD_CAS_RANK7.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.RD_CAS_RANK7.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.RD_CAS_RANK7.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.RD_CAS_RANK7.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.RD_CAS_RANK7.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.RD_CAS_RANK7.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.RD_CAS_RANK7.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "RD_CAS Access to Rank 7",
"EvSel": 183,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.RPQ_CYCLES_NE": {
"Box": "iMC",
"Category": "iMC RPQ Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the Read Pending Queue is not empty. This can then be used to calculate the average occupancy (in conjunction with the Read Pending Queue Occupancy count). The RPQ is used to schedule reads out to the memory controller and to track the requests. Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC. They deallocate after the CAS command has been issued to memory. This filter is to be used in conjunction with the occupancy filter so that one can correctly track the average occupancies for schedulable entries and scheduled requests.",
"Desc": "Read Pending Queue Not Empty",
"EvSel": 17,
"ExtSel": "",
},
"iMC.RPQ_INSERTS": {
"Box": "iMC",
"Category": "iMC RPQ Events",
"Counters": "0-3",
"Defn": "Counts the number of allocations into the Read Pending Queue. This queue is used to schedule reads out to the memory controller and to track the requests. Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC. They deallocate after the CAS command has been issued to memory. This includes both ISOCH and non-ISOCH requests.",
"Desc": "Read Pending Queue Allocations",
"EvSel": 16,
"ExtSel": "",
},
"iMC.VMSE_MXB_WR_OCCUPANCY": {
"Box": "iMC",
"Category": "iMC VMSE Events",
"Counters": "0-3",
"Desc": "VMSE MXB write buffer occupancy",
"EvSel": 145,
"ExtSel": "",
"MaxIncCyc": 32,
"SubCtr": 1,
},
"iMC.VMSE_WR_PUSH": {
"Box": "iMC",
"Category": "iMC VMSE Events",
"Counters": "0-3",
"Desc": "VMSE WR PUSH issued",
"EvSel": 144,
"ExtSel": "",
},
"iMC.VMSE_WR_PUSH.WMM": {
"Box": "iMC",
"Category": "iMC VMSE Events",
"Counters": "0-3",
"Desc": "VMSE WR PUSH issued",
"EvSel": 144,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.VMSE_WR_PUSH.RMM": {
"Box": "iMC",
"Category": "iMC VMSE Events",
"Counters": "0-3",
"Desc": "VMSE WR PUSH issued",
"EvSel": 144,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.WMM_TO_RMM": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Desc": "Transition from WMM to RMM because of low threshold",
"EvSel": 192,
"ExtSel": "",
},
"iMC.WMM_TO_RMM.LOW_THRESH": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Desc": "Transition from WMM to RMM because of low threshold",
"EvSel": 192,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"iMC.WMM_TO_RMM.VMSE_RETRY": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Desc": "Transition from WMM to RMM because of low threshold",
"EvSel": 192,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"iMC.WMM_TO_RMM.STARVE": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Desc": "Transition from WMM to RMM because of low threshold",
"EvSel": 192,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"iMC.WPQ_CYCLES_FULL": {
"Box": "iMC",
"Category": "iMC WPQ Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the Write Pending Queue is full. When the WPQ is full, the HA will not be able to issue any additional read requests into the iMC. This count should be similar count in the HA which tracks the number of cycles that the HA has no WPQ credits, just somewhat smaller to account for the credit return overhead.",
"Desc": "Write Pending Queue Full Cycles",
"EvSel": 34,
"ExtSel": "",
},
"iMC.WPQ_CYCLES_NE": {
"Box": "iMC",
"Category": "iMC WPQ Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the Write Pending Queue is not empty. This can then be used to calculate the average queue occupancy (in conjunction with the WPQ Occupancy Accumulation count). The WPQ is used to schedule write out to the memory controller and to track the writes. Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC. They deallocate after being issued to DRAM. Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have \"posted\" to the iMC. This is not to be confused with actually performing the write to DRAM. Therefore, the average latency for this queue is actually not useful for deconstruction intermediate write latencies.",
"Desc": "Write Pending Queue Not Empty",
"EvSel": 33,
"ExtSel": "",
},
"iMC.WPQ_READ_HIT": {
"Box": "iMC",
"Category": "iMC WPQ Events",
"Counters": "0-3",
"Defn": "Counts the number of times a request hits in the WPQ (write-pending queue). The iMC allows writes and reads to pass up other writes to different addresses. Before a read or a write is issued, it will first CAM the WPQ to see if there is a write pending to that address. When reads hit, they are able to directly pull their data from the WPQ instead of going to memory. Writes that hit will overwrite the existing data. Partial writes that hit will not need to do underfill reads and will simply update their relevant sections.",
"Desc": "Write Pending Queue CAM Match",
"EvSel": 35,
"ExtSel": "",
},
"iMC.WPQ_WRITE_HIT": {
"Box": "iMC",
"Category": "iMC WPQ Events",
"Counters": "0-3",
"Defn": "Counts the number of times a request hits in the WPQ (write-pending queue). The iMC allows writes and reads to pass up other writes to different addresses. Before a read or a write is issued, it will first CAM the WPQ to see if there is a write pending to that address. When reads hit, they are able to directly pull their data from the WPQ instead of going to memory. Writes that hit will overwrite the existing data. Partial writes that hit will not need to do underfill reads and will simply update their relevant sections.",
"Desc": "Write Pending Queue CAM Match",
"EvSel": 36,
"ExtSel": "",
},
"iMC.WRONG_MM": {
"Box": "iMC",
"Category": "iMC MAJOR_MODES Events",
"Counters": "0-3",
"Desc": "Not getting the requested Major Mode",
"EvSel": 193,
"ExtSel": "",
},
"iMC.WR_CAS_RANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
},
"iMC.WR_CAS_RANK0.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.WR_CAS_RANK0.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.WR_CAS_RANK0.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.WR_CAS_RANK0.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.WR_CAS_RANK0.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.WR_CAS_RANK0.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.WR_CAS_RANK0.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.WR_CAS_RANK0.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.WR_CAS_RANK0.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.WR_CAS_RANK0.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.WR_CAS_RANK0.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.WR_CAS_RANK0.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.WR_CAS_RANK0.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.WR_CAS_RANK0.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.WR_CAS_RANK0.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.WR_CAS_RANK0.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.WR_CAS_RANK0.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.WR_CAS_RANK0.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.WR_CAS_RANK0.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.WR_CAS_RANK0.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.WR_CAS_RANK0.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 0",
"EvSel": 184,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.WR_CAS_RANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
},
"iMC.WR_CAS_RANK1.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.WR_CAS_RANK1.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.WR_CAS_RANK1.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.WR_CAS_RANK1.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.WR_CAS_RANK1.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.WR_CAS_RANK1.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.WR_CAS_RANK1.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.WR_CAS_RANK1.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.WR_CAS_RANK1.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.WR_CAS_RANK1.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.WR_CAS_RANK1.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.WR_CAS_RANK1.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.WR_CAS_RANK1.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.WR_CAS_RANK1.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.WR_CAS_RANK1.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.WR_CAS_RANK1.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.WR_CAS_RANK1.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.WR_CAS_RANK1.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.WR_CAS_RANK1.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.WR_CAS_RANK1.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.WR_CAS_RANK1.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 1",
"EvSel": 185,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.WR_CAS_RANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 2",
"EvSel": 186,
"ExtSel": "",
},
"iMC.WR_CAS_RANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 3",
"EvSel": 187,
"ExtSel": "",
},
"iMC.WR_CAS_RANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
},
"iMC.WR_CAS_RANK4.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.WR_CAS_RANK4.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.WR_CAS_RANK4.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.WR_CAS_RANK4.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.WR_CAS_RANK4.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.WR_CAS_RANK4.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.WR_CAS_RANK4.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.WR_CAS_RANK4.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.WR_CAS_RANK4.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.WR_CAS_RANK4.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.WR_CAS_RANK4.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.WR_CAS_RANK4.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.WR_CAS_RANK4.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.WR_CAS_RANK4.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.WR_CAS_RANK4.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.WR_CAS_RANK4.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.WR_CAS_RANK4.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.WR_CAS_RANK4.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.WR_CAS_RANK4.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.WR_CAS_RANK4.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.WR_CAS_RANK4.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 4",
"EvSel": 188,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.WR_CAS_RANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
},
"iMC.WR_CAS_RANK5.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.WR_CAS_RANK5.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.WR_CAS_RANK5.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.WR_CAS_RANK5.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.WR_CAS_RANK5.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.WR_CAS_RANK5.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.WR_CAS_RANK5.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.WR_CAS_RANK5.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.WR_CAS_RANK5.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.WR_CAS_RANK5.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.WR_CAS_RANK5.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.WR_CAS_RANK5.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.WR_CAS_RANK5.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.WR_CAS_RANK5.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.WR_CAS_RANK5.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.WR_CAS_RANK5.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.WR_CAS_RANK5.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.WR_CAS_RANK5.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.WR_CAS_RANK5.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.WR_CAS_RANK5.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.WR_CAS_RANK5.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 5",
"EvSel": 189,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.WR_CAS_RANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
},
"iMC.WR_CAS_RANK6.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.WR_CAS_RANK6.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.WR_CAS_RANK6.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.WR_CAS_RANK6.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.WR_CAS_RANK6.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.WR_CAS_RANK6.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.WR_CAS_RANK6.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.WR_CAS_RANK6.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.WR_CAS_RANK6.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.WR_CAS_RANK6.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.WR_CAS_RANK6.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.WR_CAS_RANK6.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00010001",
},
"iMC.WR_CAS_RANK6.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.WR_CAS_RANK6.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.WR_CAS_RANK6.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.WR_CAS_RANK6.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.WR_CAS_RANK6.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.WR_CAS_RANK6.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.WR_CAS_RANK6.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.WR_CAS_RANK6.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.WR_CAS_RANK6.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 6",
"EvSel": 190,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.WR_CAS_RANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
},
"iMC.WR_CAS_RANK7.BANK2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00000010",
},
"iMC.WR_CAS_RANK7.BANK14": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00001110",
},
"iMC.WR_CAS_RANK7.BANK0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00000000",
},
"iMC.WR_CAS_RANK7.BANKG2": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00010011",
},
"iMC.WR_CAS_RANK7.BANK13": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00001101",
},
"iMC.WR_CAS_RANK7.BANK5": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00000101",
},
"iMC.WR_CAS_RANK7.ALLBANKS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00010000",
},
"iMC.WR_CAS_RANK7.BANK15": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00001111",
},
"iMC.WR_CAS_RANK7.BANKG3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00010100",
},
"iMC.WR_CAS_RANK7.BANK6": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00000110",
},
"iMC.WR_CAS_RANK7.BANK7": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00000111",
},
"iMC.WR_CAS_RANK7.BANK12": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00001100",
},
"iMC.WR_CAS_RANK7.BANKG1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00010010",
},
"iMC.WR_CAS_RANK7.BANK11": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00001011",
},
"iMC.WR_CAS_RANK7.BANK9": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00001001",
},
"iMC.WR_CAS_RANK7.BANK8": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00001000",
},
"iMC.WR_CAS_RANK7.BANK4": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00000100",
},
"iMC.WR_CAS_RANK7.BANK3": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00000011",
},
"iMC.WR_CAS_RANK7.BANK1": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00000001",
},
"iMC.WR_CAS_RANK7.BANK10": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00001010",
},
"iMC.WR_CAS_RANK7.BANKG0": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Counters": "0-3",
"Desc": "WR_CAS Access to Rank 7",
"EvSel": 191,
"ExtSel": "",
"Umask": "b00010001",
},
# UBOX:
"UBOX.EVENT_MSG": {
"Box": "UBOX",
"Category": "UBOX EVENT_MSG Events",
"Counters": "0-1",
"Defn": "Virtual Logical Wire (legacy) message were received from Uncore. Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID.",
"Desc": "VLW Received",
"EvSel": 66,
"ExtSel": "",
},
"UBOX.EVENT_MSG.DOORBELL_RCVD": {
"Box": "UBOX",
"Category": "UBOX EVENT_MSG Events",
"Counters": "0-1",
"Defn": "Virtual Logical Wire (legacy) message were received from Uncore. Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID.",
"Desc": "VLW Received",
"EvSel": 66,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"UBOX.PHOLD_CYCLES": {
"Box": "UBOX",
"Category": "UBOX PHOLD Events",
"Counters": "0-1",
"Defn": "PHOLD cycles. Filter from source CoreID.",
"Desc": "Cycles PHOLD Assert to Ack",
"EvSel": 69,
"ExtSel": "",
},
"UBOX.PHOLD_CYCLES.ASSERT_TO_ACK": {
"Box": "UBOX",
"Category": "UBOX PHOLD Events",
"Counters": "0-1",
"Defn": "PHOLD cycles. Filter from source CoreID.",
"Desc": "Cycles PHOLD Assert to Ack",
"EvSel": 69,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"UBOX.RACU_REQUESTS": {
"Box": "UBOX",
"Category": "UBOX RACU Events",
"Counters": "0-1",
"Desc": "RACU Request",
"EvSel": 70,
"ExtSel": "",
"Notes": "This will be dropped because PHOLD is not implemented this way",
},
# SBO:
"SBO.BOUNCE_CONTROL": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Desc": "Bounce Control",
"EvSel": 10,
"ExtSel": "",
},
"SBO.CLOCKTICKS": {
"Box": "SBO",
"Category": "SBO UCLK Events",
"Counters": "0-3",
"Desc": "Uncore Clocks",
"EvSel": 0,
"ExtSel": "",
},
"SBO.FAST_ASSERTED": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles either the local or incoming distress signals are asserted. Incoming distress includes up, dn and across.",
"Desc": "FaST wire asserted",
"EvSel": 9,
"ExtSel": "",
},
"SBO.RING_AD_USED": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
},
"SBO.RING_AD_USED.DOWN_ODD": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxx1xxx",
},
"SBO.RING_AD_USED.UP_ODD": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxx1x",
},
"SBO.RING_AD_USED.DOWN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001100",
},
"SBO.RING_AD_USED.DOWN_EVEN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxx1xx",
},
"SBO.RING_AD_USED.UP_EVEN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxxx1",
},
"SBO.RING_AD_USED.UP": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00000011",
},
"SBO.RING_AK_USED": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
},
"SBO.RING_AK_USED.UP": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00000011",
},
"SBO.RING_AK_USED.UP_EVEN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxxx1",
},
"SBO.RING_AK_USED.DOWN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001100",
},
"SBO.RING_AK_USED.UP_ODD": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxx1x",
},
"SBO.RING_AK_USED.DOWN_EVEN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxx1xx",
},
"SBO.RING_AK_USED.DOWN_ODD": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxx1xxx",
},
"SBO.RING_BL_USED": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
},
"SBO.RING_BL_USED.DOWN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001100",
},
"SBO.RING_BL_USED.DOWN_EVEN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxx1xx",
},
"SBO.RING_BL_USED.UP_ODD": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxx1x",
},
"SBO.RING_BL_USED.DOWN_ODD": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxx1xxx",
},
"SBO.RING_BL_USED.UP": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00000011",
},
"SBO.RING_BL_USED.UP_EVEN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxxx1",
},
"SBO.RING_BOUNCES": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"MaxIncCyc": 2,
},
"SBO.RING_BOUNCES.AD_CACHE": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxxx1",
},
"SBO.RING_BOUNCES.BL_CORE": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxx1xx",
},
"SBO.RING_BOUNCES.IV_CORE": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxx1xxx",
},
"SBO.RING_BOUNCES.AK_CORE": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxx1x",
},
"SBO.RING_IV_USED": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. There is only 1 IV ring in HSX. Therefore, if one wants to monitor the \"Even\" ring, they should select both UP_EVEN and DN_EVEN. To monitor the \"Odd\" ring, they should select both UP_ODD and DN_ODD.",
"Desc": "BL Ring in Use",
"EvSel": 30,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the UP direction and one (half-)packet moving in the DN direction.",
},
"SBO.RING_IV_USED.UP": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. There is only 1 IV ring in HSX. Therefore, if one wants to monitor the \"Even\" ring, they should select both UP_EVEN and DN_EVEN. To monitor the \"Odd\" ring, they should select both UP_ODD and DN_ODD.",
"Desc": "BL Ring in Use",
"EvSel": 30,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the UP direction and one (half-)packet moving in the DN direction.",
"Umask": "b00000011",
},
"SBO.RING_IV_USED.DN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop. There is only 1 IV ring in HSX. Therefore, if one wants to monitor the \"Even\" ring, they should select both UP_EVEN and DN_EVEN. To monitor the \"Odd\" ring, they should select both UP_ODD and DN_ODD.",
"Desc": "BL Ring in Use",
"EvSel": 30,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the UP direction and one (half-)packet moving in the DN direction.",
"Umask": "b00001100",
},
"SBO.RxR_BYPASS": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Bypass the Sbo Ingress.",
"Desc": "Bypass",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
},
"SBO.RxR_BYPASS.IV": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Bypass the Sbo Ingress.",
"Desc": "Bypass",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00100000",
},
"SBO.RxR_BYPASS.AD_BNC": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Bypass the Sbo Ingress.",
"Desc": "Bypass",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000010",
},
"SBO.RxR_BYPASS.BL_CRD": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Bypass the Sbo Ingress.",
"Desc": "Bypass",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000100",
},
"SBO.RxR_BYPASS.AD_CRD": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Bypass the Sbo Ingress.",
"Desc": "Bypass",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000001",
},
"SBO.RxR_BYPASS.AK": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Bypass the Sbo Ingress.",
"Desc": "Bypass",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00010000",
},
"SBO.RxR_BYPASS.BL_BNC": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Bypass the Sbo Ingress.",
"Desc": "Bypass",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00001000",
},
"SBO.RxR_INSERTS": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Ingress The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
},
"SBO.RxR_INSERTS.IV": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Ingress The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"SBO.RxR_INSERTS.AD_BNC": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Ingress The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"SBO.RxR_INSERTS.BL_CRD": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Ingress The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"SBO.RxR_INSERTS.AK": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Ingress The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"SBO.RxR_INSERTS.BL_BNC": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Ingress The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"SBO.RxR_INSERTS.AD_CRD": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Ingress The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"SBO.RxR_OCCUPANCY": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Ingress buffers in the Sbo. The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
},
"SBO.RxR_OCCUPANCY.AK": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Ingress buffers in the Sbo. The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00010000",
},
"SBO.RxR_OCCUPANCY.AD_CRD": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Ingress buffers in the Sbo. The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000001",
},
"SBO.RxR_OCCUPANCY.BL_BNC": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Ingress buffers in the Sbo. The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00001000",
},
"SBO.RxR_OCCUPANCY.BL_CRD": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Ingress buffers in the Sbo. The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000100",
},
"SBO.RxR_OCCUPANCY.AD_BNC": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Ingress buffers in the Sbo. The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000010",
},
"SBO.RxR_OCCUPANCY.IV": {
"Box": "SBO",
"Category": "SBO INGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Ingress buffers in the Sbo. The Ingress is used to queue up requests received from the ring.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00100000",
},
"SBO.TxR_ADS_USED": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"EvSel": 4,
"ExtSel": "",
},
"SBO.TxR_ADS_USED.AD": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"SBO.TxR_ADS_USED.BL": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"SBO.TxR_ADS_USED.AK": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"SBO.TxR_INSERTS": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
},
"SBO.TxR_INSERTS.AD_BNC": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"SBO.TxR_INSERTS.IV": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"SBO.TxR_INSERTS.BL_CRD": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"SBO.TxR_INSERTS.AK": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"SBO.TxR_INSERTS.AD_CRD": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"SBO.TxR_INSERTS.BL_BNC": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Sbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"SBO.TxR_OCCUPANCY": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Egress buffers in the Sbo. The egress is used to queue up requests destined for the ring.",
"Desc": "Egress Occupancy",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
},
"SBO.TxR_OCCUPANCY.BL_BNC": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Egress buffers in the Sbo. The egress is used to queue up requests destined for the ring.",
"Desc": "Egress Occupancy",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00001000",
},
"SBO.TxR_OCCUPANCY.AK": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Egress buffers in the Sbo. The egress is used to queue up requests destined for the ring.",
"Desc": "Egress Occupancy",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00010000",
},
"SBO.TxR_OCCUPANCY.AD_CRD": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Egress buffers in the Sbo. The egress is used to queue up requests destined for the ring.",
"Desc": "Egress Occupancy",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000001",
},
"SBO.TxR_OCCUPANCY.IV": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Egress buffers in the Sbo. The egress is used to queue up requests destined for the ring.",
"Desc": "Egress Occupancy",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00100000",
},
"SBO.TxR_OCCUPANCY.AD_BNC": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Egress buffers in the Sbo. The egress is used to queue up requests destined for the ring.",
"Desc": "Egress Occupancy",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000010",
},
"SBO.TxR_OCCUPANCY.BL_CRD": {
"Box": "SBO",
"Category": "SBO EGRESS Events",
"Counters": "0-3",
"Defn": "Occupancy event for the Egress buffers in the Sbo. The egress is used to queue up requests destined for the ring.",
"Desc": "Egress Occupancy",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 12,
"SubCtr": 1,
"Umask": "b00000100",
},
# HA:
"HA.ADDR_OPC_MATCH": {
"Box": "HA",
"Category": "HA ADDR_OPCODE_MATCH Events",
"Counters": "0-3",
"Desc": "QPI Address/Opcode Match",
"EvSel": 32,
"ExtSel": "",
},
"HA.ADDR_OPC_MATCH.AD": {
"Box": "HA",
"Category": "HA ADDR_OPCODE_MATCH Events",
"Counters": "0-3",
"Desc": "QPI Address/Opcode Match",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.ADDR_OPC_MATCH.ADDR": {
"Box": "HA",
"Category": "HA ADDR_OPCODE_MATCH Events",
"Counters": "0-3",
"Desc": "QPI Address/Opcode Match",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.ADDR_OPC_MATCH.AK": {
"Box": "HA",
"Category": "HA ADDR_OPCODE_MATCH Events",
"Counters": "0-3",
"Desc": "QPI Address/Opcode Match",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.ADDR_OPC_MATCH.BL": {
"Box": "HA",
"Category": "HA ADDR_OPCODE_MATCH Events",
"Counters": "0-3",
"Desc": "QPI Address/Opcode Match",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.ADDR_OPC_MATCH.OPC": {
"Box": "HA",
"Category": "HA ADDR_OPCODE_MATCH Events",
"Counters": "0-3",
"Desc": "QPI Address/Opcode Match",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.ADDR_OPC_MATCH.FILT": {
"Box": "HA",
"Category": "HA ADDR_OPCODE_MATCH Events",
"Counters": "0-3",
"Desc": "QPI Address/Opcode Match",
"EvSel": 32,
"ExtSel": "",
"Umask": "b00000011",
},
"HA.BT_CYCLES_NE": {
"Box": "HA",
"Category": "HA BT (Backup Tracker) Events",
"Counters": "0-3",
"Defn": "Cycles the Backup Tracker (BT) is not empty. The BT is the actual HOM tracker in IVT.",
"Desc": "BT Cycles Not Empty",
"EvSel": 66,
"ExtSel": "",
"Notes": "Will not count case HT is empty and a Bypass happens.",
},
"HA.BT_OCCUPANCY": {
"Box": "HA",
"Category": "HA BT (Backup Tracker) Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of the HA BT pool in every cycle. This can be used with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA BTs are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "BT Occupancy",
"EvSel": 67,
"ExtSel": "",
"MaxIncCyc": 512,
},
"HA.BYPASS_IMC": {
"Box": "HA",
"Category": "HA BYPASS Events",
"Counters": "0-3",
"Defn": "Counts the number of times when the HA was able to bypass was attempted. This is a latency optimization for situations when there is light loadings on the memory subsystem. This can be filted by when the bypass was taken and when it was not.",
"Desc": "HA to iMC Bypass",
"EvSel": 20,
"ExtSel": "",
"Notes": "Only read transactions use iMC bypass",
},
"HA.BYPASS_IMC.NOT_TAKEN": {
"Box": "HA",
"Category": "HA BYPASS Events",
"Counters": "0-3",
"Defn": "Counts the number of times when the HA was able to bypass was attempted. This is a latency optimization for situations when there is light loadings on the memory subsystem. This can be filted by when the bypass was taken and when it was not.",
"Desc": "HA to iMC Bypass",
"EvSel": 20,
"ExtSel": "",
"Notes": "Only read transactions use iMC bypass",
"Umask": "bxxxxxx1x",
},
"HA.BYPASS_IMC.TAKEN": {
"Box": "HA",
"Category": "HA BYPASS Events",
"Counters": "0-3",
"Defn": "Counts the number of times when the HA was able to bypass was attempted. This is a latency optimization for situations when there is light loadings on the memory subsystem. This can be filted by when the bypass was taken and when it was not.",
"Desc": "HA to iMC Bypass",
"EvSel": 20,
"ExtSel": "",
"Notes": "Only read transactions use iMC bypass",
"Umask": "bxxxxxxx1",
},
"HA.CLOCKTICKS": {
"Box": "HA",
"Category": "HA UCLK Events",
"Counters": "0-3",
"Defn": "Counts the number of uclks in the HA. This will be slightly different than the count in the Ubox because of enable/freeze delays. The HA is on the other side of the die from the fixed Ubox uclk counter, so the drift could be somewhat larger than in units that are closer like the QPI Agent.",
"Desc": "uclks",
"EvSel": 0,
"ExtSel": "",
},
"HA.CONFLICT_CYCLES": {
"Box": "HA",
"Category": "HA CONFLICTS Events",
"Counters": 1,
"Defn": "Counters the number of cycles there was a conflict in the HA because threads in two different sockets were requesting the same address at the same time",
"Desc": "Conflict Checks",
"EvSel": 11,
"Filter": "N",
"ExtSel": "",
},
"HA.DIRECT2CORE_COUNT": {
"Box": "HA",
"Category": "HA DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Number of Direct2Core messages sent",
"Desc": "Direct2Core Messages Sent",
"EvSel": 17,
"ExtSel": "",
"Notes": "Will not be implemented since OUTBOUND_TX_BL:0x1 will count DRS to CORE which is effectively the same thing as D2C count",
},
"HA.DIRECT2CORE_CYCLES_DISABLED": {
"Box": "HA",
"Category": "HA DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Number of cycles in which Direct2Core was disabled",
"Desc": "Cycles when Direct2Core was Disabled",
"EvSel": 18,
"ExtSel": "",
},
"HA.DIRECT2CORE_TXN_OVERRIDE": {
"Box": "HA",
"Category": "HA DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Number of Reads where Direct2Core overridden",
"Desc": "Number of Reads that had Direct2Core Overridden",
"EvSel": 19,
"ExtSel": "",
},
"HA.DIRECTORY_LAT_OPT": {
"Box": "HA",
"Category": "HA DIRECTORY Events",
"Counters": "0-3",
"Defn": "Directory Latency Optimization Data Return Path Taken. When directory mode is enabled and the directory retuned for a read is Dir=I, then data can be returned using a faster path if certain conditions are met (credits, free pipeline, etc).",
"Desc": "Directory Lat Opt Return",
"EvSel": 65,
"ExtSel": "",
},
"HA.DIRECTORY_LOOKUP": {
"Box": "HA",
"Category": "HA DIRECTORY Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that looked up the directory. Can be filtered by requests that had to snoop and those that did not have to.",
"Desc": "Directory Lookups",
"EvSel": 12,
"ExtSel": "",
"Notes": "Only valid for parts that implement the Directory",
},
"HA.DIRECTORY_LOOKUP.NO_SNP": {
"Box": "HA",
"Category": "HA DIRECTORY Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that looked up the directory. Can be filtered by requests that had to snoop and those that did not have to.",
"Desc": "Directory Lookups",
"EvSel": 12,
"ExtSel": "",
"Notes": "Only valid for parts that implement the Directory",
"Umask": "bxxxxxx1x",
},
"HA.DIRECTORY_LOOKUP.SNP": {
"Box": "HA",
"Category": "HA DIRECTORY Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that looked up the directory. Can be filtered by requests that had to snoop and those that did not have to.",
"Desc": "Directory Lookups",
"EvSel": 12,
"ExtSel": "",
"Notes": "Only valid for parts that implement the Directory",
"Umask": "bxxxxxxx1",
},
"HA.DIRECTORY_UPDATE": {
"Box": "HA",
"Category": "HA DIRECTORY Events",
"Counters": "0-3",
"Defn": "Counts the number of directory updates that were required. These result in writes to the memory controller. This can be filtered by directory sets and directory clears.",
"Desc": "Directory Updates",
"EvSel": 13,
"ExtSel": "",
"Notes": "Only valid for parts that implement the Directory",
},
"HA.DIRECTORY_UPDATE.ANY": {
"Box": "HA",
"Category": "HA DIRECTORY Events",
"Counters": "0-3",
"Defn": "Counts the number of directory updates that were required. These result in writes to the memory controller. This can be filtered by directory sets and directory clears.",
"Desc": "Directory Updates",
"EvSel": 13,
"ExtSel": "",
"Notes": "Only valid for parts that implement the Directory",
"Umask": "bxxxxxx11",
},
"HA.DIRECTORY_UPDATE.SET": {
"Box": "HA",
"Category": "HA DIRECTORY Events",
"Counters": "0-3",
"Defn": "Counts the number of directory updates that were required. These result in writes to the memory controller. This can be filtered by directory sets and directory clears.",
"Desc": "Directory Updates",
"EvSel": 13,
"ExtSel": "",
"Notes": "Only valid for parts that implement the Directory",
"Umask": "bxxxxxxx1",
},
"HA.DIRECTORY_UPDATE.CLEAR": {
"Box": "HA",
"Category": "HA DIRECTORY Events",
"Counters": "0-3",
"Defn": "Counts the number of directory updates that were required. These result in writes to the memory controller. This can be filtered by directory sets and directory clears.",
"Desc": "Directory Updates",
"EvSel": 13,
"ExtSel": "",
"Notes": "Only valid for parts that implement the Directory",
"Umask": "bxxxxxx1x",
},
"HA.HITME_HIT": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
},
"HA.HITME_HIT.RSPFWDI_REMOTE": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.HITME_HIT.EVICTS": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "b01000010",
},
"HA.HITME_HIT.RSPFWDS": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"HA.HITME_HIT.READ_OR_INVITOE": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.HITME_HIT.INVALS": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "b00100110",
},
"HA.HITME_HIT.ALL": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "b11111111",
},
"HA.HITME_HIT.HOM": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "b00001111",
},
"HA.HITME_HIT.RSP": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"HA.HITME_HIT.WBMTOI": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.HITME_HIT.ALLOCS": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "b01110000",
},
"HA.HITME_HIT.WBMTOE_OR_S": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.HITME_HIT.ACKCNFLTWBI": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.HITME_HIT.RSPFWDI_LOCAL": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of Hits in HitMe Cache",
"EvSel": 113,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"HA.HITME_HIT_PV_BITS_SET": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
},
"HA.HITME_HIT_PV_BITS_SET.RSP": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"HA.HITME_HIT_PV_BITS_SET.HOM": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "b00001111",
},
"HA.HITME_HIT_PV_BITS_SET.ALL": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "b11111111",
},
"HA.HITME_HIT_PV_BITS_SET.READ_OR_INVITOE": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.HITME_HIT_PV_BITS_SET.RSPFWDS": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"HA.HITME_HIT_PV_BITS_SET.RSPFWDI_REMOTE": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.HITME_HIT_PV_BITS_SET.RSPFWDI_LOCAL": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"HA.HITME_HIT_PV_BITS_SET.ACKCNFLTWBI": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.HITME_HIT_PV_BITS_SET.WBMTOE_OR_S": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.HITME_HIT_PV_BITS_SET.WBMTOI": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Accumulates Number of PV bits set on HitMe Cache Hits",
"EvSel": 114,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.HITME_LOOKUP": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
},
"HA.HITME_LOOKUP.ACKCNFLTWBI": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.HITME_LOOKUP.RSPFWDI_LOCAL": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"HA.HITME_LOOKUP.ALLOCS": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "b01110000",
},
"HA.HITME_LOOKUP.WBMTOI": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.HITME_LOOKUP.WBMTOE_OR_S": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.HITME_LOOKUP.INVALS": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "b00100110",
},
"HA.HITME_LOOKUP.ALL": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "b11111111",
},
"HA.HITME_LOOKUP.RSPFWDS": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"HA.HITME_LOOKUP.READ_OR_INVITOE": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.HITME_LOOKUP.RSP": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"HA.HITME_LOOKUP.HOM": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "b00001111",
},
"HA.HITME_LOOKUP.RSPFWDI_REMOTE": {
"Box": "HA",
"Category": "HA HitME Events",
"Counters": "0-3",
"Desc": "Counts Number of times HitMe Cache is accessed",
"EvSel": 112,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.IGR_NO_CREDIT_CYCLES": {
"Box": "HA",
"Category": "HA QPI_IGR_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent. This can be filtered by the different credit pools and the different links.",
"Desc": "Cycles without QPI Ingress Credits",
"EvSel": 34,
"ExtSel": "",
},
"HA.IGR_NO_CREDIT_CYCLES.BL_QPI1": {
"Box": "HA",
"Category": "HA QPI_IGR_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent. This can be filtered by the different credit pools and the different links.",
"Desc": "Cycles without QPI Ingress Credits",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.IGR_NO_CREDIT_CYCLES.BL_QPI2": {
"Box": "HA",
"Category": "HA QPI_IGR_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent. This can be filtered by the different credit pools and the different links.",
"Desc": "Cycles without QPI Ingress Credits",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"HA.IGR_NO_CREDIT_CYCLES.BL_QPI0": {
"Box": "HA",
"Category": "HA QPI_IGR_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent. This can be filtered by the different credit pools and the different links.",
"Desc": "Cycles without QPI Ingress Credits",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.IGR_NO_CREDIT_CYCLES.AD_QPI2": {
"Box": "HA",
"Category": "HA QPI_IGR_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent. This can be filtered by the different credit pools and the different links.",
"Desc": "Cycles without QPI Ingress Credits",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.IGR_NO_CREDIT_CYCLES.AD_QPI1": {
"Box": "HA",
"Category": "HA QPI_IGR_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent. This can be filtered by the different credit pools and the different links.",
"Desc": "Cycles without QPI Ingress Credits",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.IGR_NO_CREDIT_CYCLES.AD_QPI0": {
"Box": "HA",
"Category": "HA QPI_IGR_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent. This can be filtered by the different credit pools and the different links.",
"Desc": "Cycles without QPI Ingress Credits",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.IMC_READS": {
"Box": "HA",
"Category": "HA IMC_READS Events",
"Counters": "0-3",
"Defn": "Count of the number of reads issued to any of the memory controller channels. This can be filtered by the priority of the reads.",
"Desc": "HA to iMC Normal Priority Reads Issued",
"EvSel": 23,
"ExtSel": "",
"MaxIncCyc": 4,
"Notes": "Does not count reads using the bypass path. That is counted separately in HA_IMC.BYPASS",
},
"HA.IMC_READS.NORMAL": {
"Box": "HA",
"Category": "HA IMC_READS Events",
"Counters": "0-3",
"Defn": "Count of the number of reads issued to any of the memory controller channels. This can be filtered by the priority of the reads.",
"Desc": "HA to iMC Normal Priority Reads Issued",
"EvSel": 23,
"ExtSel": "",
"MaxIncCyc": 4,
"Notes": "Does not count reads using the bypass path. That is counted separately in HA_IMC.BYPASS",
"Umask": "b00000001",
},
"HA.IMC_RETRY": {
"Box": "HA",
"Category": "HA IMC_MISC Events",
"Counters": "0-3",
"Desc": "Retry Events",
"EvSel": 30,
"ExtSel": "",
},
"HA.IMC_WRITES": {
"Box": "HA",
"Category": "HA IMC_WRITES Events",
"Counters": "0-3",
"Defn": "Counts the total number of full line writes issued from the HA into the memory controller. This counts for all four channels. It can be filtered by full/partial and ISOCH/non-ISOCH.",
"Desc": "HA to iMC Full Line Writes Issued",
"EvSel": 26,
"ExtSel": "",
},
"HA.IMC_WRITES.PARTIAL": {
"Box": "HA",
"Category": "HA IMC_WRITES Events",
"Counters": "0-3",
"Defn": "Counts the total number of full line writes issued from the HA into the memory controller. This counts for all four channels. It can be filtered by full/partial and ISOCH/non-ISOCH.",
"Desc": "HA to iMC Full Line Writes Issued",
"EvSel": 26,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.IMC_WRITES.ALL": {
"Box": "HA",
"Category": "HA IMC_WRITES Events",
"Counters": "0-3",
"Defn": "Counts the total number of full line writes issued from the HA into the memory controller. This counts for all four channels. It can be filtered by full/partial and ISOCH/non-ISOCH.",
"Desc": "HA to iMC Full Line Writes Issued",
"EvSel": 26,
"ExtSel": "",
"Umask": "b00001111",
},
"HA.IMC_WRITES.FULL_ISOCH": {
"Box": "HA",
"Category": "HA IMC_WRITES Events",
"Counters": "0-3",
"Defn": "Counts the total number of full line writes issued from the HA into the memory controller. This counts for all four channels. It can be filtered by full/partial and ISOCH/non-ISOCH.",
"Desc": "HA to iMC Full Line Writes Issued",
"EvSel": 26,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.IMC_WRITES.PARTIAL_ISOCH": {
"Box": "HA",
"Category": "HA IMC_WRITES Events",
"Counters": "0-3",
"Defn": "Counts the total number of full line writes issued from the HA into the memory controller. This counts for all four channels. It can be filtered by full/partial and ISOCH/non-ISOCH.",
"Desc": "HA to iMC Full Line Writes Issued",
"EvSel": 26,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.IMC_WRITES.FULL": {
"Box": "HA",
"Category": "HA IMC_WRITES Events",
"Counters": "0-3",
"Defn": "Counts the total number of full line writes issued from the HA into the memory controller. This counts for all four channels. It can be filtered by full/partial and ISOCH/non-ISOCH.",
"Desc": "HA to iMC Full Line Writes Issued",
"EvSel": 26,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.OSB": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB.",
"Desc": "OSB Snoop Broadcast",
"EvSel": 83,
"ExtSel": "",
},
"HA.OSB.REMOTE": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB.",
"Desc": "OSB Snoop Broadcast",
"EvSel": 83,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.OSB.READS_LOCAL_USEFUL": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB.",
"Desc": "OSB Snoop Broadcast",
"EvSel": 83,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"HA.OSB.REMOTE_USEFUL": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB.",
"Desc": "OSB Snoop Broadcast",
"EvSel": 83,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"HA.OSB.READS_LOCAL": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB.",
"Desc": "OSB Snoop Broadcast",
"EvSel": 83,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.OSB.CANCELLED": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB.",
"Desc": "OSB Snoop Broadcast",
"EvSel": 83,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.OSB.INVITOE_LOCAL": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB.",
"Desc": "OSB Snoop Broadcast",
"EvSel": 83,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.OSB_EDR": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return",
"Desc": "OSB Early Data Return",
"EvSel": 84,
"ExtSel": "",
},
"HA.OSB_EDR.READS_LOCAL_I": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return",
"Desc": "OSB Early Data Return",
"EvSel": 84,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.OSB_EDR.READS_REMOTE_I": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return",
"Desc": "OSB Early Data Return",
"EvSel": 84,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.OSB_EDR.ALL": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return",
"Desc": "OSB Early Data Return",
"EvSel": 84,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.OSB_EDR.READS_LOCAL_S": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return",
"Desc": "OSB Early Data Return",
"EvSel": 84,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.OSB_EDR.READS_REMOTE_S": {
"Box": "HA",
"Category": "HA OSB (Opportunistic Snoop Broadcast) Events",
"Counters": "0-3",
"Defn": "Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return",
"Desc": "OSB Early Data Return",
"EvSel": 84,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.REQUESTS": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
},
"HA.REQUESTS.READS_LOCAL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.REQUESTS.INVITOE_LOCAL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.REQUESTS.INVITOE_REMOTE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"HA.REQUESTS.WRITES": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
"Umask": "b00001100",
},
"HA.REQUESTS.READS": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
"Umask": "b00000011",
},
"HA.REQUESTS.WRITES_REMOTE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.REQUESTS.WRITES_LOCAL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.REQUESTS.READS_REMOTE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO). Writes include all writes (streaming, evictions, HitM, etc).",
"Desc": "Read and Write Requests",
"EvSel": 1,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.RING_AD_USED": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AD Ring in Use",
"EvSel": 62,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"HA.RING_AD_USED.CCW_ODD": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AD Ring in Use",
"EvSel": 62,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"HA.RING_AD_USED.CCW": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AD Ring in Use",
"EvSel": 62,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"HA.RING_AD_USED.CCW_EVEN": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AD Ring in Use",
"EvSel": 62,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"HA.RING_AD_USED.CW_EVEN": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AD Ring in Use",
"EvSel": 62,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"HA.RING_AD_USED.CW": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AD Ring in Use",
"EvSel": 62,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"HA.RING_AD_USED.CW_ODD": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AD Ring in Use",
"EvSel": 62,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"HA.RING_AK_USED": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AK Ring in Use",
"EvSel": 63,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"HA.RING_AK_USED.CCW_ODD": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AK Ring in Use",
"EvSel": 63,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"HA.RING_AK_USED.CCW": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AK Ring in Use",
"EvSel": 63,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"HA.RING_AK_USED.CCW_EVEN": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AK Ring in Use",
"EvSel": 63,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"HA.RING_AK_USED.CW": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AK Ring in Use",
"EvSel": 63,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"HA.RING_AK_USED.CW_EVEN": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AK Ring in Use",
"EvSel": 63,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"HA.RING_AK_USED.CW_ODD": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA AK Ring in Use",
"EvSel": 63,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"HA.RING_BL_USED": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA BL Ring in Use",
"EvSel": 64,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"HA.RING_BL_USED.CCW_EVEN": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA BL Ring in Use",
"EvSel": 64,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"HA.RING_BL_USED.CW": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA BL Ring in Use",
"EvSel": 64,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"HA.RING_BL_USED.CW_EVEN": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA BL Ring in Use",
"EvSel": 64,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"HA.RING_BL_USED.CW_ODD": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA BL Ring in Use",
"EvSel": 64,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"HA.RING_BL_USED.CCW_ODD": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA BL Ring in Use",
"EvSel": 64,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"HA.RING_BL_USED.CCW": {
"Box": "HA",
"Category": "HA RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "HA BL Ring in Use",
"EvSel": 64,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"HA.RPQ_CYCLES_NO_REG_CREDITS": {
"Box": "HA",
"Category": "HA RPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting reads from the HA into the iMC. In order to send reads into the memory controller, the HA must first acquire a credit for the iMC's RPQ (read pending queue). This queue is broken into regular credits/buffers that are used by general reads, and \"special\" requests such as ISOCH reads. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "iMC RPQ Credits Empty - Regular",
"EvSel": 21,
"ExtSel": "",
"MaxIncCyc": 4,
},
"HA.RPQ_CYCLES_NO_REG_CREDITS.CHN3": {
"Box": "HA",
"Category": "HA RPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting reads from the HA into the iMC. In order to send reads into the memory controller, the HA must first acquire a credit for the iMC's RPQ (read pending queue). This queue is broken into regular credits/buffers that are used by general reads, and \"special\" requests such as ISOCH reads. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "iMC RPQ Credits Empty - Regular",
"EvSel": 21,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00001000",
},
"HA.RPQ_CYCLES_NO_REG_CREDITS.CHN1": {
"Box": "HA",
"Category": "HA RPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting reads from the HA into the iMC. In order to send reads into the memory controller, the HA must first acquire a credit for the iMC's RPQ (read pending queue). This queue is broken into regular credits/buffers that are used by general reads, and \"special\" requests such as ISOCH reads. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "iMC RPQ Credits Empty - Regular",
"EvSel": 21,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000010",
},
"HA.RPQ_CYCLES_NO_REG_CREDITS.CHN0": {
"Box": "HA",
"Category": "HA RPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting reads from the HA into the iMC. In order to send reads into the memory controller, the HA must first acquire a credit for the iMC's RPQ (read pending queue). This queue is broken into regular credits/buffers that are used by general reads, and \"special\" requests such as ISOCH reads. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "iMC RPQ Credits Empty - Regular",
"EvSel": 21,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000001",
},
"HA.RPQ_CYCLES_NO_REG_CREDITS.CHN2": {
"Box": "HA",
"Category": "HA RPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting reads from the HA into the iMC. In order to send reads into the memory controller, the HA must first acquire a credit for the iMC's RPQ (read pending queue). This queue is broken into regular credits/buffers that are used by general reads, and \"special\" requests such as ISOCH reads. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "iMC RPQ Credits Empty - Regular",
"EvSel": 21,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000100",
},
"HA.SBO0_CREDITS_ACQUIRED": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 104,
"ExtSel": "",
},
"HA.SBO0_CREDITS_ACQUIRED.AD": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 104,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.SBO0_CREDITS_ACQUIRED.BL": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 104,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.SBO0_CREDIT_OCCUPANCY": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 0 credits in use in a given cycle, per ring.",
"Desc": "SBo0 Credits Occupancy",
"EvSel": 106,
"ExtSel": "",
},
"HA.SBO0_CREDIT_OCCUPANCY.BL": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 0 credits in use in a given cycle, per ring.",
"Desc": "SBo0 Credits Occupancy",
"EvSel": 106,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.SBO0_CREDIT_OCCUPANCY.AD": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 0 credits in use in a given cycle, per ring.",
"Desc": "SBo0 Credits Occupancy",
"EvSel": 106,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.SBO1_CREDITS_ACQUIRED": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 1 credits acquired in a given cycle, per ring.",
"Desc": "SBo1 Credits Acquired",
"EvSel": 105,
"ExtSel": "",
},
"HA.SBO1_CREDITS_ACQUIRED.BL": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 1 credits acquired in a given cycle, per ring.",
"Desc": "SBo1 Credits Acquired",
"EvSel": 105,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.SBO1_CREDITS_ACQUIRED.AD": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 1 credits acquired in a given cycle, per ring.",
"Desc": "SBo1 Credits Acquired",
"EvSel": 105,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.SBO1_CREDIT_OCCUPANCY": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 1 credits in use in a given cycle, per ring.",
"Desc": "SBo1 Credits Occupancy",
"EvSel": 107,
"ExtSel": "",
},
"HA.SBO1_CREDIT_OCCUPANCY.AD": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 1 credits in use in a given cycle, per ring.",
"Desc": "SBo1 Credits Occupancy",
"EvSel": 107,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.SBO1_CREDIT_OCCUPANCY.BL": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo 1 credits in use in a given cycle, per ring.",
"Desc": "SBo1 Credits Occupancy",
"EvSel": 107,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.SNOOPS_RSP_AFTER_DATA": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Counts the number of reads when the snoop was on the critical path to the data return.",
"Desc": "Data beat the Snoop Responses",
"EvSel": 10,
"ExtSel": "",
"MaxIncCyc": 127,
},
"HA.SNOOPS_RSP_AFTER_DATA.LOCAL": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Counts the number of reads when the snoop was on the critical path to the data return.",
"Desc": "Data beat the Snoop Responses",
"EvSel": 10,
"ExtSel": "",
"MaxIncCyc": 127,
"Umask": "b00000001",
},
"HA.SNOOPS_RSP_AFTER_DATA.REMOTE": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Counts the number of reads when the snoop was on the critical path to the data return.",
"Desc": "Data beat the Snoop Responses",
"EvSel": 10,
"ExtSel": "",
"MaxIncCyc": 127,
"Umask": "b00000010",
},
"HA.SNOOP_CYCLES_NE": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Counts cycles when one or more snoops are outstanding.",
"Desc": "Cycles with Snoops Outstanding",
"EvSel": 8,
"ExtSel": "",
},
"HA.SNOOP_CYCLES_NE.LOCAL": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Counts cycles when one or more snoops are outstanding.",
"Desc": "Cycles with Snoops Outstanding",
"EvSel": 8,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.SNOOP_CYCLES_NE.REMOTE": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Counts cycles when one or more snoops are outstanding.",
"Desc": "Cycles with Snoops Outstanding",
"EvSel": 8,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.SNOOP_CYCLES_NE.ALL": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Counts cycles when one or more snoops are outstanding.",
"Desc": "Cycles with Snoops Outstanding",
"EvSel": 8,
"ExtSel": "",
"Umask": "b00000011",
},
"HA.SNOOP_OCCUPANCY": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of either the local HA tracker pool that have snoops pending in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if an HT (HomeTracker) entry is available and this occupancy is decremented when all the snoop responses have returned.",
"Desc": "Tracker Snoops Outstanding Accumulator",
"EvSel": 9,
"ExtSel": "",
"MaxIncCyc": 127,
"SubCtr": 1,
},
"HA.SNOOP_OCCUPANCY.LOCAL": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of either the local HA tracker pool that have snoops pending in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if an HT (HomeTracker) entry is available and this occupancy is decremented when all the snoop responses have returned.",
"Desc": "Tracker Snoops Outstanding Accumulator",
"EvSel": 9,
"ExtSel": "",
"MaxIncCyc": 127,
"SubCtr": 1,
"Umask": "b00000001",
},
"HA.SNOOP_OCCUPANCY.REMOTE": {
"Box": "HA",
"Category": "HA SNOOPS Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of either the local HA tracker pool that have snoops pending in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if an HT (HomeTracker) entry is available and this occupancy is decremented when all the snoop responses have returned.",
"Desc": "Tracker Snoops Outstanding Accumulator",
"EvSel": 9,
"ExtSel": "",
"MaxIncCyc": 127,
"SubCtr": 1,
"Umask": "b00000010",
},
"HA.SNOOP_RESP": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Counts the total number of RspI snoop responses received. Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system. In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received. For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.",
"Desc": "Snoop Responses Received",
"EvSel": 33,
"ExtSel": "",
},
"HA.SNOOP_RESP.RSPI": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Counts the total number of RspI snoop responses received. Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system. In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received. For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.",
"Desc": "Snoop Responses Received",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.SNOOP_RESP.RSPS": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Counts the total number of RspI snoop responses received. Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system. In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received. For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.",
"Desc": "Snoop Responses Received",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.SNOOP_RESP.RSPSFWD": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Counts the total number of RspI snoop responses received. Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system. In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received. For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.",
"Desc": "Snoop Responses Received",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.SNOOP_RESP.RSPCNFLCT": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Counts the total number of RspI snoop responses received. Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system. In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received. For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.",
"Desc": "Snoop Responses Received",
"EvSel": 33,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"HA.SNOOP_RESP.RSPIFWD": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Counts the total number of RspI snoop responses received. Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system. In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received. For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.",
"Desc": "Snoop Responses Received",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.SNOOP_RESP.RSP_FWD_WB": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Counts the total number of RspI snoop responses received. Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system. In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received. For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.",
"Desc": "Snoop Responses Received",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"HA.SNOOP_RESP.RSP_WB": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Counts the total number of RspI snoop responses received. Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system. In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received. For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.",
"Desc": "Snoop Responses Received",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.SNP_RESP_RECV_LOCAL": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
},
"HA.SNP_RESP_RECV_LOCAL.RSPxFWDxWB": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"HA.SNP_RESP_RECV_LOCAL.RSPIFWD": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.SNP_RESP_RECV_LOCAL.RSPCNFLCT": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"HA.SNP_RESP_RECV_LOCAL.OTHER": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"HA.SNP_RESP_RECV_LOCAL.RSPSFWD": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.SNP_RESP_RECV_LOCAL.RSPxWB": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"HA.SNP_RESP_RECV_LOCAL.RSPS": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.SNP_RESP_RECV_LOCAL.RSPI": {
"Box": "HA",
"Category": "HA SNP_RESP Events",
"Counters": "0-3",
"Defn": "Number of snoop responses received for a Local request",
"Desc": "Snoop Responses Received Local",
"EvSel": 96,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.STALL_NO_SBO_CREDIT": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 108,
"ExtSel": "",
},
"HA.STALL_NO_SBO_CREDIT.SBO0_BL": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 108,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.STALL_NO_SBO_CREDIT.SBO1_BL": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 108,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"HA.STALL_NO_SBO_CREDIT.SBO1_AD": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 108,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.STALL_NO_SBO_CREDIT.SBO0_AD": {
"Box": "HA",
"Category": "HA SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 108,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.TAD_REQUESTS_G0": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
},
"HA.TAD_REQUESTS_G0.REGION3": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00001000",
},
"HA.TAD_REQUESTS_G0.REGION1": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"HA.TAD_REQUESTS_G0.REGION6": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b01000000",
},
"HA.TAD_REQUESTS_G0.REGION0": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000001",
},
"HA.TAD_REQUESTS_G0.REGION4": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00010000",
},
"HA.TAD_REQUESTS_G0.REGION7": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b10000000",
},
"HA.TAD_REQUESTS_G0.REGION2": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000100",
},
"HA.TAD_REQUESTS_G0.REGION5": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 0 to 7. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 0",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00100000",
},
"HA.TAD_REQUESTS_G1": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 8 to 10. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 1",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
},
"HA.TAD_REQUESTS_G1.REGION8": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 8 to 10. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 1",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000001",
},
"HA.TAD_REQUESTS_G1.REGION9": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 8 to 10. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 1",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"HA.TAD_REQUESTS_G1.REGION11": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 8 to 10. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 1",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00001000",
},
"HA.TAD_REQUESTS_G1.REGION10": {
"Box": "HA",
"Category": "HA TAD Events",
"Counters": "0-3",
"Defn": "Counts the number of HA requests to a given TAD region. There are up to 11 TAD (target address decode) regions in each home agent. All requests destined for the memory controller must first be decoded to determine which TAD region they are in. This event is filtered based on the TAD region ID, and covers regions 8 to 10. This event is useful for understanding how applications are using the memory that is spread across the different memory regions. It is particularly useful for \"Monroe\" systems that use the TAD to enable individual channels to enter self-refresh to save power.",
"Desc": "HA Requests to a TAD Region - Group 1",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000100",
},
"HA.TRACKER_CYCLES_FULL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the local HA tracker pool is completely used. This can be used with edge detect to identify the number of situations when the pool became fully utilized. This should not be confused with RTID credit usage -- which must be tracked inside each cbo individually -- but represents the actual tracker buffer structure. In other words, the system could be starved for RTIDs but not fill up the HA trackers. HA trackers are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Cycles Full",
"EvSel": 2,
"ExtSel": "",
},
"HA.TRACKER_CYCLES_FULL.ALL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the local HA tracker pool is completely used. This can be used with edge detect to identify the number of situations when the pool became fully utilized. This should not be confused with RTID credit usage -- which must be tracked inside each cbo individually -- but represents the actual tracker buffer structure. In other words, the system could be starved for RTIDs but not fill up the HA trackers. HA trackers are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Cycles Full",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.TRACKER_CYCLES_FULL.GP": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the local HA tracker pool is completely used. This can be used with edge detect to identify the number of situations when the pool became fully utilized. This should not be confused with RTID credit usage -- which must be tracked inside each cbo individually -- but represents the actual tracker buffer structure. In other words, the system could be starved for RTIDs but not fill up the HA trackers. HA trackers are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Cycles Full",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.TRACKER_CYCLES_NE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the local HA tracker pool is not empty. This can be used with edge detect to identify the number of situations when the pool became empty. This should not be confused with RTID credit usage -- which must be tracked inside each cbo individually -- but represents the actual tracker buffer structure. In other words, this buffer could be completely empty, but there may still be credits in use by the CBos. This stat can be used in conjunction with the occupancy accumulation stat in order to calculate average queue occpancy. HA trackers are allocated as soon as a request enters the HA if an HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Cycles Not Empty",
"EvSel": 3,
"ExtSel": "",
},
"HA.TRACKER_CYCLES_NE.ALL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the local HA tracker pool is not empty. This can be used with edge detect to identify the number of situations when the pool became empty. This should not be confused with RTID credit usage -- which must be tracked inside each cbo individually -- but represents the actual tracker buffer structure. In other words, this buffer could be completely empty, but there may still be credits in use by the CBos. This stat can be used in conjunction with the occupancy accumulation stat in order to calculate average queue occpancy. HA trackers are allocated as soon as a request enters the HA if an HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Cycles Not Empty",
"EvSel": 3,
"ExtSel": "",
"Umask": "b00000011",
},
"HA.TRACKER_CYCLES_NE.REMOTE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the local HA tracker pool is not empty. This can be used with edge detect to identify the number of situations when the pool became empty. This should not be confused with RTID credit usage -- which must be tracked inside each cbo individually -- but represents the actual tracker buffer structure. In other words, this buffer could be completely empty, but there may still be credits in use by the CBos. This stat can be used in conjunction with the occupancy accumulation stat in order to calculate average queue occpancy. HA trackers are allocated as soon as a request enters the HA if an HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Cycles Not Empty",
"EvSel": 3,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.TRACKER_CYCLES_NE.LOCAL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the local HA tracker pool is not empty. This can be used with edge detect to identify the number of situations when the pool became empty. This should not be confused with RTID credit usage -- which must be tracked inside each cbo individually -- but represents the actual tracker buffer structure. In other words, this buffer could be completely empty, but there may still be credits in use by the CBos. This stat can be used in conjunction with the occupancy accumulation stat in order to calculate average queue occpancy. HA trackers are allocated as soon as a request enters the HA if an HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Cycles Not Empty",
"EvSel": 3,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.TRACKER_OCCUPANCY": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of the local HA tracker pool in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if a HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Occupancy Accumultor",
"EvSel": 4,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"HA.TRACKER_OCCUPANCY.READS_REMOTE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of the local HA tracker pool in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if a HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Occupancy Accumultor",
"EvSel": 4,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxx1xxx",
},
"HA.TRACKER_OCCUPANCY.WRITES_LOCAL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of the local HA tracker pool in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if a HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Occupancy Accumultor",
"EvSel": 4,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxx1xxxx",
},
"HA.TRACKER_OCCUPANCY.WRITES_REMOTE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of the local HA tracker pool in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if a HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Occupancy Accumultor",
"EvSel": 4,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxx1xxxxx",
},
"HA.TRACKER_OCCUPANCY.READS_LOCAL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of the local HA tracker pool in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if a HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Occupancy Accumultor",
"EvSel": 4,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxx1xx",
},
"HA.TRACKER_OCCUPANCY.INVITOE_REMOTE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of the local HA tracker pool in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if a HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Occupancy Accumultor",
"EvSel": 4,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "b1xxxxxxx",
},
"HA.TRACKER_OCCUPANCY.INVITOE_LOCAL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the occupancy of the local HA tracker pool in every cycle. This can be used in conjection with the \"not empty\" stat to calculate average queue occupancy or the \"allocations\" stat in order to calculate average queue latency. HA trackers are allocated as soon as a request enters the HA if a HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring.",
"Desc": "Tracker Occupancy Accumultor",
"EvSel": 4,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bx1xxxxxx",
},
"HA.TRACKER_PENDING_OCCUPANCY": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the number of transactions that have data from the memory controller until they get scheduled to the Egress. This can be used to calculate the queuing latency for two things. (1) If the system is waiting for snoops, this will increase. (2) If the system can't schedule to the Egress because of either (a) Egress Credits or (b) QPI BL IGR credits for remote requests.",
"Desc": "Data Pending Occupancy Accumultor",
"EvSel": 5,
"ExtSel": "",
"MaxIncCyc": 127,
"SubCtr": 1,
},
"HA.TRACKER_PENDING_OCCUPANCY.LOCAL": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the number of transactions that have data from the memory controller until they get scheduled to the Egress. This can be used to calculate the queuing latency for two things. (1) If the system is waiting for snoops, this will increase. (2) If the system can't schedule to the Egress because of either (a) Egress Credits or (b) QPI BL IGR credits for remote requests.",
"Desc": "Data Pending Occupancy Accumultor",
"EvSel": 5,
"ExtSel": "",
"MaxIncCyc": 127,
"SubCtr": 1,
"Umask": "b00000001",
},
"HA.TRACKER_PENDING_OCCUPANCY.REMOTE": {
"Box": "HA",
"Category": "HA TRACKER Events",
"Counters": "0-3",
"Defn": "Accumulates the number of transactions that have data from the memory controller until they get scheduled to the Egress. This can be used to calculate the queuing latency for two things. (1) If the system is waiting for snoops, this will increase. (2) If the system can't schedule to the Egress because of either (a) Egress Credits or (b) QPI BL IGR credits for remote requests.",
"Desc": "Data Pending Occupancy Accumultor",
"EvSel": 5,
"ExtSel": "",
"MaxIncCyc": 127,
"SubCtr": 1,
"Umask": "b00000010",
},
"HA.TxR_AD_CYCLES_FULL": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "AD Egress Full",
"Desc": "AD Egress Full",
"EvSel": 42,
"ExtSel": "",
},
"HA.TxR_AD_CYCLES_FULL.SCHED1": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "AD Egress Full",
"Desc": "AD Egress Full",
"EvSel": 42,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.TxR_AD_CYCLES_FULL.ALL": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "AD Egress Full",
"Desc": "AD Egress Full",
"EvSel": 42,
"ExtSel": "",
"Umask": "bxxxxxx11",
},
"HA.TxR_AD_CYCLES_FULL.SCHED0": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "AD Egress Full",
"Desc": "AD Egress Full",
"EvSel": 42,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.TxR_AK": {
"Box": "HA",
"Category": "HA OUTBOUND_TX Events",
"Counters": "0-3",
"Desc": "Outbound Ring Transactions on AK",
"EvSel": 14,
"ExtSel": "",
},
"HA.TxR_AK_CYCLES_FULL": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "AK Egress Full",
"Desc": "AK Egress Full",
"EvSel": 50,
"ExtSel": "",
},
"HA.TxR_AK_CYCLES_FULL.SCHED1": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "AK Egress Full",
"Desc": "AK Egress Full",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.TxR_AK_CYCLES_FULL.ALL": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "AK Egress Full",
"Desc": "AK Egress Full",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxxxxxx11",
},
"HA.TxR_AK_CYCLES_FULL.SCHED0": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "AK Egress Full",
"Desc": "AK Egress Full",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.TxR_BL": {
"Box": "HA",
"Category": "HA OUTBOUND_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS messages sent out on the BL ring. This can be filtered by the destination.",
"Desc": "Outbound DRS Ring Transactions to Cache",
"EvSel": 16,
"ExtSel": "",
},
"HA.TxR_BL.DRS_QPI": {
"Box": "HA",
"Category": "HA OUTBOUND_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS messages sent out on the BL ring. This can be filtered by the destination.",
"Desc": "Outbound DRS Ring Transactions to Cache",
"EvSel": 16,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"HA.TxR_BL.DRS_CORE": {
"Box": "HA",
"Category": "HA OUTBOUND_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS messages sent out on the BL ring. This can be filtered by the destination.",
"Desc": "Outbound DRS Ring Transactions to Cache",
"EvSel": 16,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.TxR_BL.DRS_CACHE": {
"Box": "HA",
"Category": "HA OUTBOUND_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS messages sent out on the BL ring. This can be filtered by the destination.",
"Desc": "Outbound DRS Ring Transactions to Cache",
"EvSel": 16,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.TxR_BL_CYCLES_FULL": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "BL Egress Full",
"Desc": "BL Egress Full",
"EvSel": 54,
"ExtSel": "",
},
"HA.TxR_BL_CYCLES_FULL.SCHED1": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "BL Egress Full",
"Desc": "BL Egress Full",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.TxR_BL_CYCLES_FULL.ALL": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "BL Egress Full",
"Desc": "BL Egress Full",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxxxxxx11",
},
"HA.TxR_BL_CYCLES_FULL.SCHED0": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "BL Egress Full",
"Desc": "BL Egress Full",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.TxR_BL_OCCUPANCY": {
"Box": "HA",
"Category": "HA BL_EGRESS Events",
"Counters": "0-3",
"Defn": "BL Egress Occupancy",
"Desc": "BL Egress Occupancy",
"EvSel": 52,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
},
"HA.TxR_STARVED": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "Counts injection starvation. This starvation is triggered when the Egress cannot send a transaction onto the ring for a long period of time.",
"Desc": "Injection Starvation",
"EvSel": 109,
"ExtSel": "",
},
"HA.TxR_STARVED.AK": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "Counts injection starvation. This starvation is triggered when the Egress cannot send a transaction onto the ring for a long period of time.",
"Desc": "Injection Starvation",
"EvSel": 109,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"HA.TxR_STARVED.BL": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Counters": "0-3",
"Defn": "Counts injection starvation. This starvation is triggered when the Egress cannot send a transaction onto the ring for a long period of time.",
"Desc": "Injection Starvation",
"EvSel": 109,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"HA.WPQ_CYCLES_NO_REG_CREDITS": {
"Box": "HA",
"Category": "HA WPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting writes from the HA into the iMC. In order to send writes into the memory controller, the HA must first acquire a credit for the iMC's WPQ (write pending queue). This queue is broken into regular credits/buffers that are used by general writes, and \"special\" requests such as ISOCH writes. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "HA iMC CHN0 WPQ Credits Empty - Regular",
"EvSel": 24,
"ExtSel": "",
"MaxIncCyc": 4,
},
"HA.WPQ_CYCLES_NO_REG_CREDITS.CHN2": {
"Box": "HA",
"Category": "HA WPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting writes from the HA into the iMC. In order to send writes into the memory controller, the HA must first acquire a credit for the iMC's WPQ (write pending queue). This queue is broken into regular credits/buffers that are used by general writes, and \"special\" requests such as ISOCH writes. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "HA iMC CHN0 WPQ Credits Empty - Regular",
"EvSel": 24,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000100",
},
"HA.WPQ_CYCLES_NO_REG_CREDITS.CHN0": {
"Box": "HA",
"Category": "HA WPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting writes from the HA into the iMC. In order to send writes into the memory controller, the HA must first acquire a credit for the iMC's WPQ (write pending queue). This queue is broken into regular credits/buffers that are used by general writes, and \"special\" requests such as ISOCH writes. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "HA iMC CHN0 WPQ Credits Empty - Regular",
"EvSel": 24,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000001",
},
"HA.WPQ_CYCLES_NO_REG_CREDITS.CHN1": {
"Box": "HA",
"Category": "HA WPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting writes from the HA into the iMC. In order to send writes into the memory controller, the HA must first acquire a credit for the iMC's WPQ (write pending queue). This queue is broken into regular credits/buffers that are used by general writes, and \"special\" requests such as ISOCH writes. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "HA iMC CHN0 WPQ Credits Empty - Regular",
"EvSel": 24,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000010",
},
"HA.WPQ_CYCLES_NO_REG_CREDITS.CHN3": {
"Box": "HA",
"Category": "HA WPQ_CREDITS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when there are no \"regular\" credits available for posting writes from the HA into the iMC. In order to send writes into the memory controller, the HA must first acquire a credit for the iMC's WPQ (write pending queue). This queue is broken into regular credits/buffers that are used by general writes, and \"special\" requests such as ISOCH writes. This count only tracks the regular credits Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time. One can filter based on the memory controller channel. One or more channels can be tracked at a given time.",
"Desc": "HA iMC CHN0 WPQ Credits Empty - Regular",
"EvSel": 24,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00001000",
},
# CBO:
"CBO.BOUNCE_CONTROL": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Desc": "Bounce Control",
"EvSel": 10,
"ExtSel": "",
},
"CBO.CLOCKTICKS": {
"Box": "CBO",
"Category": "CBO UCLK Events",
"Counters": "0-3",
"Desc": "Uncore Clocks",
"EvSel": 0,
"ExtSel": "",
},
"CBO.COUNTER0_OCCUPANCY": {
"Box": "CBO",
"Category": "CBO OCCUPANCY Events",
"Counters": "0-3",
"Defn": "Since occupancy counts can only be captured in the Cbo's 0 counter, this event allows a user to capture occupancy related information by filtering the Cb0 occupancy count captured in Counter 0. The filtering available is found in the control register - threshold, invert and edge detect. E.g. setting threshold to 1 can effectively monitor how many cycles the monitored queue has an entry.",
"Desc": "Counter 0 Occupancy",
"EvSel": 31,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
},
"CBO.FAST_ASSERTED": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles either the local distress or incoming distress signals are asserted. Incoming distress includes both up and dn.",
"Desc": "FaST wire asserted",
"EvSel": 9,
"ExtSel": "",
},
"CBO.LLC_LOOKUP": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.",
"Desc": "Cache Lookups",
"EvSel": 52,
"ExtSel": "",
"Notes": "Bit 0 of the umask must always be set for this event. This allows us to match a given state (or states). The state is programmed in Cn_MSR_PMON_BOX_FILTER.state. The state field is a bit mask, so you can select (and monitor) multiple states at a time. 0 = I (miss), 1 = S, 2 = E, 3 = M, 4 = F. For example, if you wanted to monitor F and S hits, you could set 10010b in the 5-bit state field. To monitor any lookup, set the field to 0x1F.",
},
"CBO.LLC_LOOKUP.REMOTE_SNOOP": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.",
"Desc": "Cache Lookups",
"EvSel": 52,
"ExtSel": "",
"Notes": "Bit 0 of the umask must always be set for this event. This allows us to match a given state (or states). The state is programmed in Cn_MSR_PMON_BOX_FILTER.state. The state field is a bit mask, so you can select (and monitor) multiple states at a time. 0 = I (miss), 1 = S, 2 = E, 3 = M, 4 = F. For example, if you wanted to monitor F and S hits, you could set 10010b in the 5-bit state field. To monitor any lookup, set the field to 0x1F.",
"Umask": "b00001001",
},
"CBO.LLC_LOOKUP.READ": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.",
"Desc": "Cache Lookups",
"EvSel": 52,
"ExtSel": "",
"Notes": "Bit 0 of the umask must always be set for this event. This allows us to match a given state (or states). The state is programmed in Cn_MSR_PMON_BOX_FILTER.state. The state field is a bit mask, so you can select (and monitor) multiple states at a time. 0 = I (miss), 1 = S, 2 = E, 3 = M, 4 = F. For example, if you wanted to monitor F and S hits, you could set 10010b in the 5-bit state field. To monitor any lookup, set the field to 0x1F.",
"Umask": "b00100001",
},
"CBO.LLC_LOOKUP.DATA_READ": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.",
"Desc": "Cache Lookups",
"EvSel": 52,
"ExtSel": "",
"Notes": "Bit 0 of the umask must always be set for this event. This allows us to match a given state (or states). The state is programmed in Cn_MSR_PMON_BOX_FILTER.state. The state field is a bit mask, so you can select (and monitor) multiple states at a time. 0 = I (miss), 1 = S, 2 = E, 3 = M, 4 = F. For example, if you wanted to monitor F and S hits, you could set 10010b in the 5-bit state field. To monitor any lookup, set the field to 0x1F.",
"Umask": "b00000011",
},
"CBO.LLC_LOOKUP.WRITE": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.",
"Desc": "Cache Lookups",
"EvSel": 52,
"ExtSel": "",
"Notes": "Bit 0 of the umask must always be set for this event. This allows us to match a given state (or states). The state is programmed in Cn_MSR_PMON_BOX_FILTER.state. The state field is a bit mask, so you can select (and monitor) multiple states at a time. 0 = I (miss), 1 = S, 2 = E, 3 = M, 4 = F. For example, if you wanted to monitor F and S hits, you could set 10010b in the 5-bit state field. To monitor any lookup, set the field to 0x1F.",
"Umask": "b00000101",
},
"CBO.LLC_LOOKUP.ANY": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.",
"Desc": "Cache Lookups",
"EvSel": 52,
"ExtSel": "",
"Notes": "Bit 0 of the umask must always be set for this event. This allows us to match a given state (or states). The state is programmed in Cn_MSR_PMON_BOX_FILTER.state. The state field is a bit mask, so you can select (and monitor) multiple states at a time. 0 = I (miss), 1 = S, 2 = E, 3 = M, 4 = F. For example, if you wanted to monitor F and S hits, you could set 10010b in the 5-bit state field. To monitor any lookup, set the field to 0x1F.",
"Umask": "b00010001",
},
"CBO.LLC_LOOKUP.NID": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numerous filters available. Note the non-standard filtering equation. This event will count requests that lookup the cache multiple times with multiple increments. One must ALWAYS set umask bit 0 and select a state or states to match. Otherwise, the event will count nothing. CBoGlCtrl[22:18] bits correspond to [FMESI] state.",
"Desc": "Cache Lookups",
"EvSel": 52,
"ExtSel": "",
"Notes": "Bit 0 of the umask must always be set for this event. This allows us to match a given state (or states). The state is programmed in Cn_MSR_PMON_BOX_FILTER.state. The state field is a bit mask, so you can select (and monitor) multiple states at a time. 0 = I (miss), 1 = S, 2 = E, 3 = M, 4 = F. For example, if you wanted to monitor F and S hits, you could set 10010b in the 5-bit state field. To monitor any lookup, set the field to 0x1F.",
"Umask": "b01000001",
},
"CBO.LLC_VICTIMS": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of lines that were victimized on a fill. This can be filtered by the state that the line was in.",
"Desc": "Lines Victimized",
"EvSel": 55,
"ExtSel": "",
},
"CBO.LLC_VICTIMS.E_STATE": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of lines that were victimized on a fill. This can be filtered by the state that the line was in.",
"Desc": "Lines Victimized",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.LLC_VICTIMS.M_STATE": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of lines that were victimized on a fill. This can be filtered by the state that the line was in.",
"Desc": "Lines Victimized",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.LLC_VICTIMS.NID": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of lines that were victimized on a fill. This can be filtered by the state that the line was in.",
"Desc": "Lines Victimized",
"EvSel": 55,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"CBO.LLC_VICTIMS.MISS": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of lines that were victimized on a fill. This can be filtered by the state that the line was in.",
"Desc": "Lines Victimized",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"CBO.LLC_VICTIMS.I_STATE": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of lines that were victimized on a fill. This can be filtered by the state that the line was in.",
"Desc": "Lines Victimized",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"CBO.LLC_VICTIMS.F_STATE": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Counters": "0-3",
"Defn": "Counts the number of lines that were victimized on a fill. This can be filtered by the state that the line was in.",
"Desc": "Lines Victimized",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"CBO.MISC": {
"Box": "CBO",
"Category": "CBO MISC Events",
"Counters": "0-3",
"Defn": "Miscellaneous events in the Cbo.",
"Desc": "Cbo Misc",
"EvSel": 57,
"ExtSel": "",
},
"CBO.MISC.STARTED": {
"Box": "CBO",
"Category": "CBO MISC Events",
"Counters": "0-3",
"Defn": "Miscellaneous events in the Cbo.",
"Desc": "Cbo Misc",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"CBO.MISC.RFO_HIT_S": {
"Box": "CBO",
"Category": "CBO MISC Events",
"Counters": "0-3",
"Defn": "Miscellaneous events in the Cbo.",
"Desc": "Cbo Misc",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"CBO.MISC.CVZERO_PREFETCH_VICTIM": {
"Box": "CBO",
"Category": "CBO MISC Events",
"Counters": "0-3",
"Defn": "Miscellaneous events in the Cbo.",
"Desc": "Cbo Misc",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"CBO.MISC.CVZERO_PREFETCH_MISS": {
"Box": "CBO",
"Category": "CBO MISC Events",
"Counters": "0-3",
"Defn": "Miscellaneous events in the Cbo.",
"Desc": "Cbo Misc",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"CBO.MISC.RSPI_WAS_FSE": {
"Box": "CBO",
"Category": "CBO MISC Events",
"Counters": "0-3",
"Defn": "Miscellaneous events in the Cbo.",
"Desc": "Cbo Misc",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.MISC.WC_ALIASING": {
"Box": "CBO",
"Category": "CBO MISC Events",
"Counters": "0-3",
"Defn": "Miscellaneous events in the Cbo.",
"Desc": "Cbo Misc",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.RING_AD_USED": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
},
"CBO.RING_AD_USED.UP": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00000011",
},
"CBO.RING_AD_USED.UP_EVEN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxxx1",
},
"CBO.RING_AD_USED.DOWN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001100",
},
"CBO.RING_AD_USED.DOWN_EVEN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxx1xx",
},
"CBO.RING_AD_USED.UP_ODD": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxx1x",
},
"CBO.RING_AD_USED.DOWN_ODD": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxx1xxx",
},
"CBO.RING_AD_USED.ALL": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AD Ring In Use",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001111",
},
"CBO.RING_AK_USED": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
},
"CBO.RING_AK_USED.UP_EVEN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxxx1",
},
"CBO.RING_AK_USED.UP": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00000011",
},
"CBO.RING_AK_USED.DOWN_ODD": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxx1xxx",
},
"CBO.RING_AK_USED.ALL": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001111",
},
"CBO.RING_AK_USED.UP_ODD": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxx1x",
},
"CBO.RING_AK_USED.DOWN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001100",
},
"CBO.RING_AK_USED.DOWN_EVEN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "AK Ring In Use",
"EvSel": 28,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxx1xx",
},
"CBO.RING_BL_USED": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
},
"CBO.RING_BL_USED.DOWN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001100",
},
"CBO.RING_BL_USED.DOWN_EVEN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxx1xx",
},
"CBO.RING_BL_USED.UP_ODD": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxx1x",
},
"CBO.RING_BL_USED.DOWN_ODD": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxx1xxx",
},
"CBO.RING_BL_USED.ALL": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00001111",
},
"CBO.RING_BL_USED.UP": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "b00000011",
},
"CBO.RING_BL_USED.UP_EVEN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.We really have two rings in HSX -- a clockwise ring and a counter-clockwise ring. On the left side of the ring, the \"UP\" direction is on the clockwise ring and \"DN\" is on the counter-clockwise ring. On the right side of the ring, this is reversed. The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring. In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.",
"Desc": "BL Ring in Use",
"EvSel": 29,
"ExtSel": "",
"MaxIncCyc": 2,
"Notes": "In any cycle, a ring stop can see up to one packet moving in the UP direction and one packet moving in the DN direction.",
"Umask": "bxxxxxxx1",
},
"CBO.RING_BOUNCES": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
},
"CBO.RING_BOUNCES.AK": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.RING_BOUNCES.BL": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"CBO.RING_BOUNCES.IV": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"CBO.RING_BOUNCES.AD": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Desc": "Number of LLC responses that bounced on the Ring.",
"EvSel": 5,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.RING_IV_USED": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. There is only 1 IV ring in HSX Therefore, if one wants to monitor the \"Even\" ring, they should select both UP_EVEN and DN_EVEN. To monitor the \"Odd\" ring, they should select both UP_ODD and DN_ODD.",
"Desc": "BL Ring in Use",
"EvSel": 30,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the UP direction and one (half-)packet moving in the DN direction.",
},
"CBO.RING_IV_USED.DN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. There is only 1 IV ring in HSX Therefore, if one wants to monitor the \"Even\" ring, they should select both UP_EVEN and DN_EVEN. To monitor the \"Odd\" ring, they should select both UP_ODD and DN_ODD.",
"Desc": "BL Ring in Use",
"EvSel": 30,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the UP direction and one (half-)packet moving in the DN direction.",
"Umask": "b00001100",
},
"CBO.RING_IV_USED.ANY": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. There is only 1 IV ring in HSX Therefore, if one wants to monitor the \"Even\" ring, they should select both UP_EVEN and DN_EVEN. To monitor the \"Odd\" ring, they should select both UP_ODD and DN_ODD.",
"Desc": "BL Ring in Use",
"EvSel": 30,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the UP direction and one (half-)packet moving in the DN direction.",
"Umask": "b00001111",
},
"CBO.RING_IV_USED.UP": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. There is only 1 IV ring in HSX Therefore, if one wants to monitor the \"Even\" ring, they should select both UP_EVEN and DN_EVEN. To monitor the \"Odd\" ring, they should select both UP_ODD and DN_ODD.",
"Desc": "BL Ring in Use",
"EvSel": 30,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the UP direction and one (half-)packet moving in the DN direction.",
"Umask": "b00000011",
},
"CBO.RING_IV_USED.DOWN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop. There is only 1 IV ring in HSX Therefore, if one wants to monitor the \"Even\" ring, they should select both UP_EVEN and DN_EVEN. To monitor the \"Odd\" ring, they should select both UP_ODD and DN_ODD.",
"Desc": "BL Ring in Use",
"EvSel": 30,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the UP direction and one (half-)packet moving in the DN direction.",
"Umask": "b11001100",
},
"CBO.RING_SRC_THRTL": {
"Box": "CBO",
"Category": "CBO RING Events",
"Counters": "0-3",
"Desc": "Number of cycles the Cbo is actively throttling traffic onto the Ring in order to limit bounce traffic.",
"EvSel": 7,
"ExtSel": "",
},
"CBO.RxR_EXT_STARVED": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts cycles in external starvation. This occurs when one of the ingress queues is being starved by the other queues.",
"Desc": "Ingress Arbiter Blocking Cycles",
"EvSel": 18,
"ExtSel": "",
},
"CBO.RxR_EXT_STARVED.IRQ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts cycles in external starvation. This occurs when one of the ingress queues is being starved by the other queues.",
"Desc": "Ingress Arbiter Blocking Cycles",
"EvSel": 18,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.RxR_EXT_STARVED.PRQ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts cycles in external starvation. This occurs when one of the ingress queues is being starved by the other queues.",
"Desc": "Ingress Arbiter Blocking Cycles",
"EvSel": 18,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"CBO.RxR_EXT_STARVED.IPQ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts cycles in external starvation. This occurs when one of the ingress queues is being starved by the other queues.",
"Desc": "Ingress Arbiter Blocking Cycles",
"EvSel": 18,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.RxR_EXT_STARVED.ISMQ_BIDS": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts cycles in external starvation. This occurs when one of the ingress queues is being starved by the other queues.",
"Desc": "Ingress Arbiter Blocking Cycles",
"EvSel": 18,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"CBO.RxR_INSERTS": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts number of allocations per cycle into the specified Ingress queue.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
},
"CBO.RxR_INSERTS.IPQ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts number of allocations per cycle into the specified Ingress queue.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"Umask": "bxxxxx1xx",
},
"CBO.RxR_INSERTS.IRQ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts number of allocations per cycle into the specified Ingress queue.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"Umask": "bxxxxxxx1",
},
"CBO.RxR_INSERTS.PRQ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts number of allocations per cycle into the specified Ingress queue.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"Umask": "bxxx1xxxx",
},
"CBO.RxR_INSERTS.IRQ_REJ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts number of allocations per cycle into the specified Ingress queue.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"Umask": "bxxxxxx1x",
},
"CBO.RxR_INSERTS.PRQ_REJ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": "0-3",
"Defn": "Counts number of allocations per cycle into the specified Ingress queue.",
"Desc": "Ingress Allocations",
"EvSel": 19,
"ExtSel": "",
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"Umask": "bxx1xxxxx",
},
"CBO.RxR_IPQ_RETRY": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a snoop (probe) request had to retry. Filters exist to cover some of the common cases retries.",
"Desc": "Probe Queue Retries",
"EvSel": 49,
"ExtSel": "",
},
"CBO.RxR_IPQ_RETRY.ADDR_CONFLICT": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a snoop (probe) request had to retry. Filters exist to cover some of the common cases retries.",
"Desc": "Probe Queue Retries",
"EvSel": 49,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"CBO.RxR_IPQ_RETRY.ANY": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a snoop (probe) request had to retry. Filters exist to cover some of the common cases retries.",
"Desc": "Probe Queue Retries",
"EvSel": 49,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.RxR_IPQ_RETRY.FULL": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a snoop (probe) request had to retry. Filters exist to cover some of the common cases retries.",
"Desc": "Probe Queue Retries",
"EvSel": 49,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.RxR_IPQ_RETRY.QPI_CREDITS": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a snoop (probe) request had to retry. Filters exist to cover some of the common cases retries.",
"Desc": "Probe Queue Retries",
"EvSel": 49,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"CBO.RxR_IPQ_RETRY2": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a snoop (probe) request had to retry. Filters exist to cover some of the common cases retries.",
"Desc": "Probe Queue Retries",
"EvSel": 40,
"ExtSel": "",
},
"CBO.RxR_IPQ_RETRY2.TARGET": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a snoop (probe) request had to retry. Filters exist to cover some of the common cases retries.",
"Desc": "Probe Queue Retries",
"EvSel": 40,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"CBO.RxR_IPQ_RETRY2.AD_SBO": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a snoop (probe) request had to retry. Filters exist to cover some of the common cases retries.",
"Desc": "Probe Queue Retries",
"EvSel": 40,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.RxR_IRQ_RETRY": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 50,
"ExtSel": "",
},
"CBO.RxR_IRQ_RETRY.QPI_CREDITS": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"CBO.RxR_IRQ_RETRY.IIO_CREDITS": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"CBO.RxR_IRQ_RETRY.NID": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 50,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"CBO.RxR_IRQ_RETRY.ADDR_CONFLICT": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"CBO.RxR_IRQ_RETRY.RTID": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"CBO.RxR_IRQ_RETRY.ANY": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.RxR_IRQ_RETRY.FULL": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 50,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.RxR_IRQ_RETRY2": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 41,
"ExtSel": "",
},
"CBO.RxR_IRQ_RETRY2.TARGET": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 41,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"CBO.RxR_IRQ_RETRY2.AD_SBO": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 41,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.RxR_IRQ_RETRY2.BL_SBO": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "Ingress Request Queue Rejects",
"EvSel": 41,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.RxR_ISMQ_RETRY": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a transaction flowing through the ISMQ had to retry. Transaction pass through the ISMQ as responses for requests that already exist in the Cbo. Some examples include: when data is returned or when snoop responses come back from the cores.",
"Desc": "ISMQ Retries",
"EvSel": 51,
"ExtSel": "",
},
"CBO.RxR_ISMQ_RETRY.NID": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a transaction flowing through the ISMQ had to retry. Transaction pass through the ISMQ as responses for requests that already exist in the Cbo. Some examples include: when data is returned or when snoop responses come back from the cores.",
"Desc": "ISMQ Retries",
"EvSel": 51,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"CBO.RxR_ISMQ_RETRY.WB_CREDITS": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a transaction flowing through the ISMQ had to retry. Transaction pass through the ISMQ as responses for requests that already exist in the Cbo. Some examples include: when data is returned or when snoop responses come back from the cores.",
"Desc": "ISMQ Retries",
"EvSel": 51,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"CBO.RxR_ISMQ_RETRY.IIO_CREDITS": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a transaction flowing through the ISMQ had to retry. Transaction pass through the ISMQ as responses for requests that already exist in the Cbo. Some examples include: when data is returned or when snoop responses come back from the cores.",
"Desc": "ISMQ Retries",
"EvSel": 51,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"CBO.RxR_ISMQ_RETRY.QPI_CREDITS": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a transaction flowing through the ISMQ had to retry. Transaction pass through the ISMQ as responses for requests that already exist in the Cbo. Some examples include: when data is returned or when snoop responses come back from the cores.",
"Desc": "ISMQ Retries",
"EvSel": 51,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"CBO.RxR_ISMQ_RETRY.FULL": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a transaction flowing through the ISMQ had to retry. Transaction pass through the ISMQ as responses for requests that already exist in the Cbo. Some examples include: when data is returned or when snoop responses come back from the cores.",
"Desc": "ISMQ Retries",
"EvSel": 51,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.RxR_ISMQ_RETRY.ANY": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a transaction flowing through the ISMQ had to retry. Transaction pass through the ISMQ as responses for requests that already exist in the Cbo. Some examples include: when data is returned or when snoop responses come back from the cores.",
"Desc": "ISMQ Retries",
"EvSel": 51,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.RxR_ISMQ_RETRY.RTID": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Defn": "Number of times a transaction flowing through the ISMQ had to retry. Transaction pass through the ISMQ as responses for requests that already exist in the Cbo. Some examples include: when data is returned or when snoop responses come back from the cores.",
"Desc": "ISMQ Retries",
"EvSel": 51,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"CBO.RxR_ISMQ_RETRY2": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "ISMQ Request Queue Rejects",
"EvSel": 42,
"ExtSel": "",
},
"CBO.RxR_ISMQ_RETRY2.BL_SBO": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "ISMQ Request Queue Rejects",
"EvSel": 42,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.RxR_ISMQ_RETRY2.AD_SBO": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "ISMQ Request Queue Rejects",
"EvSel": 42,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.RxR_ISMQ_RETRY2.TARGET": {
"Box": "CBO",
"Category": "CBO INGRESS_RETRY Events",
"Counters": "0-3",
"Desc": "ISMQ Request Queue Rejects",
"EvSel": 42,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"CBO.RxR_OCCUPANCY": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": 0,
"Defn": "Counts number of entries in the specified Ingress queue in each cycle.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 20,
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"SubCtr": 1,
},
"CBO.RxR_OCCUPANCY.IRQ_REJ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": 0,
"Defn": "Counts number of entries in the specified Ingress queue in each cycle.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 20,
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"SubCtr": 1,
"Umask": "b00000010",
},
"CBO.RxR_OCCUPANCY.PRQ_REJ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": 0,
"Defn": "Counts number of entries in the specified Ingress queue in each cycle.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 20,
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"SubCtr": 1,
"Umask": "b00100000",
},
"CBO.RxR_OCCUPANCY.IRQ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": 0,
"Defn": "Counts number of entries in the specified Ingress queue in each cycle.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 20,
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"SubCtr": 1,
"Umask": "b00000001",
},
"CBO.RxR_OCCUPANCY.IPQ": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Counters": 0,
"Defn": "Counts number of entries in the specified Ingress queue in each cycle.",
"Desc": "Ingress Occupancy",
"EvSel": 17,
"ExtSel": "",
"MaxIncCyc": 20,
"Notes": "IRQ_REJECTED should not be Ored with the other umasks.",
"SubCtr": 1,
"Umask": "b00000100",
},
"CBO.SBO_CREDITS_ACQUIRED": {
"Box": "CBO",
"Category": "CBO SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo credits acquired in a given cycle, per ring. Each Cbo is assigned an Sbo it can communicate with.",
"Desc": "SBo Credits Acquired",
"EvSel": 61,
"ExtSel": "",
},
"CBO.SBO_CREDITS_ACQUIRED.AD": {
"Box": "CBO",
"Category": "CBO SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo credits acquired in a given cycle, per ring. Each Cbo is assigned an Sbo it can communicate with.",
"Desc": "SBo Credits Acquired",
"EvSel": 61,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.SBO_CREDITS_ACQUIRED.BL": {
"Box": "CBO",
"Category": "CBO SBO Credit Events",
"Counters": "0-3",
"Defn": "Number of Sbo credits acquired in a given cycle, per ring. Each Cbo is assigned an Sbo it can communicate with.",
"Desc": "SBo Credits Acquired",
"EvSel": 61,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.SBO_CREDIT_OCCUPANCY": {
"Box": "CBO",
"Category": "CBO SBO Credit Events",
"Counters": 0,
"Defn": "Number of Sbo credits in use in a given cycle, per ring. Each Cbo is assigned an Sbo it can communicate with.",
"Desc": "SBo Credits Occupancy",
"EvSel": 62,
"ExtSel": "",
"MaxIncCyc": 7,
"Notes": "Each Cbo has 3 AD and 2 BL credits into its assigned Sbo.",
"SubCtr": 1,
},
"CBO.SBO_CREDIT_OCCUPANCY.AD": {
"Box": "CBO",
"Category": "CBO SBO Credit Events",
"Counters": 0,
"Defn": "Number of Sbo credits in use in a given cycle, per ring. Each Cbo is assigned an Sbo it can communicate with.",
"Desc": "SBo Credits Occupancy",
"EvSel": 62,
"ExtSel": "",
"MaxIncCyc": 7,
"Notes": "Each Cbo has 3 AD and 2 BL credits into its assigned Sbo.",
"SubCtr": 1,
"Umask": "bxxxxxxx1",
},
"CBO.SBO_CREDIT_OCCUPANCY.BL": {
"Box": "CBO",
"Category": "CBO SBO Credit Events",
"Counters": 0,
"Defn": "Number of Sbo credits in use in a given cycle, per ring. Each Cbo is assigned an Sbo it can communicate with.",
"Desc": "SBo Credits Occupancy",
"EvSel": 62,
"ExtSel": "",
"MaxIncCyc": 7,
"Notes": "Each Cbo has 3 AD and 2 BL credits into its assigned Sbo.",
"SubCtr": 1,
"Umask": "bxxxxxx1x",
},
"CBO.TOR_INSERTS": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
},
"CBO.TOR_INSERTS.REMOTE_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b10000001",
},
"CBO.TOR_INSERTS.OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00000001",
},
"CBO.TOR_INSERTS.NID_MISS_ALL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b01001010",
},
"CBO.TOR_INSERTS.NID_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b01000001",
},
"CBO.TOR_INSERTS.MISS_LOCAL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00101010",
},
"CBO.TOR_INSERTS.NID_WB": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b01010000",
},
"CBO.TOR_INSERTS.ALL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00001000",
},
"CBO.TOR_INSERTS.EVICTION": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00000100",
},
"CBO.TOR_INSERTS.NID_MISS_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b01000011",
},
"CBO.TOR_INSERTS.MISS_LOCAL_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00100011",
},
"CBO.TOR_INSERTS.LOCAL_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00100001",
},
"CBO.TOR_INSERTS.NID_EVICTION": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b01000100",
},
"CBO.TOR_INSERTS.WB": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00010000",
},
"CBO.TOR_INSERTS.MISS_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00000011",
},
"CBO.TOR_INSERTS.NID_ALL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b01001000",
},
"CBO.TOR_INSERTS.MISS_REMOTE_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b10000011",
},
"CBO.TOR_INSERTS.REMOTE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b10001000",
},
"CBO.TOR_INSERTS.LOCAL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b00101000",
},
"CBO.TOR_INSERTS.MISS_REMOTE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": "0-3",
"Defn": "Counts the number of entries successfuly inserted into the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182).",
"Desc": "TOR Inserts",
"EvSel": 53,
"ExtSel": "",
"Umask": "b10001010",
},
"CBO.TOR_OCCUPANCY": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
},
"CBO.TOR_OCCUPANCY.NID_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b01000001",
},
"CBO.TOR_OCCUPANCY.REMOTE_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b10000001",
},
"CBO.TOR_OCCUPANCY.OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00000001",
},
"CBO.TOR_OCCUPANCY.NID_MISS_ALL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b01001010",
},
"CBO.TOR_OCCUPANCY.ALL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00001000",
},
"CBO.TOR_OCCUPANCY.NID_MISS_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b01000011",
},
"CBO.TOR_OCCUPANCY.EVICTION": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00000100",
},
"CBO.TOR_OCCUPANCY.MISS_LOCAL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00101010",
},
"CBO.TOR_OCCUPANCY.NID_WB": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b01010000",
},
"CBO.TOR_OCCUPANCY.MISS_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00000011",
},
"CBO.TOR_OCCUPANCY.WB": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00010000",
},
"CBO.TOR_OCCUPANCY.MISS_ALL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00001010",
},
"CBO.TOR_OCCUPANCY.NID_ALL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b01001000",
},
"CBO.TOR_OCCUPANCY.LOCAL_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00100001",
},
"CBO.TOR_OCCUPANCY.MISS_LOCAL_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00100011",
},
"CBO.TOR_OCCUPANCY.NID_EVICTION": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b01000100",
},
"CBO.TOR_OCCUPANCY.MISS_REMOTE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b10001010",
},
"CBO.TOR_OCCUPANCY.MISS_REMOTE_OPCODE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b10000011",
},
"CBO.TOR_OCCUPANCY.REMOTE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b10001000",
},
"CBO.TOR_OCCUPANCY.LOCAL": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Counters": 0,
"Defn": "For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent. There are a number of subevent 'filters' but only a subset of the subevent combinations are valid. Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set. If, for example, one wanted to count DRD Local Misses, one should select \"MISS_OPC_MATCH\" and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)",
"Desc": "TOR Occupancy",
"EvSel": 54,
"ExtSel": "",
"MaxIncCyc": 20,
"SubCtr": 1,
"Umask": "b00101000",
},
"CBO.TxR_ADS_USED": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"EvSel": 4,
"ExtSel": "",
},
"CBO.TxR_ADS_USED.BL": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"CBO.TxR_ADS_USED.AK": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.TxR_ADS_USED.AD": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"EvSel": 4,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.TxR_INSERTS": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Cbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
},
"CBO.TxR_INSERTS.IV_CACHE": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Cbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"CBO.TxR_INSERTS.BL_CORE": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Cbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"CBO.TxR_INSERTS.BL_CACHE": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Cbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"CBO.TxR_INSERTS.AD_CORE": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Cbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"CBO.TxR_INSERTS.AD_CACHE": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Cbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"CBO.TxR_INSERTS.AK_CACHE": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Cbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"CBO.TxR_INSERTS.AK_CORE": {
"Box": "CBO",
"Category": "CBO EGRESS Events",
"Counters": "0-3",
"Defn": "Number of allocations into the Cbo Egress. The Egress is used to queue up requests destined for the ring.",
"Desc": "Egress Allocations",
"EvSel": 2,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
# R3QPI:
"R3QPI.CLOCKTICKS": {
"Box": "R3QPI",
"Category": "R3QPI UCLK Events",
"Counters": "0-2",
"Defn": "Counts the number of uclks in the QPI uclk domain. This could be slightly different than the count in the Ubox because of enable/freeze delays. However, because the QPI Agent is close to the Ubox, they generally should not diverge by more than a handful of cycles.",
"Desc": "Number of uclks in domain",
"EvSel": 1,
"ExtSel": "",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY.CBO11": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY.CBO10": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY.CBO_15_17": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY.CBO12": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY.CBO14_16": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY.CBO8": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY.CBO9": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.C_HI_AD_CREDITS_EMPTY.CBO13": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers higher CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 31,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY.CBO0": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY.CBO4": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY.CBO6": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY.CBO1": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY.CBO5": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY.CBO3": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY.CBO7": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"R3QPI.C_LO_AD_CREDITS_EMPTY.CBO2": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to Cbox on the AD Ring (covers lower CBoxes)",
"Desc": "CBox AD Credits Empty",
"EvSel": 34,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.HA_R2_BL_CREDITS_EMPTY": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to either HA or R2 on the BL Ring",
"Desc": "HA/R2 AD Credits Empty",
"EvSel": 45,
"ExtSel": "",
"Notes": "Counter 0 counts lack of credits to the lesser numbered Cboxes (0-8) Counter 1 counts lack of credits to Cbox to the higher numbered CBoxes (8-13,15+17,16+18)",
},
"R3QPI.HA_R2_BL_CREDITS_EMPTY.HA0": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to either HA or R2 on the BL Ring",
"Desc": "HA/R2 AD Credits Empty",
"EvSel": 45,
"ExtSel": "",
"Notes": "Counter 0 counts lack of credits to the lesser numbered Cboxes (0-8) Counter 1 counts lack of credits to Cbox to the higher numbered CBoxes (8-13,15+17,16+18)",
"Umask": "bxxxxxxx1",
},
"R3QPI.HA_R2_BL_CREDITS_EMPTY.HA1": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to either HA or R2 on the BL Ring",
"Desc": "HA/R2 AD Credits Empty",
"EvSel": 45,
"ExtSel": "",
"Notes": "Counter 0 counts lack of credits to the lesser numbered Cboxes (0-8) Counter 1 counts lack of credits to Cbox to the higher numbered CBoxes (8-13,15+17,16+18)",
"Umask": "bxxxxxx1x",
},
"R3QPI.HA_R2_BL_CREDITS_EMPTY.R2_NCS": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to either HA or R2 on the BL Ring",
"Desc": "HA/R2 AD Credits Empty",
"EvSel": 45,
"ExtSel": "",
"Notes": "Counter 0 counts lack of credits to the lesser numbered Cboxes (0-8) Counter 1 counts lack of credits to Cbox to the higher numbered CBoxes (8-13,15+17,16+18)",
"Umask": "bxxxx1xxx",
},
"R3QPI.HA_R2_BL_CREDITS_EMPTY.R2_NCB": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to either HA or R2 on the BL Ring",
"Desc": "HA/R2 AD Credits Empty",
"EvSel": 45,
"ExtSel": "",
"Notes": "Counter 0 counts lack of credits to the lesser numbered Cboxes (0-8) Counter 1 counts lack of credits to Cbox to the higher numbered CBoxes (8-13,15+17,16+18)",
"Umask": "bxxxxx1xx",
},
"R3QPI.QPI0_AD_CREDITS_EMPTY": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the AD Ring",
"Desc": "QPI0 AD Credits Empty",
"EvSel": 32,
"ExtSel": "",
},
"R3QPI.QPI0_AD_CREDITS_EMPTY.VN0_SNP": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the AD Ring",
"Desc": "QPI0 AD Credits Empty",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.QPI0_AD_CREDITS_EMPTY.VN0_NDR": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the AD Ring",
"Desc": "QPI0 AD Credits Empty",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.QPI0_AD_CREDITS_EMPTY.VN1_SNP": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the AD Ring",
"Desc": "QPI0 AD Credits Empty",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.QPI0_AD_CREDITS_EMPTY.VNA": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the AD Ring",
"Desc": "QPI0 AD Credits Empty",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.QPI0_AD_CREDITS_EMPTY.VN1_NDR": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the AD Ring",
"Desc": "QPI0 AD Credits Empty",
"EvSel": 32,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"R3QPI.QPI0_AD_CREDITS_EMPTY.VN0_HOM": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the AD Ring",
"Desc": "QPI0 AD Credits Empty",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.QPI0_AD_CREDITS_EMPTY.VN1_HOM": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the AD Ring",
"Desc": "QPI0 AD Credits Empty",
"EvSel": 32,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.QPI0_BL_CREDITS_EMPTY": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the BL Ring",
"Desc": "QPI0 BL Credits Empty",
"EvSel": 33,
"ExtSel": "",
},
"R3QPI.QPI0_BL_CREDITS_EMPTY.VN1_SNP": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the BL Ring",
"Desc": "QPI0 BL Credits Empty",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.QPI0_BL_CREDITS_EMPTY.VNA": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the BL Ring",
"Desc": "QPI0 BL Credits Empty",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.QPI0_BL_CREDITS_EMPTY.VN1_NDR": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the BL Ring",
"Desc": "QPI0 BL Credits Empty",
"EvSel": 33,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"R3QPI.QPI0_BL_CREDITS_EMPTY.VN1_HOM": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI0 on the BL Ring",
"Desc": "QPI0 BL Credits Empty",
"EvSel": 33,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.QPI1_AD_CREDITS_EMPTY": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the AD Ring",
"Desc": "QPI1 AD Credits Empty",
"EvSel": 46,
"ExtSel": "",
},
"R3QPI.QPI1_AD_CREDITS_EMPTY.VN1_HOM": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the AD Ring",
"Desc": "QPI1 AD Credits Empty",
"EvSel": 46,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.QPI1_AD_CREDITS_EMPTY.VN1_SNP": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the AD Ring",
"Desc": "QPI1 AD Credits Empty",
"EvSel": 46,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.QPI1_AD_CREDITS_EMPTY.VNA": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the AD Ring",
"Desc": "QPI1 AD Credits Empty",
"EvSel": 46,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.QPI1_AD_CREDITS_EMPTY.VN1_NDR": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the AD Ring",
"Desc": "QPI1 AD Credits Empty",
"EvSel": 46,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"R3QPI.QPI1_BL_CREDITS_EMPTY": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the BL Ring",
"Desc": "QPI1 BL Credits Empty",
"EvSel": 47,
"ExtSel": "",
},
"R3QPI.QPI1_BL_CREDITS_EMPTY.VN0_NDR": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the BL Ring",
"Desc": "QPI1 BL Credits Empty",
"EvSel": 47,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.QPI1_BL_CREDITS_EMPTY.VN1_SNP": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the BL Ring",
"Desc": "QPI1 BL Credits Empty",
"EvSel": 47,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.QPI1_BL_CREDITS_EMPTY.VN0_SNP": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the BL Ring",
"Desc": "QPI1 BL Credits Empty",
"EvSel": 47,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.QPI1_BL_CREDITS_EMPTY.VN1_NDR": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the BL Ring",
"Desc": "QPI1 BL Credits Empty",
"EvSel": 47,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"R3QPI.QPI1_BL_CREDITS_EMPTY.VNA": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the BL Ring",
"Desc": "QPI1 BL Credits Empty",
"EvSel": 47,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.QPI1_BL_CREDITS_EMPTY.VN0_HOM": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the BL Ring",
"Desc": "QPI1 BL Credits Empty",
"EvSel": 47,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.QPI1_BL_CREDITS_EMPTY.VN1_HOM": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Credit Events",
"Counters": "0-1",
"Defn": "No credits available to send to QPI1 on the BL Ring",
"Desc": "QPI1 BL Credits Empty",
"EvSel": 47,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.RING_AD_USED": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"R3QPI.RING_AD_USED.CW_ODD": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"R3QPI.RING_AD_USED.CW_EVEN": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"R3QPI.RING_AD_USED.CW": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"R3QPI.RING_AD_USED.CCW_EVEN": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"R3QPI.RING_AD_USED.CCW": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"R3QPI.RING_AD_USED.CCW_ODD": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"R3QPI.RING_AK_USED": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"R3QPI.RING_AK_USED.CCW_EVEN": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"R3QPI.RING_AK_USED.CW": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"R3QPI.RING_AK_USED.CW_EVEN": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"R3QPI.RING_AK_USED.CW_ODD": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"R3QPI.RING_AK_USED.CCW_ODD": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"R3QPI.RING_AK_USED.CCW": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"R3QPI.RING_BL_USED": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"R3QPI.RING_BL_USED.CCW": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"R3QPI.RING_BL_USED.CCW_ODD": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"R3QPI.RING_BL_USED.CCW_EVEN": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"R3QPI.RING_BL_USED.CW_ODD": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"R3QPI.RING_BL_USED.CW_EVEN": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"R3QPI.RING_BL_USED.CW": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R3 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"R3QPI.RING_IV_USED": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop.",
"Desc": "R3 IV Ring in Use",
"EvSel": 10,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the CW direction and one (half-)packet moving in the CCW direction.",
},
"R3QPI.RING_IV_USED.CW": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop.",
"Desc": "R3 IV Ring in Use",
"EvSel": 10,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the CW direction and one (half-)packet moving in the CCW direction.",
"Umask": "b00000011",
},
"R3QPI.RING_IV_USED.ANY": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop.",
"Desc": "R3 IV Ring in Use",
"EvSel": 10,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the CW direction and one (half-)packet moving in the CCW direction.",
"Umask": "b00001111",
},
"R3QPI.RING_IV_USED.CCW": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop.",
"Desc": "R3 IV Ring in Use",
"EvSel": 10,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the CW direction and one (half-)packet moving in the CCW direction.",
"Umask": "b11001100",
},
"R3QPI.RING_SINK_STARVED": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Number of cycles the ringstop is in starvation (per ring)",
"Desc": "Ring Stop Starved",
"EvSel": 14,
"ExtSel": "",
"MaxIncCyc": 2,
},
"R3QPI.RING_SINK_STARVED.AK": {
"Box": "R3QPI",
"Category": "R3QPI RING Events",
"Counters": "0-2",
"Defn": "Number of cycles the ringstop is in starvation (per ring)",
"Desc": "Ring Stop Starved",
"EvSel": 14,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxx1x",
},
"R3QPI.RxR_CYCLES_NE": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Cycles Not Empty",
"EvSel": 16,
"ExtSel": "",
},
"R3QPI.RxR_CYCLES_NE.SNP": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Cycles Not Empty",
"EvSel": 16,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.RxR_CYCLES_NE.HOM": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Cycles Not Empty",
"EvSel": 16,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.RxR_CYCLES_NE.NDR": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Cycles Not Empty",
"EvSel": 16,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.RxR_CYCLES_NE_VN1": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI VN1 Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Cycles Not Empty",
"EvSel": 20,
"ExtSel": "",
},
"R3QPI.RxR_CYCLES_NE_VN1.NCB": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI VN1 Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Cycles Not Empty",
"EvSel": 20,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.RxR_CYCLES_NE_VN1.DRS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI VN1 Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Cycles Not Empty",
"EvSel": 20,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.RxR_CYCLES_NE_VN1.SNP": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI VN1 Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Cycles Not Empty",
"EvSel": 20,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.RxR_CYCLES_NE_VN1.NCS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI VN1 Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Cycles Not Empty",
"EvSel": 20,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.RxR_CYCLES_NE_VN1.HOM": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI VN1 Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Cycles Not Empty",
"EvSel": 20,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.RxR_CYCLES_NE_VN1.NDR": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the QPI VN1 Ingress is not empty. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Cycles Not Empty",
"EvSel": 20,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.RxR_INSERTS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
},
"R3QPI.RxR_INSERTS.NCB": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.RxR_INSERTS.DRS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.RxR_INSERTS.SNP": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.RxR_INSERTS.HOM": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.RxR_INSERTS.NCS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.RxR_INSERTS.NDR": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.RxR_INSERTS_VN1": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI VN1 Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Allocations",
"EvSel": 21,
"ExtSel": "",
},
"R3QPI.RxR_INSERTS_VN1.NDR": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI VN1 Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Allocations",
"EvSel": 21,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.RxR_INSERTS_VN1.NCS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI VN1 Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Allocations",
"EvSel": 21,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.RxR_INSERTS_VN1.HOM": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI VN1 Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Allocations",
"EvSel": 21,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.RxR_INSERTS_VN1.SNP": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI VN1 Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Allocations",
"EvSel": 21,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.RxR_INSERTS_VN1.NCB": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI VN1 Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Allocations",
"EvSel": 21,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.RxR_INSERTS_VN1.DRS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the QPI VN1 Ingress. This tracks one of the three rings that are used by the QPI agent. This can be used in conjunction with the QPI VN1 Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "VN1 Ingress Allocations",
"EvSel": 21,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.RxR_OCCUPANCY_VN1": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given QPI VN1 Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the QPI VN1 Ingress Not Empty event to calculate average occupancy or the QPI VN1 Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "VN1 Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 32,
"Notes": "Supposed to be 0x16",
"SubCtr": 1,
},
"R3QPI.RxR_OCCUPANCY_VN1.NCB": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given QPI VN1 Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the QPI VN1 Ingress Not Empty event to calculate average occupancy or the QPI VN1 Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "VN1 Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 32,
"Notes": "Supposed to be 0x16",
"SubCtr": 1,
"Umask": "bxxx1xxxx",
},
"R3QPI.RxR_OCCUPANCY_VN1.DRS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given QPI VN1 Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the QPI VN1 Ingress Not Empty event to calculate average occupancy or the QPI VN1 Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "VN1 Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 32,
"Notes": "Supposed to be 0x16",
"SubCtr": 1,
"Umask": "bxxxx1xxx",
},
"R3QPI.RxR_OCCUPANCY_VN1.SNP": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given QPI VN1 Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the QPI VN1 Ingress Not Empty event to calculate average occupancy or the QPI VN1 Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "VN1 Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 32,
"Notes": "Supposed to be 0x16",
"SubCtr": 1,
"Umask": "bxxxxxx1x",
},
"R3QPI.RxR_OCCUPANCY_VN1.HOM": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given QPI VN1 Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the QPI VN1 Ingress Not Empty event to calculate average occupancy or the QPI VN1 Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "VN1 Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 32,
"Notes": "Supposed to be 0x16",
"SubCtr": 1,
"Umask": "bxxxxxxx1",
},
"R3QPI.RxR_OCCUPANCY_VN1.NCS": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given QPI VN1 Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the QPI VN1 Ingress Not Empty event to calculate average occupancy or the QPI VN1 Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "VN1 Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 32,
"Notes": "Supposed to be 0x16",
"SubCtr": 1,
"Umask": "bxx1xxxxx",
},
"R3QPI.RxR_OCCUPANCY_VN1.NDR": {
"Box": "R3QPI",
"Category": "R3QPI INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given QPI VN1 Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the QPI VN1 Ingress Not Empty event to calculate average occupancy or the QPI VN1 Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "VN1 Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 32,
"Notes": "Supposed to be 0x16",
"SubCtr": 1,
"Umask": "bxxxxx1xx",
},
"R3QPI.SBO0_CREDITS_ACQUIRED": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 40,
"ExtSel": "",
"MaxIncCyc": 2,
},
"R3QPI.SBO0_CREDITS_ACQUIRED.AD": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 40,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000001",
},
"R3QPI.SBO0_CREDITS_ACQUIRED.BL": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 40,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"R3QPI.SBO1_CREDITS_ACQUIRED": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 1 credits acquired in a given cycle, per ring.",
"Desc": "SBo1 Credits Acquired",
"EvSel": 41,
"ExtSel": "",
"MaxIncCyc": 2,
},
"R3QPI.SBO1_CREDITS_ACQUIRED.BL": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 1 credits acquired in a given cycle, per ring.",
"Desc": "SBo1 Credits Acquired",
"EvSel": 41,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"R3QPI.SBO1_CREDITS_ACQUIRED.AD": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 1 credits acquired in a given cycle, per ring.",
"Desc": "SBo1 Credits Acquired",
"EvSel": 41,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000001",
},
"R3QPI.STALL_NO_SBO_CREDIT": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
},
"R3QPI.STALL_NO_SBO_CREDIT.SBO0_BL": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000100",
},
"R3QPI.STALL_NO_SBO_CREDIT.SBO0_AD": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000001",
},
"R3QPI.STALL_NO_SBO_CREDIT.SBO1_AD": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00000010",
},
"R3QPI.STALL_NO_SBO_CREDIT.SBO1_BL": {
"Box": "R3QPI",
"Category": "R3QPI SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "b00001000",
},
"R3QPI.TxR_NACK": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
},
"R3QPI.TxR_NACK.UP_BL": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.TxR_NACK.DN_AK": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.TxR_NACK.DN_AD": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.TxR_NACK.UP_AK": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.TxR_NACK.DN_BL": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.TxR_NACK.UP_AD": {
"Box": "R3QPI",
"Category": "R3QPI EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.VN0_CREDITS_REJECT": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a DRS VN0 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN0 Credit Acquisition Failed on DRS",
"EvSel": 55,
"ExtSel": "",
},
"R3QPI.VN0_CREDITS_REJECT.NCS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a DRS VN0 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN0 Credit Acquisition Failed on DRS",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.VN0_CREDITS_REJECT.HOM": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a DRS VN0 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN0 Credit Acquisition Failed on DRS",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.VN0_CREDITS_REJECT.NDR": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a DRS VN0 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN0 Credit Acquisition Failed on DRS",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.VN0_CREDITS_REJECT.DRS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a DRS VN0 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN0 Credit Acquisition Failed on DRS",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.VN0_CREDITS_REJECT.NCB": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a DRS VN0 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN0 Credit Acquisition Failed on DRS",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.VN0_CREDITS_REJECT.SNP": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a DRS VN0 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN0 Credit Acquisition Failed on DRS",
"EvSel": 55,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.VN0_CREDITS_USED": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN0 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This counts the number of times a VN0 credit was used. Note that a single VN0 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN0 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN0 Credit Used",
"EvSel": 54,
"ExtSel": "",
},
"R3QPI.VN0_CREDITS_USED.NCS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN0 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This counts the number of times a VN0 credit was used. Note that a single VN0 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN0 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN0 Credit Used",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.VN0_CREDITS_USED.HOM": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN0 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This counts the number of times a VN0 credit was used. Note that a single VN0 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN0 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN0 Credit Used",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.VN0_CREDITS_USED.NDR": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN0 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This counts the number of times a VN0 credit was used. Note that a single VN0 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN0 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN0 Credit Used",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.VN0_CREDITS_USED.NCB": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN0 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This counts the number of times a VN0 credit was used. Note that a single VN0 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN0 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN0 Credit Used",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.VN0_CREDITS_USED.DRS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN0 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This counts the number of times a VN0 credit was used. Note that a single VN0 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN0 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN0 Credit Used",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.VN0_CREDITS_USED.SNP": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN0_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN0 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN0. VNA is a shared pool used to achieve high performance. The VN0 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail. This counts the number of times a VN0 credit was used. Note that a single VN0 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN0 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN0 Credit Used",
"EvSel": 54,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.VN1_CREDITS_REJECT": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a VN1 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN1 Credit Acquisition Failed on DRS",
"EvSel": 57,
"ExtSel": "",
},
"R3QPI.VN1_CREDITS_REJECT.NDR": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a VN1 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN1 Credit Acquisition Failed on DRS",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.VN1_CREDITS_REJECT.HOM": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a VN1 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN1 Credit Acquisition Failed on DRS",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.VN1_CREDITS_REJECT.NCS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a VN1 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN1 Credit Acquisition Failed on DRS",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.VN1_CREDITS_REJECT.SNP": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a VN1 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN1 Credit Acquisition Failed on DRS",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.VN1_CREDITS_REJECT.DRS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a VN1 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN1 Credit Acquisition Failed on DRS",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.VN1_CREDITS_REJECT.NCB": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a request failed to acquire a VN1 credit. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed. This should generally be a rare situation.",
"Desc": "VN1 Credit Acquisition Failed on DRS",
"EvSel": 57,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.VN1_CREDITS_USED": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN1 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This counts the number of times a VN1 credit was used. Note that a single VN1 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN1 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN1 Credit Used",
"EvSel": 56,
"ExtSel": "",
},
"R3QPI.VN1_CREDITS_USED.NCS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN1 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This counts the number of times a VN1 credit was used. Note that a single VN1 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN1 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN1 Credit Used",
"EvSel": 56,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R3QPI.VN1_CREDITS_USED.HOM": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN1 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This counts the number of times a VN1 credit was used. Note that a single VN1 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN1 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN1 Credit Used",
"EvSel": 56,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.VN1_CREDITS_USED.NDR": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN1 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This counts the number of times a VN1 credit was used. Note that a single VN1 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN1 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN1 Credit Used",
"EvSel": 56,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.VN1_CREDITS_USED.NCB": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN1 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This counts the number of times a VN1 credit was used. Note that a single VN1 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN1 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN1 Credit Used",
"EvSel": 56,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.VN1_CREDITS_USED.DRS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN1 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This counts the number of times a VN1 credit was used. Note that a single VN1 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN1 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN1 Credit Used",
"EvSel": 56,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.VN1_CREDITS_USED.SNP": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VN1_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of times a VN1 credit was used on the DRS message channel. In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into. There are two credit pools, VNA and VN1. VNA is a shared pool used to achieve high performance. The VN1 pool has reserved entries for each message class and is used to prevent deadlock. Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail. This counts the number of times a VN1 credit was used. Note that a single VN1 credit holds access to potentially multiple flit buffers. For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits. A transfer on VN1 will only count a single credit even though it may use multiple buffers.",
"Desc": "VN1 Credit Used",
"EvSel": 56,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.VNA_CREDITS_ACQUIRED": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of QPI VNA Credit acquisitions. This event can be used in conjunction with the VNA In-Use Accumulator to calculate the average lifetime of a credit holder. VNA credits are used by all message classes in order to communicate across QPI. If a packet is unable to acquire credits, it will then attempt to use credts from the VN0 pool. Note that a single packet may require multiple flit buffers (i.e. when data is being transfered). Therefore, this event will increment by the number of credits acquired in each cycle. Filtering based on message class is not provided. One can count the number of packets transfered in a given message class using an qfclk event.",
"Desc": "VNA credit Acquisitions",
"EvSel": 51,
"ExtSel": "",
"MaxIncCyc": 4,
},
"R3QPI.VNA_CREDITS_ACQUIRED.BL": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of QPI VNA Credit acquisitions. This event can be used in conjunction with the VNA In-Use Accumulator to calculate the average lifetime of a credit holder. VNA credits are used by all message classes in order to communicate across QPI. If a packet is unable to acquire credits, it will then attempt to use credts from the VN0 pool. Note that a single packet may require multiple flit buffers (i.e. when data is being transfered). Therefore, this event will increment by the number of credits acquired in each cycle. Filtering based on message class is not provided. One can count the number of packets transfered in a given message class using an qfclk event.",
"Desc": "VNA credit Acquisitions",
"EvSel": 51,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxxx1xx",
},
"R3QPI.VNA_CREDITS_ACQUIRED.AD": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of QPI VNA Credit acquisitions. This event can be used in conjunction with the VNA In-Use Accumulator to calculate the average lifetime of a credit holder. VNA credits are used by all message classes in order to communicate across QPI. If a packet is unable to acquire credits, it will then attempt to use credts from the VN0 pool. Note that a single packet may require multiple flit buffers (i.e. when data is being transfered). Therefore, this event will increment by the number of credits acquired in each cycle. Filtering based on message class is not provided. One can count the number of packets transfered in a given message class using an qfclk event.",
"Desc": "VNA credit Acquisitions",
"EvSel": 51,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxxxxx1",
},
"R3QPI.VNA_CREDITS_REJECT": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full). It is possible to filter this event by message class. Some packets use more than one flit buffer, and therefore must acquire multiple credits. Therefore, one could get a reject even if the VNA credits were not fully used up. The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress). VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially. This can happen if the rest of the uncore is unable to drain the requests fast enough.",
"Desc": "VNA Credit Reject",
"EvSel": 52,
"ExtSel": "",
},
"R3QPI.VNA_CREDITS_REJECT.SNP": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full). It is possible to filter this event by message class. Some packets use more than one flit buffer, and therefore must acquire multiple credits. Therefore, one could get a reject even if the VNA credits were not fully used up. The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress). VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially. This can happen if the rest of the uncore is unable to drain the requests fast enough.",
"Desc": "VNA Credit Reject",
"EvSel": 52,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R3QPI.VNA_CREDITS_REJECT.DRS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full). It is possible to filter this event by message class. Some packets use more than one flit buffer, and therefore must acquire multiple credits. Therefore, one could get a reject even if the VNA credits were not fully used up. The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress). VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially. This can happen if the rest of the uncore is unable to drain the requests fast enough.",
"Desc": "VNA Credit Reject",
"EvSel": 52,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"R3QPI.VNA_CREDITS_REJECT.NCB": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full). It is possible to filter this event by message class. Some packets use more than one flit buffer, and therefore must acquire multiple credits. Therefore, one could get a reject even if the VNA credits were not fully used up. The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress). VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially. This can happen if the rest of the uncore is unable to drain the requests fast enough.",
"Desc": "VNA Credit Reject",
"EvSel": 52,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R3QPI.VNA_CREDITS_REJECT.NDR": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full). It is possible to filter this event by message class. Some packets use more than one flit buffer, and therefore must acquire multiple credits. Therefore, one could get a reject even if the VNA credits were not fully used up. The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress). VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially. This can happen if the rest of the uncore is unable to drain the requests fast enough.",
"Desc": "VNA Credit Reject",
"EvSel": 52,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R3QPI.VNA_CREDITS_REJECT.HOM": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full). It is possible to filter this event by message class. Some packets use more than one flit buffer, and therefore must acquire multiple credits. Therefore, one could get a reject even if the VNA credits were not fully used up. The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress). VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially. This can happen if the rest of the uncore is unable to drain the requests fast enough.",
"Desc": "VNA Credit Reject",
"EvSel": 52,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R3QPI.VNA_CREDITS_REJECT.NCS": {
"Box": "R3QPI",
"Category": "R3QPI LINK_VNA_CREDITS Events",
"Counters": "0-1",
"Defn": "Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full). It is possible to filter this event by message class. Some packets use more than one flit buffer, and therefore must acquire multiple credits. Therefore, one could get a reject even if the VNA credits were not fully used up. The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress). VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially. This can happen if the rest of the uncore is unable to drain the requests fast enough.",
"Desc": "VNA Credit Reject",
"EvSel": 52,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
# QPI_LL:
"QPI_LL.CLOCKTICKS": {
"Box": "QPI_LL",
"Category": "QPI_LL CFCLK Events",
"Counters": "0-3",
"Defn": "Counts the number of clocks in the QPI LL. This clock runs at 1/4th the \"GT/s\" speed of the QPI link. For example, a 4GT/s link will have qfclk or 1GHz. HSX does not support dynamic link speeds, so this frequency is fixed.",
"Desc": "Number of qfclks",
"EvSel": 20,
"ExtSel": "",
},
"QPI_LL.CTO_COUNT": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Counters": "0-3",
"Defn": "Counts the number of CTO (cluster trigger outs) events that were asserted across the two slots. If both slots trigger in a given cycle, the event will increment by 2. You can use edge detect to count the number of cases when both events triggered.",
"Desc": "Count of CTO Events",
"EvSel": 56,
"Filter": "QPIMask0[17:0],QPIMatch0[17:0],QPIMask1[19:16],QPIMatch1[19:16]",
"ExtSel": "",
"MaxIncCyc": 2,
"SubCtr": 1,
},
"QPI_LL.DIRECT2CORE": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
},
"QPI_LL.DIRECT2CORE.FAILURE_CREDITS_RBT": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"QPI_LL.DIRECT2CORE.FAILURE_CREDITS_MISS": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"QPI_LL.DIRECT2CORE.FAILURE_RBT_MISS": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"QPI_LL.DIRECT2CORE.FAILURE_CREDITS_RBT_MISS": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"QPI_LL.DIRECT2CORE.FAILURE_CREDITS": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"QPI_LL.DIRECT2CORE.FAILURE_MISS": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"QPI_LL.DIRECT2CORE.SUCCESS_RBT_HIT": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"QPI_LL.DIRECT2CORE.FAILURE_RBT_HIT": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Counters": "0-3",
"Defn": "Counts the number of DRS packets that we attempted to do direct2core on. There are 4 mutually exlusive filters. Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases. Note that this does not count packets that are not candidates for Direct2Core. The only candidates for Direct2Core are DRS packets destined for Cbos.",
"Desc": "Direct 2 Core Spawning",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"QPI_LL.L1_POWER_CYCLES": {
"Box": "QPI_LL",
"Category": "QPI_LL POWER Events",
"Counters": "0-3",
"Defn": "Number of QPI qfclk cycles spent in L1 power mode. L1 is a mode that totally shuts down a QPI link. Use edge detect to count the number of instances when the QPI link entered L1. Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another. Because L1 totally shuts down the link, it takes a good amount of time to exit this mode.",
"Desc": "Cycles in L1",
"EvSel": 18,
"ExtSel": "",
},
"QPI_LL.RxL0P_POWER_CYCLES": {
"Box": "QPI_LL",
"Category": "QPI_LL POWER_RX Events",
"Counters": "0-3",
"Defn": "Number of QPI qfclk cycles spent in L0p power mode. L0p is a mode where we disable 1/2 of the QPI lanes, decreasing our bandwidth in order to save power. It increases snoop and data transfer latencies and decreases overall bandwidth. This mode can be very useful in NUMA optimized workloads that largely only utilize QPI for snoops and their responses. Use edge detect to count the number of instances when the QPI link entered L0p. Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another.",
"Desc": "Cycles in L0p",
"EvSel": 16,
"ExtSel": "",
"Notes": "Using .edge_det to count transitions does not function if L1_POWER_CYCLES > 0.",
},
"QPI_LL.RxL0_POWER_CYCLES": {
"Box": "QPI_LL",
"Category": "QPI_LL POWER_RX Events",
"Counters": "0-3",
"Defn": "Number of QPI qfclk cycles spent in L0 power mode in the Link Layer. L0 is the default mode which provides the highest performance with the most power. Use edge detect to count the number of instances that the link entered L0. Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another. The phy layer sometimes leaves L0 for training, which will not be captured by this event.",
"Desc": "Cycles in L0",
"EvSel": 15,
"ExtSel": "",
"Notes": "Includes L0p cycles. To get just L0, subtract RxL0P_POWER_CYCLES",
},
"QPI_LL.RxL_BYPASSED": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an incoming flit was able to bypass the flit buffer and pass directly across the BGF and into the Egress. This is a latency optimization, and should generally be the common case. If this value is less than the number of flits transfered, it implies that there was queueing getting onto the ring, and thus the transactions saw higher latency.",
"Desc": "Rx Flit Buffer Bypassed",
"EvSel": 9,
"ExtSel": "",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN0 Credit Consumed",
"EvSel": 30,
"ExtSel": "",
"MaxIncCyc": 2,
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN0.DRS": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN0 Credit Consumed",
"EvSel": 30,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN0.NCB": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN0 Credit Consumed",
"EvSel": 30,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN0.SNP": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN0 Credit Consumed",
"EvSel": 30,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxx1xxxx",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN0.HOM": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN0 Credit Consumed",
"EvSel": 30,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxx1xxx",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN0.NCS": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN0 Credit Consumed",
"EvSel": 30,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxx1xx",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN0.NDR": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN0 Credit Consumed",
"EvSel": 30,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxx1xxxxx",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN1 Credit Consumed",
"EvSel": 57,
"ExtSel": "",
"MaxIncCyc": 2,
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN1.HOM": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN1 Credit Consumed",
"EvSel": 57,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxx1xxx",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN1.NCS": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN1 Credit Consumed",
"EvSel": 57,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxx1xx",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN1.NDR": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN1 Credit Consumed",
"EvSel": 57,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxx1xxxxx",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN1.DRS": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN1 Credit Consumed",
"EvSel": 57,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN1.NCB": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN1 Credit Consumed",
"EvSel": 57,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VN1.SNP": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VN1 Credit Consumed",
"EvSel": 57,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxx1xxxx",
},
"QPI_LL.RxL_CREDITS_CONSUMED_VNA": {
"Box": "QPI_LL",
"Category": "QPI_LL RX_CREDITS_CONSUMED Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an RxQ VNA credit was consumed (i.e. message uses a VNA credit for the Rx Buffer). This includes packets that went through the RxQ and those that were bypasssed.",
"Desc": "VNA Credit Consumed",
"EvSel": 29,
"ExtSel": "",
},
"QPI_LL.RxL_CYCLES_NE": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the QPI RxQ was not empty. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.",
"Desc": "RxQ Cycles Not Empty",
"EvSel": 10,
"ExtSel": "",
},
"QPI_LL.RxL_FLITS_G1": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 1",
"EvSel": 2,
"ExtSel": "",
"MaxIncCyc": 2,
},
"QPI_LL.RxL_FLITS_G1.HOM": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 1",
"EvSel": 2,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000110",
},
"QPI_LL.RxL_FLITS_G1.DRS_DATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 1",
"EvSel": 2,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00001000",
},
"QPI_LL.RxL_FLITS_G1.DRS": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 1",
"EvSel": 2,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00011000",
},
"QPI_LL.RxL_FLITS_G1.HOM_NONREQ": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 1",
"EvSel": 2,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000100",
},
"QPI_LL.RxL_FLITS_G1.HOM_REQ": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 1",
"EvSel": 2,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"QPI_LL.RxL_FLITS_G1.SNP": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 1",
"EvSel": 2,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000001",
},
"QPI_LL.RxL_FLITS_G1.DRS_NONDATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 1",
"EvSel": 2,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00010000",
},
"QPI_LL.RxL_FLITS_G2": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 2",
"EvSel": 3,
"ExtSel": "",
"MaxIncCyc": 2,
},
"QPI_LL.RxL_FLITS_G2.NCB_NONDATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 2",
"EvSel": 3,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00001000",
},
"QPI_LL.RxL_FLITS_G2.NCB_DATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 2",
"EvSel": 3,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000100",
},
"QPI_LL.RxL_FLITS_G2.NCS": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 2",
"EvSel": 3,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00010000",
},
"QPI_LL.RxL_FLITS_G2.NDR_AK": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 2",
"EvSel": 3,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"QPI_LL.RxL_FLITS_G2.NDR_AD": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 2",
"EvSel": 3,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000001",
},
"QPI_LL.RxL_FLITS_G2.NCB": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits received from the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Received - Group 2",
"EvSel": 3,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00001100",
},
"QPI_LL.RxL_INSERTS": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.",
"Desc": "Rx Flit Buffer Allocations",
"EvSel": 8,
"ExtSel": "",
},
"QPI_LL.RxL_INSERTS_DRS": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only DRS flits.",
"Desc": "Rx Flit Buffer Allocations - DRS",
"EvSel": 9,
"ExtSel": "",
},
"QPI_LL.RxL_INSERTS_DRS.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only DRS flits.",
"Desc": "Rx Flit Buffer Allocations - DRS",
"EvSel": 9,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_INSERTS_DRS.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only DRS flits.",
"Desc": "Rx Flit Buffer Allocations - DRS",
"EvSel": 9,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_INSERTS_HOM": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only HOM flits.",
"Desc": "Rx Flit Buffer Allocations - HOM",
"EvSel": 12,
"ExtSel": "",
},
"QPI_LL.RxL_INSERTS_HOM.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only HOM flits.",
"Desc": "Rx Flit Buffer Allocations - HOM",
"EvSel": 12,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_INSERTS_HOM.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only HOM flits.",
"Desc": "Rx Flit Buffer Allocations - HOM",
"EvSel": 12,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_INSERTS_NCB": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NCB flits.",
"Desc": "Rx Flit Buffer Allocations - NCB",
"EvSel": 10,
"ExtSel": "",
},
"QPI_LL.RxL_INSERTS_NCB.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NCB flits.",
"Desc": "Rx Flit Buffer Allocations - NCB",
"EvSel": 10,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_INSERTS_NCB.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NCB flits.",
"Desc": "Rx Flit Buffer Allocations - NCB",
"EvSel": 10,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_INSERTS_NCS": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NCS flits.",
"Desc": "Rx Flit Buffer Allocations - NCS",
"EvSel": 11,
"ExtSel": "",
},
"QPI_LL.RxL_INSERTS_NCS.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NCS flits.",
"Desc": "Rx Flit Buffer Allocations - NCS",
"EvSel": 11,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_INSERTS_NCS.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NCS flits.",
"Desc": "Rx Flit Buffer Allocations - NCS",
"EvSel": 11,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_INSERTS_NDR": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NDR flits.",
"Desc": "Rx Flit Buffer Allocations - NDR",
"EvSel": 14,
"ExtSel": "",
},
"QPI_LL.RxL_INSERTS_NDR.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NDR flits.",
"Desc": "Rx Flit Buffer Allocations - NDR",
"EvSel": 14,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_INSERTS_NDR.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only NDR flits.",
"Desc": "Rx Flit Buffer Allocations - NDR",
"EvSel": 14,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_INSERTS_SNP": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only SNP flits.",
"Desc": "Rx Flit Buffer Allocations - SNP",
"EvSel": 13,
"ExtSel": "",
},
"QPI_LL.RxL_INSERTS_SNP.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only SNP flits.",
"Desc": "Rx Flit Buffer Allocations - SNP",
"EvSel": 13,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_INSERTS_SNP.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Rx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime. This monitors only SNP flits.",
"Desc": "Rx Flit Buffer Allocations - SNP",
"EvSel": 13,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.",
"Desc": "RxQ Occupancy - All Packets",
"EvSel": 11,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"QPI_LL.RxL_OCCUPANCY_DRS": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors DRS flits only.",
"Desc": "RxQ Occupancy - DRS",
"EvSel": 21,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"QPI_LL.RxL_OCCUPANCY_DRS.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors DRS flits only.",
"Desc": "RxQ Occupancy - DRS",
"EvSel": 21,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_OCCUPANCY_DRS.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors DRS flits only.",
"Desc": "RxQ Occupancy - DRS",
"EvSel": 21,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_OCCUPANCY_HOM": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors HOM flits only.",
"Desc": "RxQ Occupancy - HOM",
"EvSel": 24,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"QPI_LL.RxL_OCCUPANCY_HOM.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors HOM flits only.",
"Desc": "RxQ Occupancy - HOM",
"EvSel": 24,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_OCCUPANCY_HOM.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors HOM flits only.",
"Desc": "RxQ Occupancy - HOM",
"EvSel": 24,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_OCCUPANCY_NCB": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NCB flits only.",
"Desc": "RxQ Occupancy - NCB",
"EvSel": 22,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"QPI_LL.RxL_OCCUPANCY_NCB.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NCB flits only.",
"Desc": "RxQ Occupancy - NCB",
"EvSel": 22,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_OCCUPANCY_NCB.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NCB flits only.",
"Desc": "RxQ Occupancy - NCB",
"EvSel": 22,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_OCCUPANCY_NCS": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NCS flits only.",
"Desc": "RxQ Occupancy - NCS",
"EvSel": 23,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"QPI_LL.RxL_OCCUPANCY_NCS.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NCS flits only.",
"Desc": "RxQ Occupancy - NCS",
"EvSel": 23,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_OCCUPANCY_NCS.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NCS flits only.",
"Desc": "RxQ Occupancy - NCS",
"EvSel": 23,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_OCCUPANCY_NDR": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NDR flits only.",
"Desc": "RxQ Occupancy - NDR",
"EvSel": 26,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"QPI_LL.RxL_OCCUPANCY_NDR.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NDR flits only.",
"Desc": "RxQ Occupancy - NDR",
"EvSel": 26,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxxx1",
},
"QPI_LL.RxL_OCCUPANCY_NDR.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors NDR flits only.",
"Desc": "RxQ Occupancy - NDR",
"EvSel": 26,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_OCCUPANCY_SNP": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors SNP flits only.",
"Desc": "RxQ Occupancy - SNP",
"EvSel": 25,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"QPI_LL.RxL_OCCUPANCY_SNP.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors SNP flits only.",
"Desc": "RxQ Occupancy - SNP",
"EvSel": 25,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxx1x",
},
"QPI_LL.RxL_OCCUPANCY_SNP.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL RXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of elements in the QPI RxQ in each cycle. Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface. If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency. This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime. This monitors SNP flits only.",
"Desc": "RxQ Occupancy - SNP",
"EvSel": 25,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "bxxxxxxx1",
},
"QPI_LL.TxL0P_POWER_CYCLES": {
"Box": "QPI_LL",
"Category": "QPI_LL POWER_TX Events",
"Counters": "0-3",
"Defn": "Number of QPI qfclk cycles spent in L0p power mode. L0p is a mode where we disable 1/2 of the QPI lanes, decreasing our bandwidth in order to save power. It increases snoop and data transfer latencies and decreases overall bandwidth. This mode can be very useful in NUMA optimized workloads that largely only utilize QPI for snoops and their responses. Use edge detect to count the number of instances when the QPI link entered L0p. Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another.",
"Desc": "Cycles in L0p",
"EvSel": 13,
"ExtSel": "",
"Notes": "Using .edge_det to count transitions does not function if L1_POWER_CYCLES > 0.",
},
"QPI_LL.TxL0_POWER_CYCLES": {
"Box": "QPI_LL",
"Category": "QPI_LL POWER_TX Events",
"Counters": "0-3",
"Defn": "Number of QPI qfclk cycles spent in L0 power mode in the Link Layer. L0 is the default mode which provides the highest performance with the most power. Use edge detect to count the number of instances that the link entered L0. Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another. The phy layer sometimes leaves L0 for training, which will not be captured by this event.",
"Desc": "Cycles in L0",
"EvSel": 12,
"ExtSel": "",
"Notes": "Includes L0p cycles. To get just L0, subtract TxL0P_POWER_CYCLES",
},
"QPI_LL.TxL_BYPASSED": {
"Box": "QPI_LL",
"Category": "QPI_LL TXQ Events",
"Counters": "0-3",
"Defn": "Counts the number of times that an incoming flit was able to bypass the Tx flit buffer and pass directly out the QPI Link. Generally, when data is transmitted across QPI, it will bypass the TxQ and pass directly to the link. However, the TxQ will be used with L0p and when LLR occurs, increasing latency to transfer out to the link.",
"Desc": "Tx Flit Buffer Bypassed",
"EvSel": 5,
"ExtSel": "",
},
"QPI_LL.TxL_CYCLES_NE": {
"Box": "QPI_LL",
"Category": "QPI_LL TXQ Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the TxQ is not empty. Generally, when data is transmitted across QPI, it will bypass the TxQ and pass directly to the link. However, the TxQ will be used with L0p and when LLR occurs, increasing latency to transfer out to the link.",
"Desc": "Tx Flit Buffer Cycles not Empty",
"EvSel": 6,
"ExtSel": "",
},
"QPI_LL.TxL_FLITS_G0": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. It includes filters for Idle, protocol, and Data Flits. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time (for L0) or 4B instead of 8B for L0p.",
"Desc": "Flits Transferred - Group 0",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
},
"QPI_LL.TxL_FLITS_G0.DATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. It includes filters for Idle, protocol, and Data Flits. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time (for L0) or 4B instead of 8B for L0p.",
"Desc": "Flits Transferred - Group 0",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"QPI_LL.TxL_FLITS_G0.NON_DATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. It includes filters for Idle, protocol, and Data Flits. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time (for L0) or 4B instead of 8B for L0p.",
"Desc": "Flits Transferred - Group 0",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000100",
},
"QPI_LL.TxL_FLITS_G1": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 1",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
},
"QPI_LL.TxL_FLITS_G1.HOM": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 1",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000110",
},
"QPI_LL.TxL_FLITS_G1.DRS_DATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 1",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00001000",
},
"QPI_LL.TxL_FLITS_G1.HOM_NONREQ": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 1",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000100",
},
"QPI_LL.TxL_FLITS_G1.DRS": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 1",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00011000",
},
"QPI_LL.TxL_FLITS_G1.HOM_REQ": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 1",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"QPI_LL.TxL_FLITS_G1.SNP": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 1",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000001",
},
"QPI_LL.TxL_FLITS_G1.DRS_NONDATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for SNP, HOM, and DRS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 1",
"EvSel": 0,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00010000",
},
"QPI_LL.TxL_FLITS_G2": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 2",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 2,
},
"QPI_LL.TxL_FLITS_G2.NDR_AD": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 2",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000001",
},
"QPI_LL.TxL_FLITS_G2.NDR_AK": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 2",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000010",
},
"QPI_LL.TxL_FLITS_G2.NCB": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 2",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00001100",
},
"QPI_LL.TxL_FLITS_G2.NCB_NONDATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 2",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00001000",
},
"QPI_LL.TxL_FLITS_G2.NCB_DATA": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 2",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00000100",
},
"QPI_LL.TxL_FLITS_G2.NCS": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Counters": "0-3",
"Defn": "Counts the number of flits transmitted across the QPI Link. This is one of three \"groups\" that allow us to track flits. It includes filters for NDR, NCB, and NCS message classes. Each \"flit\" is made up of 80 bits of information (in addition to some ECC data). In full-width (L0) mode, flits are made up of four \"fits\", each of which contains 20 bits of data (along with some additional ECC data). In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit. When one talks about QPI \"speed\" (for example, 8.0 GT/s), the \"transfers\" here refer to \"fits\". Therefore, in L0, the system will transfer 1 \"flit\" at the rate of 1/4th the QPI speed. One can calculate the bandwidth of the link by taking: flits*80b/time. Note that this is not the same as \"data\" bandwidth. For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \"data\" and an additional 16 bits of other information. To calculate \"data\" bandwidth, one should therefore do: data flits * 8B / time.",
"Desc": "Flits Transferred - Group 2",
"EvSel": 1,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "b00010000",
},
"QPI_LL.TxL_INSERTS": {
"Box": "QPI_LL",
"Category": "QPI_LL TXQ Events",
"Counters": "0-3",
"Defn": "Number of allocations into the QPI Tx Flit Buffer. Generally, when data is transmitted across QPI, it will bypass the TxQ and pass directly to the link. However, the TxQ will be used with L0p and when LLR occurs, increasing latency to transfer out to the link. This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.",
"Desc": "Tx Flit Buffer Allocations",
"EvSel": 4,
"ExtSel": "",
},
"QPI_LL.TxL_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL TXQ Events",
"Counters": "0-3",
"Defn": "Accumulates the number of flits in the TxQ. Generally, when data is transmitted across QPI, it will bypass the TxQ and pass directly to the link. However, the TxQ will be used with L0p and when LLR occurs, increasing latency to transfer out to the link. This can be used with the cycles not empty event to track average occupancy, or the allocations event to track average lifetime in the TxQ.",
"Desc": "Tx Flit Buffer Occupancy",
"EvSel": 7,
"ExtSel": "",
},
"QPI_LL.TxR_AD_HOM_CREDIT_ACQUIRED": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for Home messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - HOM",
"EvSel": 38,
"ExtSel": "",
},
"QPI_LL.TxR_AD_HOM_CREDIT_ACQUIRED.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for Home messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - HOM",
"EvSel": 38,
"ExtSel": "",
"Umask": "b00000001",
},
"QPI_LL.TxR_AD_HOM_CREDIT_ACQUIRED.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for Home messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - HOM",
"EvSel": 38,
"ExtSel": "",
"Umask": "b00000010",
},
"QPI_LL.TxR_AD_HOM_CREDIT_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO for HOM messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD HOM",
"EvSel": 34,
"ExtSel": "",
"MaxIncCyc": 28,
"SubCtr": 1,
},
"QPI_LL.TxR_AD_HOM_CREDIT_OCCUPANCY.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO for HOM messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD HOM",
"EvSel": 34,
"ExtSel": "",
"MaxIncCyc": 28,
"SubCtr": 1,
"Umask": "b00000010",
},
"QPI_LL.TxR_AD_HOM_CREDIT_OCCUPANCY.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO for HOM messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD HOM",
"EvSel": 34,
"ExtSel": "",
"MaxIncCyc": 28,
"SubCtr": 1,
"Umask": "b00000001",
},
"QPI_LL.TxR_AD_NDR_CREDIT_ACQUIRED": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for NDR messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD NDR",
"EvSel": 40,
"ExtSel": "",
},
"QPI_LL.TxR_AD_NDR_CREDIT_ACQUIRED.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for NDR messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD NDR",
"EvSel": 40,
"ExtSel": "",
"Umask": "b00000001",
},
"QPI_LL.TxR_AD_NDR_CREDIT_ACQUIRED.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for NDR messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD NDR",
"EvSel": 40,
"ExtSel": "",
"Umask": "b00000010",
},
"QPI_LL.TxR_AD_NDR_CREDIT_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO for NDR messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD NDR",
"EvSel": 36,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
},
"QPI_LL.TxR_AD_NDR_CREDIT_OCCUPANCY.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO for NDR messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD NDR",
"EvSel": 36,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
"Umask": "b00000001",
},
"QPI_LL.TxR_AD_NDR_CREDIT_OCCUPANCY.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO for NDR messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD NDR",
"EvSel": 36,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
"Umask": "b00000010",
},
"QPI_LL.TxR_AD_SNP_CREDIT_ACQUIRED": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for Snoop messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - SNP",
"EvSel": 39,
"ExtSel": "",
},
"QPI_LL.TxR_AD_SNP_CREDIT_ACQUIRED.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for Snoop messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - SNP",
"EvSel": 39,
"ExtSel": "",
"Umask": "b00000010",
},
"QPI_LL.TxR_AD_SNP_CREDIT_ACQUIRED.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for Snoop messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - SNP",
"EvSel": 39,
"ExtSel": "",
"Umask": "b00000001",
},
"QPI_LL.TxR_AD_SNP_CREDIT_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO fro Snoop messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD SNP",
"EvSel": 35,
"ExtSel": "",
"MaxIncCyc": 28,
"SubCtr": 1,
},
"QPI_LL.TxR_AD_SNP_CREDIT_OCCUPANCY.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO fro Snoop messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD SNP",
"EvSel": 35,
"ExtSel": "",
"MaxIncCyc": 28,
"SubCtr": 1,
"Umask": "b00000010",
},
"QPI_LL.TxR_AD_SNP_CREDIT_OCCUPANCY.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO fro Snoop messages on AD.",
"Desc": "R3QPI Egress Credit Occupancy - AD SNP",
"EvSel": 35,
"ExtSel": "",
"MaxIncCyc": 28,
"SubCtr": 1,
"Umask": "b00000001",
},
"QPI_LL.TxR_AK_NDR_CREDIT_ACQUIRED": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. Local NDR message class to AK Egress.",
"Desc": "R3QPI Egress Credit Occupancy - AK NDR",
"EvSel": 41,
"ExtSel": "",
},
"QPI_LL.TxR_AK_NDR_CREDIT_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. Local NDR message class to AK Egress.",
"Desc": "R3QPI Egress Credit Occupancy - AK NDR",
"EvSel": 37,
"ExtSel": "",
"MaxIncCyc": 6,
"SubCtr": 1,
},
"QPI_LL.TxR_BL_DRS_CREDIT_ACQUIRED": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. DRS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - DRS",
"EvSel": 42,
"ExtSel": "",
},
"QPI_LL.TxR_BL_DRS_CREDIT_ACQUIRED.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. DRS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - DRS",
"EvSel": 42,
"ExtSel": "",
"Umask": "b00000010",
},
"QPI_LL.TxR_BL_DRS_CREDIT_ACQUIRED.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. DRS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - DRS",
"EvSel": 42,
"ExtSel": "",
"Umask": "b00000001",
},
"QPI_LL.TxR_BL_DRS_CREDIT_ACQUIRED.VN_SHR": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. DRS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - DRS",
"EvSel": 42,
"ExtSel": "",
"Umask": "b00000100",
},
"QPI_LL.TxR_BL_DRS_CREDIT_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. DRS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL DRS",
"EvSel": 31,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
},
"QPI_LL.TxR_BL_DRS_CREDIT_OCCUPANCY.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. DRS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL DRS",
"EvSel": 31,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
"Umask": "b00000010",
},
"QPI_LL.TxR_BL_DRS_CREDIT_OCCUPANCY.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. DRS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL DRS",
"EvSel": 31,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
"Umask": "b00000001",
},
"QPI_LL.TxR_BL_DRS_CREDIT_OCCUPANCY.VN_SHR": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. DRS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL DRS",
"EvSel": 31,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
"Umask": "b00000100",
},
"QPI_LL.TxR_BL_NCB_CREDIT_ACQUIRED": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCB message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - NCB",
"EvSel": 43,
"ExtSel": "",
},
"QPI_LL.TxR_BL_NCB_CREDIT_ACQUIRED.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCB message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - NCB",
"EvSel": 43,
"ExtSel": "",
"Umask": "b00000001",
},
"QPI_LL.TxR_BL_NCB_CREDIT_ACQUIRED.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCB message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - NCB",
"EvSel": 43,
"ExtSel": "",
"Umask": "b00000010",
},
"QPI_LL.TxR_BL_NCB_CREDIT_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. NCB message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL NCB",
"EvSel": 32,
"ExtSel": "",
"MaxIncCyc": 2,
"SubCtr": 1,
},
"QPI_LL.TxR_BL_NCB_CREDIT_OCCUPANCY.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. NCB message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL NCB",
"EvSel": 32,
"ExtSel": "",
"MaxIncCyc": 2,
"SubCtr": 1,
"Umask": "b00000001",
},
"QPI_LL.TxR_BL_NCB_CREDIT_OCCUPANCY.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. NCB message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL NCB",
"EvSel": 32,
"ExtSel": "",
"MaxIncCyc": 2,
"SubCtr": 1,
"Umask": "b00000010",
},
"QPI_LL.TxR_BL_NCS_CREDIT_ACQUIRED": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - NCS",
"EvSel": 44,
"ExtSel": "",
},
"QPI_LL.TxR_BL_NCS_CREDIT_ACQUIRED.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - NCS",
"EvSel": 44,
"ExtSel": "",
"Umask": "b00000010",
},
"QPI_LL.TxR_BL_NCS_CREDIT_ACQUIRED.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - NCS",
"EvSel": 44,
"ExtSel": "",
"Umask": "b00000001",
},
"QPI_LL.TxR_BL_NCS_CREDIT_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. NCS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL NCS",
"EvSel": 33,
"ExtSel": "",
"MaxIncCyc": 2,
"SubCtr": 1,
},
"QPI_LL.TxR_BL_NCS_CREDIT_OCCUPANCY.VN0": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. NCS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL NCS",
"EvSel": 33,
"ExtSel": "",
"MaxIncCyc": 2,
"SubCtr": 1,
"Umask": "b00000001",
},
"QPI_LL.TxR_BL_NCS_CREDIT_OCCUPANCY.VN1": {
"Box": "QPI_LL",
"Category": "QPI_LL R3QPI_EGRESS_CREDITS Events",
"Counters": "0-3",
"Defn": "Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle. NCS message class to BL Egress.",
"Desc": "R3QPI Egress Credit Occupancy - BL NCS",
"EvSel": 33,
"ExtSel": "",
"MaxIncCyc": 2,
"SubCtr": 1,
"Umask": "b00000010",
},
"QPI_LL.VNA_CREDIT_RETURNS": {
"Box": "QPI_LL",
"Category": "QPI_LL VNA_CREDIT_RETURN Events",
"Counters": "0-3",
"Defn": "Number of VNA credits returned.",
"Desc": "VNA Credits Returned",
"EvSel": 28,
"ExtSel": "",
},
"QPI_LL.VNA_CREDIT_RETURN_OCCUPANCY": {
"Box": "QPI_LL",
"Category": "QPI_LL VNA_CREDIT_RETURN Events",
"Counters": "0-3",
"Defn": "Number of VNA credits in the Rx side that are waitng to be returned back across the link.",
"Desc": "VNA Credits Pending Return - Occupancy",
"EvSel": 27,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
# PCU:
"PCU.CLOCKTICKS": {
"Box": "PCU",
"Category": "PCU PCLK Events",
"Counters": "0-3",
"Defn": "The PCU runs off a fixed 800 MHz clock. This event counts the number of pclk cycles measured while the counter was enabled. The pclk, like the Memory Controller's dclk, counts at a constant rate making it a good measure of actual wall time.",
"Desc": "pclk Cycles",
"EvSel": 0,
"ExtSel": "",
},
"PCU.CORE0_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 96,
"ExtSel": "",
"Notes": "This only tracks the hardware portion in the RCFSM (CFCFSM). This portion is just doing the core C state transition. It does not include any necessary frequency/voltage transitions.",
},
"PCU.CORE10_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 106,
"ExtSel": "",
},
"PCU.CORE11_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 107,
"ExtSel": "",
},
"PCU.CORE12_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 108,
"ExtSel": "",
},
"PCU.CORE13_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 109,
"ExtSel": "",
},
"PCU.CORE14_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 110,
"ExtSel": "",
},
"PCU.CORE15_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 111,
"ExtSel": "",
},
"PCU.CORE16_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 112,
"ExtSel": "",
},
"PCU.CORE17_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 113,
"ExtSel": "",
},
"PCU.CORE1_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 97,
"ExtSel": "",
},
"PCU.CORE2_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 98,
"ExtSel": "",
},
"PCU.CORE3_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 99,
"ExtSel": "",
},
"PCU.CORE4_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 100,
"ExtSel": "",
},
"PCU.CORE5_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 101,
"ExtSel": "",
},
"PCU.CORE6_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 102,
"ExtSel": "",
},
"PCU.CORE7_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 103,
"ExtSel": "",
},
"PCU.CORE8_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 104,
"ExtSel": "",
"Notes": "This only tracks the hardware portion in the RCFSM (CFCFSM). This portion is just doing the core C state transition. It does not include any necessary frequency/voltage transitions.",
},
"PCU.CORE9_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions. There is one event per core.",
"Desc": "Core C State Transition Cycles",
"EvSel": 105,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE0": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 48,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE1": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 49,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE10": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 58,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE11": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 59,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE12": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 60,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE13": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 61,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE14": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 62,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE15": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 63,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE16": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 64,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE17": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 65,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE2": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 50,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE3": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 51,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE4": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 52,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE5": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 53,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE6": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 54,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE7": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 55,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE8": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 56,
"ExtSel": "",
},
"PCU.DEMOTIONS_CORE9": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a configurable cores had a C-state demotion",
"Desc": "Core C State Demotions",
"EvSel": 57,
"ExtSel": "",
},
"PCU.FREQ_BAND0_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.",
"Desc": "Frequency Residency",
"EvSel": 11,
"Filter": "PCUFilter[7:0]",
"ExtSel": "",
"Notes": "The PMON control registers in the PCU only update on a frequency transition. Changing the measuring threshold during a sample interval may introduce errors in the counts. This is especially true when running at a constant frequency for an extended period of time. There is a corner case here: we set this code on the GV transition. So, if we never GV we will never call this code. This event does not include transition times. It is handled on fast path.",
},
"PCU.FREQ_BAND1_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.",
"Desc": "Frequency Residency",
"EvSel": 12,
"Filter": "PCUFilter[15:8]",
"ExtSel": "",
"Notes": "The PMON control registers in the PCU only update on a frequency transition. Changing the measuring threshold during a sample interval may introduce errors in the counts. This is especially true when running at a constant frequency for an extended period of time. There is a corner case here: we set this code on the GV transition. So, if we never GV we will never call this code. This event does not include transition times. It is handled on fast path.",
},
"PCU.FREQ_BAND2_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.",
"Desc": "Frequency Residency",
"EvSel": 13,
"Filter": "PCUFilter[23:16]",
"ExtSel": "",
"Notes": "The PMON control registers in the PCU only update on a frequency transition. Changing the measuring threshold during a sample interval may introduce errors in the counts. This is especially true when running at a constant frequency for an extended period of time. There is a corner case here: we set this code on the GV transition. So, if we never GV we will never call this code. This event does not include transition times. It is handled on fast path.",
},
"PCU.FREQ_BAND3_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.",
"Desc": "Frequency Residency",
"EvSel": 14,
"Filter": "PCUFilter[31:24]",
"ExtSel": "",
"Notes": "The PMON control registers in the PCU only update on a frequency transition. Changing the measuring threshold during a sample interval may introduce errors in the counts. This is especially true when running at a constant frequency for an extended period of time. There is a corner case here: we set this code on the GV transition. So, if we never GV we will never call this code. This event does not include transition times. It is handled on fast path.",
},
"PCU.FREQ_MAX_LIMIT_THERMAL_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_MAX_LIMIT Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when thermal conditions are the upper limit on frequency. This is related to the THERMAL_THROTTLE CYCLES_ABOVE_TEMP event, which always counts cycles when we are above the thermal temperature. This event (STRONGEST_UPPER_LIMIT) is sampled at the output of the algorithm that determines the actual frequency, while THERMAL_THROTTLE looks at the input.",
"Desc": "Thermal Strongest Upper Limit Cycles",
"EvSel": 4,
"ExtSel": "",
},
"PCU.FREQ_MAX_OS_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_MAX_LIMIT Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the OS is the upper limit on frequency.",
"Desc": "OS Strongest Upper Limit Cycles",
"EvSel": 6,
"ExtSel": "",
"Notes": "Essentially, this event says the OS is getting the frequency it requested.",
},
"PCU.FREQ_MAX_POWER_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_MAX_LIMIT Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when power is the upper limit on frequency.",
"Desc": "Power Strongest Upper Limit Cycles",
"EvSel": 5,
"ExtSel": "",
},
"PCU.FREQ_MIN_IO_P_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_MIN_LIMIT Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when IO P Limit is preventing us from dropping the frequency lower. This algorithm monitors the needs to the IO subsystem on both local and remote sockets and will maintain a frequency high enough to maintain good IO BW. This is necessary for when all the IA cores on a socket are idle but a user still would like to maintain high IO Bandwidth.",
"Desc": "IO P Limit Strongest Lower Limit Cycles",
"EvSel": 115,
"ExtSel": "",
},
"PCU.FREQ_TRANS_CYCLES": {
"Box": "PCU",
"Category": "PCU FREQ_TRANS Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the system is changing frequency. This can not be filtered by thread ID. One can also use it with the occupancy counter that monitors number of threads in C0 to estimate the performance impact that frequency transitions had on the system.",
"Desc": "Cycles spent changing Frequency",
"EvSel": 116,
"ExtSel": "",
},
"PCU.MEMORY_PHASE_SHEDDING_CYCLES": {
"Box": "PCU",
"Category": "PCU MEMORY_PHASE_SHEDDING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the PCU has triggered memory phase shedding. This is a mode that can be run in the iMC physicals that saves power at the expense of additional latency.",
"Desc": "Memory Phase Shedding Cycles",
"EvSel": 47,
"ExtSel": "",
"Notes": "Package C1",
},
"PCU.PKG_RESIDENCY_C0_CYCLES": {
"Box": "PCU",
"Category": "PCU PKG_C_STATE_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the package was in C0. This event can be used in conjunction with edge detect to count C0 entrances (or exits using invert). Residency events do not include transition times.",
"Desc": "Package C State Residency - C0",
"EvSel": 42,
"ExtSel": "",
},
"PCU.PKG_RESIDENCY_C1E_CYCLES": {
"Box": "PCU",
"Category": "PCU PKG_C_STATE_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the package was in C1E. This event can be used in conjunction with edge detect to count C1E entrances (or exits using invert). Residency events do not include transition times.",
"Desc": "Package C State Residency - C1E",
"EvSel": 78,
"ExtSel": "",
},
"PCU.PKG_RESIDENCY_C2E_CYCLES": {
"Box": "PCU",
"Category": "PCU PKG_C_STATE_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the package was in C2E. This event can be used in conjunction with edge detect to count C2E entrances (or exits using invert). Residency events do not include transition times.",
"Desc": "Package C State Residency - C2E",
"EvSel": 43,
"ExtSel": "",
},
"PCU.PKG_RESIDENCY_C3_CYCLES": {
"Box": "PCU",
"Category": "PCU PKG_C_STATE_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the package was in C3. This event can be used in conjunction with edge detect to count C3 entrances (or exits using invert). Residency events do not include transition times.",
"Desc": "Package C State Residency - C3",
"EvSel": 44,
"ExtSel": "",
},
"PCU.PKG_RESIDENCY_C6_CYCLES": {
"Box": "PCU",
"Category": "PCU PKG_C_STATE_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the package was in C6. This event can be used in conjunction with edge detect to count C6 entrances (or exits using invert). Residency events do not include transition times.",
"Desc": "Package C State Residency - C6",
"EvSel": 45,
"ExtSel": "",
},
"PCU.PKG_RESIDENCY_C7_CYCLES": {
"Box": "PCU",
"Category": "PCU PKG_C_STATE_RESIDENCY Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles when the package was in C7. This event can be used in conjunction with edge detect to count C7 entrances (or exits using invert). Residency events do not include transition times.",
"Desc": "Package C7 State Residency",
"EvSel": 46,
"ExtSel": "",
},
"PCU.POWER_STATE_OCCUPANCY": {
"Box": "PCU",
"Category": "PCU POWER_STATE_OCC Events",
"Counters": "0-3",
"Defn": "This is an occupancy event that tracks the number of cores that are in the chosen C-State. It can be used by itself to get the average number of cores in that C-state with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details.",
"Desc": "Number of cores in C-State",
"EvSel": 128,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
},
"PCU.POWER_STATE_OCCUPANCY.CORES_C6": {
"Box": "PCU",
"Category": "PCU POWER_STATE_OCC Events",
"Counters": "0-3",
"Defn": "This is an occupancy event that tracks the number of cores that are in the chosen C-State. It can be used by itself to get the average number of cores in that C-state with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details.",
"Desc": "Number of cores in C-State",
"EvSel": 128,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
"Umask": "b11000000",
},
"PCU.POWER_STATE_OCCUPANCY.CORES_C3": {
"Box": "PCU",
"Category": "PCU POWER_STATE_OCC Events",
"Counters": "0-3",
"Defn": "This is an occupancy event that tracks the number of cores that are in the chosen C-State. It can be used by itself to get the average number of cores in that C-state with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details.",
"Desc": "Number of cores in C-State",
"EvSel": 128,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
"Umask": "b10000000",
},
"PCU.POWER_STATE_OCCUPANCY.CORES_C0": {
"Box": "PCU",
"Category": "PCU POWER_STATE_OCC Events",
"Counters": "0-3",
"Defn": "This is an occupancy event that tracks the number of cores that are in the chosen C-State. It can be used by itself to get the average number of cores in that C-state with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details.",
"Desc": "Number of cores in C-State",
"EvSel": 128,
"ExtSel": "",
"MaxIncCyc": 8,
"SubCtr": 1,
"Umask": "b01000000",
},
"PCU.PROCHOT_EXTERNAL_CYCLES": {
"Box": "PCU",
"Category": "PCU PROCHOT Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that we are in external PROCHOT mode. This mode is triggered when a sensor off the die determines that something off-die (like DRAM) is too hot and must throttle to avoid damaging the chip.",
"Desc": "External Prochot",
"EvSel": 10,
"ExtSel": "",
},
"PCU.PROCHOT_INTERNAL_CYCLES": {
"Box": "PCU",
"Category": "PCU PROCHOT Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that we are in Interal PROCHOT mode. This mode is triggered when a sensor on the die determines that we are too hot and must throttle to avoid damaging the chip.",
"Desc": "Internal Prochot",
"EvSel": 9,
"ExtSel": "",
},
"PCU.TOTAL_TRANSITION_CYCLES": {
"Box": "PCU",
"Category": "PCU CORE_C_STATE_TRANSITION Events",
"Counters": "0-3",
"Defn": "Number of cycles spent performing core C state transitions across all cores.",
"Desc": "Total Core C State Transition Cycles",
"EvSel": 114,
"ExtSel": "",
},
"PCU.VR_HOT_CYCLES": {
"Box": "PCU",
"Category": "PCU VR_HOT Events",
"Counters": "0-3",
"Desc": "VR Hot",
"EvSel": 66,
"ExtSel": "",
},
# R2PCIe:
"R2PCIe.CLOCKTICKS": {
"Box": "R2PCIe",
"Category": "R2PCIe UCLK Events",
"Counters": "0-3",
"Defn": "Counts the number of uclks in the R2PCIe uclk domain. This could be slightly different than the count in the Ubox because of enable/freeze delays. However, because the R2PCIe is close to the Ubox, they generally should not diverge by more than a handful of cycles.",
"Desc": "Number of uclks in domain",
"EvSel": 1,
"ExtSel": "",
},
"R2PCIe.IIO_CREDIT": {
"Box": "R2PCIe",
"Category": "R2PCIe IIO Credit Events",
"Counters": "0-1",
"EvSel": 45,
"ExtSel": "",
"MaxIncCyc": 4,
},
"R2PCIe.IIO_CREDIT.PRQ_QPI1": {
"Box": "R2PCIe",
"Category": "R2PCIe IIO Credit Events",
"Counters": "0-1",
"EvSel": 45,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxxxx1x",
},
"R2PCIe.IIO_CREDIT.ISOCH_QPI0": {
"Box": "R2PCIe",
"Category": "R2PCIe IIO Credit Events",
"Counters": "0-1",
"EvSel": 45,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxxx1xx",
},
"R2PCIe.IIO_CREDIT.ISOCH_QPI1": {
"Box": "R2PCIe",
"Category": "R2PCIe IIO Credit Events",
"Counters": "0-1",
"EvSel": 45,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxx1xxx",
},
"R2PCIe.IIO_CREDIT.PRQ_QPI0": {
"Box": "R2PCIe",
"Category": "R2PCIe IIO Credit Events",
"Counters": "0-1",
"EvSel": 45,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxxxxx1",
},
"R2PCIe.RING_AD_USED": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"R2PCIe.RING_AD_USED.CCW": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"R2PCIe.RING_AD_USED.CCW_ODD": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"R2PCIe.RING_AD_USED.CCW_EVEN": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"R2PCIe.RING_AD_USED.CW_ODD": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"R2PCIe.RING_AD_USED.CW_EVEN": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"R2PCIe.RING_AD_USED.CW": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AD ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AD Ring in Use",
"EvSel": 7,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"R2PCIe.RING_AK_BOUNCES": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a request destined for the AK ingress bounced.",
"Desc": "AK Ingress Bounced",
"EvSel": 18,
"ExtSel": "",
},
"R2PCIe.RING_AK_BOUNCES.DN": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a request destined for the AK ingress bounced.",
"Desc": "AK Ingress Bounced",
"EvSel": 18,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R2PCIe.RING_AK_BOUNCES.UP": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of times when a request destined for the AK ingress bounced.",
"Desc": "AK Ingress Bounced",
"EvSel": 18,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R2PCIe.RING_AK_USED": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"R2PCIe.RING_AK_USED.CCW_ODD": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"R2PCIe.RING_AK_USED.CCW": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"R2PCIe.RING_AK_USED.CW_EVEN": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"R2PCIe.RING_AK_USED.CW": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"R2PCIe.RING_AK_USED.CW_ODD": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"R2PCIe.RING_AK_USED.CCW_EVEN": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the AK ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 AK Ring in Use",
"EvSel": 8,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"R2PCIe.RING_BL_USED": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
},
"R2PCIe.RING_BL_USED.CCW_EVEN": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxx1xx",
},
"R2PCIe.RING_BL_USED.CW_EVEN": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxxx1",
},
"R2PCIe.RING_BL_USED.CW": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00000011",
},
"R2PCIe.RING_BL_USED.CW_ODD": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxxxx1x",
},
"R2PCIe.RING_BL_USED.CCW_ODD": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "bxxxx1xxx",
},
"R2PCIe.RING_BL_USED.CCW": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the BL ring is being used at this ring stop. This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
"Desc": "R2 BL Ring in Use",
"EvSel": 9,
"ExtSel": "",
"Notes": "In any cycle, a ring stop can see up to one packet moving in the CW direction and one packet moving in the CCW direction.",
"Umask": "b00001100",
},
"R2PCIe.RING_IV_USED": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop.",
"Desc": "R2 IV Ring in Use",
"EvSel": 10,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the CW direction and one (half-)packet moving in the CCW direction.",
},
"R2PCIe.RING_IV_USED.CCW": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop.",
"Desc": "R2 IV Ring in Use",
"EvSel": 10,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the CW direction and one (half-)packet moving in the CCW direction.",
"Umask": "b00001100",
},
"R2PCIe.RING_IV_USED.ANY": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop.",
"Desc": "R2 IV Ring in Use",
"EvSel": 10,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the CW direction and one (half-)packet moving in the CCW direction.",
"Umask": "b00001111",
},
"R2PCIe.RING_IV_USED.CW": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Counters": "0-3",
"Defn": "Counts the number of cycles that the IV ring is being used at this ring stop. This includes when packets are passing by and when packets are being sent, but does not include when packets are being sunk into the ring stop.",
"Desc": "R2 IV Ring in Use",
"EvSel": 10,
"ExtSel": "",
"Notes": "IV messages are split into two parts. In any cycle, a ring stop can see up to one (half-)packet moving in the CW direction and one (half-)packet moving in the CCW direction.",
"Umask": "b00000011",
},
"R2PCIe.RxR_CYCLES_NE": {
"Box": "R2PCIe",
"Category": "R2PCIe INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the R2PCIe Ingress is not empty. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Cycles Not Empty",
"EvSel": 16,
"ExtSel": "",
},
"R2PCIe.RxR_CYCLES_NE.NCB": {
"Box": "R2PCIe",
"Category": "R2PCIe INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the R2PCIe Ingress is not empty. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Cycles Not Empty",
"EvSel": 16,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R2PCIe.RxR_CYCLES_NE.NCS": {
"Box": "R2PCIe",
"Category": "R2PCIe INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the R2PCIe Ingress is not empty. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue occupancy. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Cycles Not Empty",
"EvSel": 16,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R2PCIe.RxR_INSERTS": {
"Box": "R2PCIe",
"Category": "R2PCIe INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the R2PCIe Ingress. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
},
"R2PCIe.RxR_INSERTS.NCS": {
"Box": "R2PCIe",
"Category": "R2PCIe INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the R2PCIe Ingress. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R2PCIe.RxR_INSERTS.NCB": {
"Box": "R2PCIe",
"Category": "R2PCIe INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the R2PCIe Ingress. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue latency. Multiple ingress buffers can be tracked at a given time using multiple counters.",
"Desc": "Ingress Allocations",
"EvSel": 17,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R2PCIe.RxR_OCCUPANCY": {
"Box": "R2PCIe",
"Category": "R2PCIe INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given R2PCIe Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the R2PCIe Ingress Not Empty event to calculate average occupancy or the R2PCIe Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 24,
"SubCtr": 1,
},
"R2PCIe.RxR_OCCUPANCY.DRS": {
"Box": "R2PCIe",
"Category": "R2PCIe INGRESS Events",
"Counters": 0,
"Defn": "Accumulates the occupancy of a given R2PCIe Ingress queue in each cycles. This tracks one of the three ring Ingress buffers. This can be used with the R2PCIe Ingress Not Empty event to calculate average occupancy or the R2PCIe Ingress Allocations event in order to calculate average queuing latency.",
"Desc": "Ingress Occupancy Accumulator",
"EvSel": 19,
"ExtSel": "",
"MaxIncCyc": 24,
"SubCtr": 1,
"Umask": "b00001000",
},
"R2PCIe.SBO0_CREDITS_ACQUIRED": {
"Box": "R2PCIe",
"Category": "R2PCIe SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 40,
"ExtSel": "",
"MaxIncCyc": 2,
},
"R2PCIe.SBO0_CREDITS_ACQUIRED.BL": {
"Box": "R2PCIe",
"Category": "R2PCIe SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 40,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxx1x",
},
"R2PCIe.SBO0_CREDITS_ACQUIRED.AD": {
"Box": "R2PCIe",
"Category": "R2PCIe SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of Sbo 0 credits acquired in a given cycle, per ring.",
"Desc": "SBo0 Credits Acquired",
"EvSel": 40,
"ExtSel": "",
"MaxIncCyc": 2,
"Umask": "bxxxxxxx1",
},
"R2PCIe.STALL_NO_SBO_CREDIT": {
"Box": "R2PCIe",
"Category": "R2PCIe SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
},
"R2PCIe.STALL_NO_SBO_CREDIT.SBO0_BL": {
"Box": "R2PCIe",
"Category": "R2PCIe SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxxx1xx",
},
"R2PCIe.STALL_NO_SBO_CREDIT.SBO1_BL": {
"Box": "R2PCIe",
"Category": "R2PCIe SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxx1xxx",
},
"R2PCIe.STALL_NO_SBO_CREDIT.SBO1_AD": {
"Box": "R2PCIe",
"Category": "R2PCIe SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxxxx1x",
},
"R2PCIe.STALL_NO_SBO_CREDIT.SBO0_AD": {
"Box": "R2PCIe",
"Category": "R2PCIe SBO Credit Events",
"Counters": "0-1",
"Defn": "Number of cycles Egress is stalled waiting for an Sbo credit to become available. Per Sbo, per Ring.",
"Desc": "Stall on No Sbo Credits",
"EvSel": 44,
"ExtSel": "",
"MaxIncCyc": 4,
"Umask": "bxxxxxxx1",
},
"R2PCIe.TxR_CYCLES_FULL": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": 0,
"Defn": "Counts the number of cycles when the R2PCIe Egress buffer is full.",
"Desc": "Egress Cycles Full",
"EvSel": 37,
"ExtSel": "",
},
"R2PCIe.TxR_CYCLES_FULL.AK": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": 0,
"Defn": "Counts the number of cycles when the R2PCIe Egress buffer is full.",
"Desc": "Egress Cycles Full",
"EvSel": 37,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R2PCIe.TxR_CYCLES_FULL.BL": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": 0,
"Defn": "Counts the number of cycles when the R2PCIe Egress buffer is full.",
"Desc": "Egress Cycles Full",
"EvSel": 37,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R2PCIe.TxR_CYCLES_FULL.AD": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": 0,
"Defn": "Counts the number of cycles when the R2PCIe Egress buffer is full.",
"Desc": "Egress Cycles Full",
"EvSel": 37,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R2PCIe.TxR_CYCLES_NE": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": 0,
"Defn": "Counts the number of cycles when the R2PCIe Egress is not empty. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order to calculate average queue occupancy. Only a single Egress queue can be tracked at any given time. It is not possible to filter based on direction or polarity.",
"Desc": "Egress Cycles Not Empty",
"EvSel": 35,
"ExtSel": "",
},
"R2PCIe.TxR_CYCLES_NE.BL": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": 0,
"Defn": "Counts the number of cycles when the R2PCIe Egress is not empty. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order to calculate average queue occupancy. Only a single Egress queue can be tracked at any given time. It is not possible to filter based on direction or polarity.",
"Desc": "Egress Cycles Not Empty",
"EvSel": 35,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R2PCIe.TxR_CYCLES_NE.AK": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": 0,
"Defn": "Counts the number of cycles when the R2PCIe Egress is not empty. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order to calculate average queue occupancy. Only a single Egress queue can be tracked at any given time. It is not possible to filter based on direction or polarity.",
"Desc": "Egress Cycles Not Empty",
"EvSel": 35,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R2PCIe.TxR_CYCLES_NE.AD": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": 0,
"Defn": "Counts the number of cycles when the R2PCIe Egress is not empty. This tracks one of the three rings that are used by the R2PCIe agent. This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order to calculate average queue occupancy. Only a single Egress queue can be tracked at any given time. It is not possible to filter based on direction or polarity.",
"Desc": "Egress Cycles Not Empty",
"EvSel": 35,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R2PCIe.TxR_NACK_CW": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
},
"R2PCIe.TxR_NACK_CW.UP_BL": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"R2PCIe.TxR_NACK_CW.DN_AK": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"R2PCIe.TxR_NACK_CW.DN_AD": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"R2PCIe.TxR_NACK_CW.UP_AK": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"R2PCIe.TxR_NACK_CW.DN_BL": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"R2PCIe.TxR_NACK_CW.UP_AD": {
"Box": "R2PCIe",
"Category": "R2PCIe EGRESS Events",
"Counters": "0-1",
"Desc": "Egress CCW NACK",
"EvSel": 38,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
# IRP:
"IRP.CACHE_TOTAL_OCCUPANCY": {
"Box": "IRP",
"Category": "IRP WRITE_CACHE Events",
"Counters": "0-1",
"Defn": "Accumulates the number of reads and writes that are outstanding in the uncore in each cycle. This is effectively the sum of the READ_OCCUPANCY and WRITE_OCCUPANCY events.",
"Desc": "Total Write Cache Occupancy",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
},
"IRP.CACHE_TOTAL_OCCUPANCY.ANY": {
"Box": "IRP",
"Category": "IRP WRITE_CACHE Events",
"Counters": "0-1",
"Defn": "Accumulates the number of reads and writes that are outstanding in the uncore in each cycle. This is effectively the sum of the READ_OCCUPANCY and WRITE_OCCUPANCY events.",
"Desc": "Total Write Cache Occupancy",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "b00000001",
},
"IRP.CACHE_TOTAL_OCCUPANCY.SOURCE": {
"Box": "IRP",
"Category": "IRP WRITE_CACHE Events",
"Counters": "0-1",
"Defn": "Accumulates the number of reads and writes that are outstanding in the uncore in each cycle. This is effectively the sum of the READ_OCCUPANCY and WRITE_OCCUPANCY events.",
"Desc": "Total Write Cache Occupancy",
"EvSel": 18,
"ExtSel": "",
"MaxIncCyc": 128,
"SubCtr": 1,
"Umask": "b00000010",
},
"IRP.CLOCKTICKS": {
"Box": "IRP",
"Category": "IRP IO_CLKS Events",
"Counters": "0-1",
"Defn": "Number of clocks in the IRP.",
"Desc": "Clocks in the IRP",
"EvSel": 0,
"ExtSel": "",
},
"IRP.COHERENT_OPS": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
},
"IRP.COHERENT_OPS.PCIDCAHINT": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxx1xxxxx",
},
"IRP.COHERENT_OPS.DRD": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxx1xx",
},
"IRP.COHERENT_OPS.CRD": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxxx1x",
},
"IRP.COHERENT_OPS.PCIRDCUR": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxxxxx1",
},
"IRP.COHERENT_OPS.WBMTOI": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
"Umask": "bx1xxxxxx",
},
"IRP.COHERENT_OPS.CLFLUSH": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
"Umask": "b1xxxxxxx",
},
"IRP.COHERENT_OPS.RFO": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxxx1xxx",
},
"IRP.COHERENT_OPS.PCITOM": {
"Box": "IRP",
"Category": "IRP Coherency Events",
"Counters": "0-1",
"Defn": "Counts the number of coherency related operations servied by the IRP",
"Desc": "Coherent Ops",
"EvSel": 19,
"ExtSel": "",
"Umask": "bxxx1xxxx",
},
"IRP.MISC0": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
},
"IRP.MISC0.2ND_WR_INSERT": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
"Umask": "bx00x1x00",
},
"IRP.MISC0.2ND_ATOMIC_INSERT": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
"Umask": "bx001xx00",
},
"IRP.MISC0.2ND_RD_INSERT": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
"Umask": "bx00xx100",
},
"IRP.MISC0.FAST_REQ": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
"Umask": "b000000x1",
},
"IRP.MISC0.PF_TIMEOUT": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
"Umask": "b1xx00000",
},
"IRP.MISC0.FAST_REJ": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
"Umask": "b0000001x",
},
"IRP.MISC0.PF_ACK_HINT": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
"Umask": "bx1x00000",
},
"IRP.MISC0.FAST_XFER": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 0",
"EvSel": 20,
"ExtSel": "",
"Umask": "bxx100000",
},
"IRP.MISC1": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
},
"IRP.MISC1.SLOW_E": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
"Umask": "b000xx1xx",
},
"IRP.MISC1.DATA_THROTTLE": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
"Umask": "b1xxx0000",
},
"IRP.MISC1.SLOW_I": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
"Umask": "b000xxxx1",
},
"IRP.MISC1.SEC_RCVD_INVLD": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
"Umask": "bxx1x0000",
},
"IRP.MISC1.SEC_RCVD_VLD": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
"Umask": "bx1xx0000",
},
"IRP.MISC1.SLOW_S": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
"Umask": "b000xxx1x",
},
"IRP.MISC1.LOST_FWD": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
"Umask": "b0001xxxx",
},
"IRP.MISC1.SLOW_M": {
"Box": "IRP",
"Category": "IRP MISC Events",
"Counters": "0-1",
"Desc": "Misc Events - Set 1",
"EvSel": 21,
"ExtSel": "",
"Umask": "b000x1xxx",
},
"IRP.RxR_AK_INSERTS": {
"Box": "IRP",
"Category": "IRP AK_INGRESS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the AK Ingress. This queue is where the IRP receives responses from R2PCIe (the ring).",
"Desc": "AK Ingress Occupancy",
"EvSel": 10,
"ExtSel": "",
},
"IRP.RxR_BL_DRS_CYCLES_FULL": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_DRS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the BL Ingress is full. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"EvSel": 4,
"ExtSel": "",
},
"IRP.RxR_BL_DRS_INSERTS": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_DRS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the BL Ingress. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"Desc": "BL Ingress Occupancy - DRS",
"EvSel": 1,
"ExtSel": "",
},
"IRP.RxR_BL_DRS_OCCUPANCY": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_DRS Events",
"Counters": "0-1",
"Defn": "Accumulates the occupancy of the BL Ingress in each cycles. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"EvSel": 7,
"ExtSel": "",
"MaxIncCyc": 24,
"SubCtr": 1,
},
"IRP.RxR_BL_NCB_CYCLES_FULL": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_NCB Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the BL Ingress is full. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"EvSel": 5,
"ExtSel": "",
},
"IRP.RxR_BL_NCB_INSERTS": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_NCB Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the BL Ingress. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"Desc": "BL Ingress Occupancy - NCB",
"EvSel": 2,
"ExtSel": "",
},
"IRP.RxR_BL_NCB_OCCUPANCY": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_NCB Events",
"Counters": "0-1",
"Defn": "Accumulates the occupancy of the BL Ingress in each cycles. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"EvSel": 8,
"ExtSel": "",
"MaxIncCyc": 24,
"SubCtr": 1,
},
"IRP.RxR_BL_NCS_CYCLES_FULL": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_NCS Events",
"Counters": "0-1",
"Defn": "Counts the number of cycles when the BL Ingress is full. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"EvSel": 6,
"ExtSel": "",
},
"IRP.RxR_BL_NCS_INSERTS": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_NCS Events",
"Counters": "0-1",
"Defn": "Counts the number of allocations into the BL Ingress. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"Desc": "BL Ingress Occupancy - NCS",
"EvSel": 3,
"ExtSel": "",
},
"IRP.RxR_BL_NCS_OCCUPANCY": {
"Box": "IRP",
"Category": "IRP BL_INGRESS_NCS Events",
"Counters": "0-1",
"Defn": "Accumulates the occupancy of the BL Ingress in each cycles. This queue is where the IRP receives data from R2PCIe (the ring). It is used for data returns from read requets as well as outbound MMIO writes.",
"EvSel": 9,
"ExtSel": "",
"MaxIncCyc": 24,
"SubCtr": 1,
},
"IRP.SNOOP_RESP": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Desc": "Snoop Responses",
"EvSel": 23,
"ExtSel": "",
"Notes": "The first 4 subevent bits are the Responses to the Code/Data/Invalid Snoops represented by the last 3 subevent bits. At least 1 of the bottom 4 bits must be combined with 1 of the top 3 bits to obtain counts. Unsure which combinations are possible.",
},
"IRP.SNOOP_RESP.SNPDATA": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Desc": "Snoop Responses",
"EvSel": 23,
"ExtSel": "",
"Notes": "The first 4 subevent bits are the Responses to the Code/Data/Invalid Snoops represented by the last 3 subevent bits. At least 1 of the bottom 4 bits must be combined with 1 of the top 3 bits to obtain counts. Unsure which combinations are possible.",
"Umask": "bxx1xxxxx",
},
"IRP.SNOOP_RESP.HIT_I": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Desc": "Snoop Responses",
"EvSel": 23,
"ExtSel": "",
"Notes": "The first 4 subevent bits are the Responses to the Code/Data/Invalid Snoops represented by the last 3 subevent bits. At least 1 of the bottom 4 bits must be combined with 1 of the top 3 bits to obtain counts. Unsure which combinations are possible.",
"Umask": "bxxxxxx1x",
},
"IRP.SNOOP_RESP.HIT_ES": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Desc": "Snoop Responses",
"EvSel": 23,
"ExtSel": "",
"Notes": "The first 4 subevent bits are the Responses to the Code/Data/Invalid Snoops represented by the last 3 subevent bits. At least 1 of the bottom 4 bits must be combined with 1 of the top 3 bits to obtain counts. Unsure which combinations are possible.",
"Umask": "bxxxxx1xx",
},
"IRP.SNOOP_RESP.HIT_M": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Desc": "Snoop Responses",
"EvSel": 23,
"ExtSel": "",
"Notes": "The first 4 subevent bits are the Responses to the Code/Data/Invalid Snoops represented by the last 3 subevent bits. At least 1 of the bottom 4 bits must be combined with 1 of the top 3 bits to obtain counts. Unsure which combinations are possible.",
"Umask": "bxxxx1xxx",
},
"IRP.SNOOP_RESP.MISS": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Desc": "Snoop Responses",
"EvSel": 23,
"ExtSel": "",
"Notes": "The first 4 subevent bits are the Responses to the Code/Data/Invalid Snoops represented by the last 3 subevent bits. At least 1 of the bottom 4 bits must be combined with 1 of the top 3 bits to obtain counts. Unsure which combinations are possible.",
"Umask": "bxxxxxxx1",
},
"IRP.SNOOP_RESP.SNPCODE": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Desc": "Snoop Responses",
"EvSel": 23,
"ExtSel": "",
"Notes": "The first 4 subevent bits are the Responses to the Code/Data/Invalid Snoops represented by the last 3 subevent bits. At least 1 of the bottom 4 bits must be combined with 1 of the top 3 bits to obtain counts. Unsure which combinations are possible.",
"Umask": "bxxx1xxxx",
},
"IRP.SNOOP_RESP.SNPINV": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Desc": "Snoop Responses",
"EvSel": 23,
"ExtSel": "",
"Notes": "The first 4 subevent bits are the Responses to the Code/Data/Invalid Snoops represented by the last 3 subevent bits. At least 1 of the bottom 4 bits must be combined with 1 of the top 3 bits to obtain counts. Unsure which combinations are possible.",
"Umask": "bx1xxxxxx",
},
"IRP.TRANSACTIONS": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Defn": "Counts the number of \"Inbound\" transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"Desc": "Inbound Transaction Count",
"EvSel": 22,
"ExtSel": "",
"Notes": "Bit 7 is a filter that can be applied to the other subevents. Meaningless by itself.",
},
"IRP.TRANSACTIONS.READS": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Defn": "Counts the number of \"Inbound\" transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"Desc": "Inbound Transaction Count",
"EvSel": 22,
"ExtSel": "",
"Notes": "Bit 7 is a filter that can be applied to the other subevents. Meaningless by itself.",
"Umask": "bxxxxxxx1",
},
"IRP.TRANSACTIONS.OTHER": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Defn": "Counts the number of \"Inbound\" transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"Desc": "Inbound Transaction Count",
"EvSel": 22,
"ExtSel": "",
"Notes": "Bit 7 is a filter that can be applied to the other subevents. Meaningless by itself.",
"Umask": "bxx1xxxxx",
},
"IRP.TRANSACTIONS.ORDERINGQ": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Defn": "Counts the number of \"Inbound\" transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"Desc": "Inbound Transaction Count",
"EvSel": 22,
"ExtSel": "",
"Notes": "Bit 7 is a filter that can be applied to the other subevents. Meaningless by itself.",
"Umask": "bx1xxxxxx",
},
"IRP.TRANSACTIONS.WRITES": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Defn": "Counts the number of \"Inbound\" transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"Desc": "Inbound Transaction Count",
"EvSel": 22,
"ExtSel": "",
"Notes": "Bit 7 is a filter that can be applied to the other subevents. Meaningless by itself.",
"Umask": "bxxxxxx1x",
},
"IRP.TRANSACTIONS.ATOMIC": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Defn": "Counts the number of \"Inbound\" transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"Desc": "Inbound Transaction Count",
"EvSel": 22,
"ExtSel": "",
"Notes": "Bit 7 is a filter that can be applied to the other subevents. Meaningless by itself.",
"Umask": "bxxx1xxxx",
},
"IRP.TRANSACTIONS.WR_PREF": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Defn": "Counts the number of \"Inbound\" transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"Desc": "Inbound Transaction Count",
"EvSel": 22,
"ExtSel": "",
"Notes": "Bit 7 is a filter that can be applied to the other subevents. Meaningless by itself.",
"Umask": "bxxxx1xxx",
},
"IRP.TRANSACTIONS.RD_PREF": {
"Box": "IRP",
"Category": "IRP TRANSACTIONS Events",
"Counters": "0-1",
"Defn": "Counts the number of \"Inbound\" transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"Desc": "Inbound Transaction Count",
"EvSel": 22,
"ExtSel": "",
"Notes": "Bit 7 is a filter that can be applied to the other subevents. Meaningless by itself.",
"Umask": "bxxxxx1xx",
},
"IRP.TxR_AD_STALL_CREDIT_CYCLES": {
"Box": "IRP",
"Category": "IRP STALL_CYCLES Events",
"Counters": "0-1",
"Defn": "Counts the number times when it is not possible to issue a request to the R2PCIe because there are no AD Egress Credits available.",
"Desc": "No AD Egress Credit Stalls",
"EvSel": 24,
"ExtSel": "",
},
"IRP.TxR_BL_STALL_CREDIT_CYCLES": {
"Box": "IRP",
"Category": "IRP STALL_CYCLES Events",
"Counters": "0-1",
"Defn": "Counts the number times when it is not possible to issue data to the R2PCIe because there are no BL Egress Credits available.",
"Desc": "No BL Egress Credit Stalls",
"EvSel": 25,
"ExtSel": "",
},
"IRP.TxR_DATA_INSERTS_NCB": {
"Box": "IRP",
"Category": "IRP OUTBOUND_REQUESTS Events",
"Counters": "0-1",
"Defn": "Counts the number of requests issued to the switch (towards the devices).",
"Desc": "Outbound Read Requests",
"EvSel": 14,
"ExtSel": "",
},
"IRP.TxR_DATA_INSERTS_NCS": {
"Box": "IRP",
"Category": "IRP OUTBOUND_REQUESTS Events",
"Counters": "0-1",
"Defn": "Counts the number of requests issued to the switch (towards the devices).",
"Desc": "Outbound Read Requests",
"EvSel": 15,
"ExtSel": "",
},
"IRP.TxR_REQUEST_OCCUPANCY": {
"Box": "IRP",
"Category": "IRP OUTBOUND_REQUESTS Events",
"Counters": "0-1",
"Defn": "Accumultes the number of outstanding outbound requests from the IRP to the switch (towards the devices). This can be used in conjuection with the allocations event in order to calculate average latency of outbound requests.",
"Desc": "Outbound Request Queue Occupancy",
"EvSel": 13,
"ExtSel": "",
"SubCtr": 1,
},
}
derived = {
# QPI_LL:
"QPI_LL.DATA_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "Data received from QPI in bytes ( = DRS + NCB Data messages received from QPI)",
"Desc": "Data From QPI",
"Equation": "DRS_DATA_MSGS_FROM_QPI + NCB_DATA_MSGS_FROM_QPI",
},
"QPI_LL.DATA_FROM_QPI_TO_HA_OR_IIO": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Defn": "Data received from QPI forwarded to HA or IIO. Expressed in Bytes",
"Desc": "Data From QPI To HA or IIO",
"Equation": "DATA_FROM_QPI - DATA_FROM_QPI_TO_LLC",
},
"QPI_LL.DATA_FROM_QPI_TO_LLC": {
"Box": "QPI_LL",
"Category": "QPI_LL DIRECT2CORE Events",
"Defn": "Data received from QPI forwarded to LLC. Expressed in Bytes",
"Desc": "Data From QPI To LLC",
"Equation": "DIRECT2CORE.SUCCESS_RBT_HIT * 64",
},
"QPI_LL.DATA_FROM_QPI_TO_NODEx": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "Data packets received from QPI sent to Node ID 'x'. Expressed in bytes",
"Desc": "Data From QPI To Node x",
"Equation": "DRS_DataC_FROM_QPI_TO_NODEx + DRS_WRITE_FROM_QPI_TO_NODEx + NCB_DATA_FROM_QPI_TO_NODEx",
},
"QPI_LL.DRS_DATA_MSGS_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Defn": "DRS Data Messges From QPI in bytes",
"Desc": "DRS Data Messges From QPI",
"Equation": "(RxL_FLITS_G1.DRS_DATA * 8)",
},
"QPI_LL.DRS_DataC_FROM_QPI_TO_NODEx": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS DataC packets received from QPI sent to Node ID 'x'. Expressed in bytes",
"Desc": "DRS DataC From QPI To Node x",
"Equation": "(CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0{[12:0],dnid}={0x1C00,x}, Q_Py_PCI_PMON_PKT_MASK0[17:0]=0x3FF80}) * 64",
"Filter": "QPIRxMask0[17:0],QPIRxMatch0[17:0];QPITxMask0[17:0],QPITxMatch0[17:0]",
},
"QPI_LL.DRS_DataC_M_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS DataC_F packets received from QPI. Expressed in bytes",
"Desc": "DRS DataC_Fs From QPI",
"Equation": "(CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C00, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0, Q_Py_PCI_PMON_PKT_MATCH1[19:16]=0x1, Q_Py_PCI_PMON_PKT_MASK1[19:16]=0xF }) * 64",
"Filter": "QPIMask0[17:0],QPIMatch0[17:0],QPIMask1[19:16],QPIMatch1[19:16]",
},
"QPI_LL.DRS_FULL_CACHELINE_MSGS_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS Full Cacheline Data Messges From QPI in bytes",
"Desc": "DRS Full Cacheline Data Messges From QPI",
"Equation": "(CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C00,Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1F00}) * 64",
"Filter": "QPIRxMask0[12:0],QPIRxMatch0[12:0];QPITxMask0[12:0],QPITxMatch0[12:0]",
},
"QPI_LL.DRS_F_OR_E_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS response in F or E states received from QPI in bytes. To calculate the total data response for each cache line state, it's necessary to add the contribution from three flavors {DataC, DataC_FrcAckCnflt, DataC_Cmp} of data response packets for each cache line state.",
"Desc": "DRS Data in F or E From QPI",
"Equation": "((CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C00, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0, Q_Py_PCI_PMON_PKT_MATCH1[19:16]=0x4, Q_Py_PCI_PMON_PKT_MASK1[19:16]=0xF }) + (CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C00, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0, Q_Py_PCI_PMON_PKT_MATCH1[19:16]=0x1, Q_Py_PCI_PMON_PKT_MASK1[19:16]=0xF }) + (CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C40, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0, Q_Py_PCI_PMON_PKT_MATCH1[19:16]=0x4, Q_Py_PCI_PMON_PKT_MASK1[19:16]=0xF }) + (CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C40, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0, Q_Py_PCI_PMON_PKT_MATCH1[19:16]=0x1, Q_Py_PCI_PMON_PKT_MASK1[19:16]=0xF }) + (CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C20, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0, Q_Py_PCI_PMON_PKT_MATCH1[19:16]=0x4, Q_Py_PCI_PMON_PKT_MASK1[19:16]=0xF }) + (CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C20, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0, Q_Py_PCI_PMON_PKT_MATCH1[19:16]=0x1, Q_Py_PCI_PMON_PKT_MASK1[19:16]=0xF })) * 64",
"Filter": "QPIRxMask0[12:0],QPIRxMatch0[12:0],QPIRxMask1[19:16],QPIRxMatch1[19:16];QPITxMask0[12:0],QPITxMatch0[12:0],QPITxMask1[19:16],QPITxMatch1[19:16]",
},
"QPI_LL.DRS_M_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS response in M state received from QPI in bytes",
"Desc": "DRS Data in M From QPI",
"Equation": "(CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C00, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0, Q_Py_PCI_PMON_PKT_MATCH1[19:16]=0x8, Q_Py_PCI_PMON_PKT_MASK1[19:16]=0xF }) * 64",
"Filter": "QPIRxMask0[12:0],QPIRxMatch0[12:0],QPIRxMask1[19:16],QPIRxMatch1[19:16];QPITxMask0[12:0],QPITxMatch0[12:0],QPITxMask1[19:16],QPITxMatch1[19:16]",
},
"QPI_LL.DRS_PTL_CACHELINE_MSGS_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS Partial Cacheline Data Messges From QPI in bytes",
"Desc": "DRS Partial Cacheline Data Messges From QPI",
"Equation": "(CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1D00, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1F00}) * 64",
"Filter": "QPIRxMask0[12:0],QPIRxMatch0[12:0];QPITxMask0[12:0],QPITxMatch0[12:0]",
},
"QPI_LL.DRS_WB_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS writeback packets received from QPI in bytes. This is the sum of Wb{I,S,E} DRS packets",
"Desc": "DRS Writeback From QPI",
"Equation": "DRS_WbI_FROM_QPI + DRS_WbS_FROM_QPI + DRS_WbE_FROM_QPI",
},
"QPI_LL.DRS_WRITE_FROM_QPI_TO_NODEx": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS Data packets (Any - DataC) received from QPI sent to Node ID 'x'. Expressed in bytes",
"Desc": "DRS Data From QPI To Node x",
"Equation": "((CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0{[12:0],dnid}={0x1C00,x}, Q_Py_PCI_PMON_PKT_MASK0[17:0]=0x3FE00}) - (CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0{[12:0],dnid}={0x1C00,x}, Q_Py_PCI_PMON_PKT_MASK0[17:0]=0x3FF80})) * 64",
"Filter": "QPIRxMask0[17:0],QPIRxMatch0[17:0];QPITxMask0[17:0],QPITxMatch0[17:0]",
},
"QPI_LL.DRS_WbE_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS writeback 'change to E state' packets received from QPI in bytes",
"Desc": "DRS WbE From QPI",
"Equation": "(CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1CC0, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0}) * 64",
"Filter": "QPIRxMask0[12:0],QPIRxMatch0[12:0];QPITxMask0[12:0],QPITxMatch0[12:0]",
},
"QPI_LL.DRS_WbI_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS writeback 'change to I state' packets received from QPI in bytes",
"Desc": "DRS WbI From QPI",
"Equation": "(CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1C80, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0}) * 64",
"Filter": "QPIRxMask0[12:0],QPIRxMatch0[12:0];QPITxMask0[12:0],QPITxMatch0[12:0]",
},
"QPI_LL.DRS_WbS_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "DRS writeback 'change to S state' packets received from QPI in bytes",
"Desc": "DRS WbSFrom QPI",
"Equation": "(CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0[12:0]=0x1CA0, Q_Py_PCI_PMON_PKT_MASK0[12:0]=0x1FE0}) * 64",
"Filter": "QPIRxMask0[12:0],QPIRxMatch0[12:0];QPITxMask0[12:0],QPITxMatch0[12:0]",
},
"QPI_LL.NCB_DATA_FROM_QPI_TO_NODEx": {
"Box": "QPI_LL",
"Category": "QPI_LL CTO Events",
"Defn": "NCB Data packets (Any - Interrupts) received from QPI sent to Node ID 'x'. Expressed in bytes",
"Desc": "NCB Data From QPI To Node x",
"Equation": "((CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0{[12:0],dnid}={0x1800,x}, Q_Py_PCI_PMON_PKT_MASK0[17:0]=0x3FE00}) - (CTO_COUNT with:{Q_Py_PCI_PMON_PKT_MATCH0{[12:0],dnid}={0x1900,x}, Q_Py_PCI_PMON_PKT_MASK0[17:0]=0x3FF80})) * 64",
"Filter": "QPIRxMask0[17:0],QPIRxMatch0[17:0];QPITxMask0[17:0],QPITxMatch0[17:0]",
},
"QPI_LL.NCB_DATA_MSGS_FROM_QPI": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_RX Events",
"Defn": "NCB Data Messages From QPI in bytes",
"Desc": "NCB Data Messages From QPI",
"Equation": "(RxL_FLITS_G2.NCB_DATA * 8)",
},
"QPI_LL.PCT_LINK_FULL_POWER_CYCLES": {
"Box": "QPI_LL",
"Category": "QPI_LL POWER_RX Events",
"Defn": "Percent of Cycles the QPI link is at Full Power",
"Desc": "Percent Link Full Power Cycles",
"Equation": "RxL0_POWER_CYCLES / CLOCKTICKS",
},
"QPI_LL.PCT_LINK_HALF_DISABLED_CYCLES": {
"Box": "QPI_LL",
"Category": "QPI_LL POWER_RX Events",
"Defn": "Percent of Cycles the QPI link in power mode where half of the lanes are disabled.",
"Desc": "Percent Link Half Disabled Cycles",
"Equation": "RxL0P_POWER_CYCLES / CLOCKTICKS",
},
"QPI_LL.PCT_LINK_SHUTDOWN_CYCLES": {
"Box": "QPI_LL",
"Category": "QPI_LL POWER Events",
"Defn": "Percent of Cycles the QPI link is Shutdown",
"Desc": "Percent Link Shutdown Cycles",
"Equation": "L1_POWER_CYCLES / CLOCKTICKS",
},
"QPI_LL.QPI_DATA_BW": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Defn": "QPI data transmit bandwidth in Bytes",
"Desc": "QPI Data Bandwidth",
"Equation": "TxL_FLITS_G0.DATA * 8",
},
"QPI_LL.QPI_LINK_BW": {
"Box": "QPI_LL",
"Category": "QPI_LL FLITS_TX Events",
"Defn": "QPI total transmit bandwidth in Bytes (includes control)",
"Desc": "QPI Link Bandwidth",
"Equation": "(TxL_FLITS_G0.DATA + TxL_FLITS_G0.NON_DATA) * 8",
},
#"QPI_LL.QPI_LINK_UTIL": {
# "Box": "QPI_LL",
# "Category": "QPI_LL FLITS_RX Events",
# "Defn": "Percentage of cycles that QPI Link was utilized. Calculated from 1 - Number of idle flits - time the link was 'off'",
# "Desc": "QPI Link Utilization",
# "Equation": "(RxL_FLITS_G0.DATA + RxL_FLITS_G0.NON_DATA) / (2 * CLOCKTICKS)",
#},
# PCU:
#"PCU.PCT_CYC_FREQ_CURRENT_LTD": {
# "Box": "PCU",
# "Category": "PCU FREQ_MAX_LIMIT Events",
# "Defn": "Percentage of Cycles the Max Frequency is limited by current",
# "Desc": "Percent Frequency Current Limited",
# "Equation": "FREQ_MAX_CURRENT_CYCLES / CLOCKTICKS",
#},
"PCU.PCT_CYC_FREQ_OS_LTD": {
"Box": "PCU",
"Category": "PCU FREQ_MAX_LIMIT Events",
"Defn": "Percentage of Cycles the Max Frequency is limited by the OS",
"Desc": "Percent Frequency OS Limited",
"Equation": "FREQ_MAX_OS_CYCLES / CLOCKTICKS",
},
"PCU.PCT_CYC_FREQ_POWER_LTD": {
"Box": "PCU",
"Category": "PCU FREQ_MAX_LIMIT Events",
"Defn": "Percentage of Cycles the Max Frequency is limited by power",
"Desc": "Percent Frequency Power Limited",
"Equation": "FREQ_MAX_POWER_CYCLES / CLOCKTICKS",
},
#"PCU.PCT_CYC_FREQ_THERMAL_LTD": {
# "Box": "PCU",
# "Category": "PCU FREQ_MAX_LIMIT Events",
# "Defn": "Percentage of Cycles the Max Frequency is limited by thermal issues",
# "Desc": "Percent Frequency Thermal Limited",
# "Equation": "FREQ_MAX_THERMAL_CYCLES / CLOCKTICKS",
#},
# R2PCIe:
"R2PCIe.CYC_USED_DN": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Defn": "Cycles Used in the Down direction, Even polarity",
"Desc": "Cycles Used Down and Even",
"Equation": "RING_BL_USED.CCW / SAMPLE_INTERVAL",
},
"R2PCIe.CYC_USED_UP": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Defn": "Cycles Used in the Up direction, Even polarity",
"Desc": "Cycles Used Up and Even",
"Equation": "RING_BL_USED.CW / SAMPLE_INTERVAL",
},
"R2PCIe.RING_THRU_DN_BYTES": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Defn": "Ring throughput in the Down direction, Even polarity in Bytes",
"Desc": "Ring Throughput Down and Even",
"Equation": "RING_BL_USED.CCW* 32",
},
"R2PCIe.RING_THRU_UP_BYTES": {
"Box": "R2PCIe",
"Category": "R2PCIe RING Events",
"Defn": "Ring throughput in the Up direction, Even polarity in Bytes",
"Desc": "Ring Throughput Up and Even",
"Equation": "RING_BL_USED.CW * 32",
},
# CBO:
"CBO.AVG_INGRESS_DEPTH": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Defn": "Average Depth of the Ingress Queue through the sample interval",
"Desc": "Average Ingress Depth",
"Equation": "RxR_OCCUPANCY.IRQ / SAMPLE_INTERVAL",
},
"CBO.AVG_INGRESS_LATENCY": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Defn": "Average Latency of Requests through the Ingress Queue in Uncore Clocks",
"Desc": "Average Ingress Latency",
"Equation": "RxR_OCCUPANCY.IRQ / RxR_INSERTS.IRQ",
},
"CBO.AVG_INGRESS_LATENCY_WHEN_NE": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Defn": "Average Latency of Requests through the Ingress Queue in Uncore Clocks when Ingress Queue has at least one entry",
"Desc": "Average Latency in Non-Empty Ingress",
"Equation": "RxR_OCCUPANCY.IRQ / COUNTER0_OCCUPANCY{edge_det=1,thresh=0x1}",
},
"CBO.AVG_TOR_DRDS_MISS_WHEN_NE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Average Number of Data Read Entries that Miss the LLC when the TOR is not empty.",
"Desc": "Average Data Read Misses in Non-Empty TOR",
"Equation": "(TOR_OCCUPANCY.MISS_OPCODE / COUNTER0_OCCUPANCY{edge_det=1,thresh=0x1}) with:Cn_MSR_PMON_BOX_FILTER1.opc=0x182",
"Filter": "CBoFilter1[28:20]",
},
"CBO.AVG_TOR_DRDS_WHEN_NE": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Average Number of Data Read Entries when the TOR is not empty.",
"Desc": "Average Data Reads in Non-Empty TOR",
"Equation": "(TOR_OCCUPANCY.OPCODE / COUNTER0_OCCUPANCY{edge_det=1,thresh=0x1}) with:Cn_MSR_PMON_BOX_FILTER1.opc=0x182",
"Filter": "CBoFilter1[28:20]",
},
"CBO.AVG_TOR_DRD_HIT_LATENCY": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Average Latency of Data Reads through the TOR that hit the LLC",
"Desc": "Data Read Hit Latency through TOR",
"Equation": "((TOR_OCCUPANCY.OPCODE - TOR_OCCUPANCY.MISS_OPCODE) / (TOR_INSERTS.OPCODE - TOR_INSERTS.MISS_OPCODE)) with:Cn_MSR_PMON_BOX_FILTER.opc=0x182",
"Filter": "CBoFilter1[28:20]",
},
"CBO.AVG_TOR_DRD_LATENCY": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Average Latency of Data Read Entries making their way through the TOR",
"Desc": "Data Read Latency through TOR",
"Equation": "(TOR_OCCUPANCY.OPCODE / TOR_INSERTS.OPCODE) with:Cn_MSR_PMON_BOX_FILTER1.opc=0x182",
"Filter": "CBoFilter1[28:20]",
},
"CBO.AVG_TOR_DRD_LOC_MISS_LATENCY": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Average Latency of Data Reads through the TOR that miss the LLC and were satsified by Local Memory",
"Desc": "Data Read Local Miss Latency through TOR",
"Equation": "(TOR_OCCUPANCY.MISS_OPCODE / TOR_INSERTS.MISS_OPCODE) with:Cn_MSR_PMON_BOX_FILTER1.{opc,nid}={0x182,my_node}",
"Filter": "CBoFilter1[28:20], CBoFilter1[15:0]",
},
"CBO.AVG_TOR_DRD_MISS_LATENCY": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Average Latency of Data Reads through the TOR that miss the LLC",
"Desc": "Data Read Miss Latency through TOR",
"Equation": "(TOR_OCCUPANCY.MISS_OPCODE / TOR_INSERTS.MISS_OPCODE) with:Cn_MSR_PMON_BOX_FILTER1.opc=0x182",
"Filter": "CBoFilter1[28:20]",
},
"CBO.AVG_TOR_DRD_REM_MISS_LATENCY": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Average Latency of Data Reads through the TOR that miss the LLC and were satsified by a Remote cache or Remote Memory",
"Desc": "Data Read Remote Miss Latency through TOR",
"Equation": "(TOR_OCCUPANCY.MISS_OPCODE / TOR_INSERTS.MISS_OPCODE) with:Cn_MSR_PMON_BOX_FILTER.{opc,nid}={0x182,other_nodes}",
"Filter": "CBoFilter1[28:20], CBoFilter1[15:0]",
},
"CBO.CYC_INGRESS_BLOCKED": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Defn": "Cycles the Ingress Request Queue arbiter was Blocked",
"Desc": "Cycles Ingress Blocked",
"Equation": "RxR_EXT_STARVED.IRQ / SAMPLE_INTERVAL",
},
"CBO.CYC_USED_DN": {
"Box": "CBO",
"Category": "CBO RING Events",
"Defn": "Cycles Used in the Down direction, Even polarity",
"Desc": "Cycles Used Down and Even",
"Equation": "RING_BL_USED.CCW / SAMPLE_INTERVAL",
},
"CBO.CYC_USED_UP": {
"Box": "CBO",
"Category": "CBO RING Events",
"Defn": "Cycles Used in the Up direction, Even polarity",
"Desc": "Cycles Used Up and Even",
"Equation": "RING_BL_USED.CW / SAMPLE_INTERVAL",
},
"CBO.FAST_STR_LLC_MISS": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of ItoM (fast string) operations that miss the LLC",
"Desc": "Fast String misses",
# XXX correct?
"Equation": "TOR_INSERTS.MISS_OPCODE with:{Cn_MSR_PMON_BOX_FILTER1.opc=0x1C8, Cn_MSR_PMON_BOX_FILTER0.tid=0x3E}",
"Filter": "CBoFilter1[28:20]",
},
"CBO.FAST_STR_LLC_REQ": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of ItoM (fast string) operations that reference the LLC",
"Desc": "Fast String operations",
# XXX guessing at the minus
"Equation": "TOR_INSERTS.OPCODE with:{Cn_MSR_PMON_BOX_FILTER1.opc=0x1C8, Cn_MSR_PMON_BOX_FILTER0.tid=0x3E} - TOR_INSERTS.OPCODE with:{Cn_MSR_PMON_BOX_FILTER1.opc=0x1C8}",
"Filter": "CBoFilter1[28:20]",
},
"CBO.INGRESS_REJ_V_INS": {
"Box": "CBO",
"Category": "CBO INGRESS Events",
"Defn": "Ratio of Ingress Request Entries that were rejected vs. inserted",
"Desc": "Ingress Rejects vs. Inserts",
"Equation": "RxR_INSERTS.IRQ_REJ / RxR_INSERTS.IRQ",
},
"CBO.IO_READ_BW": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "IO Read Bandwidth in MB - Disk or Network Reads",
"Desc": "IO Read Bandwidth",
"Equation": "(TOR_INSERTS.OPCODE with:{Cn_MSR_PMON_BOX_FILTER0.tid=0x3E, Cn_MSR_PMON_BOX_FILTER1.opc=0x1C8} + TOR_INSERTS.OPCODE with:{Cn_MSR_PMON_BOX_FILTER.opc=0x1E6} ) * 64 / 1000000",
"Filter": "CBoFilter0[5:0], CBoFilter1[28:20]",
},
"CBO.IO_WRITE_BW": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "IO Write Bandwidth in MB - Disk or Network Writes",
"Desc": "IO Write Bandwidth",
"Equation": "(TOR_INSERTS.OPCODE with:Cn_MSR_PMON_BOX_FILTER1.opc=0x19E + TOR_INSERTS.OPCODE with:Cn_MSR_PMON_BOX_FILTER.opc=0x1E4) * 64 / 1000000",
"Filter": "CBoFilter1[28:20]",
},
"CBO.LLC_DRD_MISS_PCT": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Defn": "LLC Data Read miss ratio",
"Desc": "LLC DRD Miss Ratio",
"Equation": "LLC_LOOKUP.DATA_READ with:Cn_MSR_PMON_BOX_FILTER0.state=0x1 / LLC_LOOKUP.DATA_READ with:Cn_MSR_PMON_BOX_FILTER0.state=0x3F",
"Filter": "CBoFilter0[23:17]",
},
"CBO.LLC_RFO_MISS_PCT": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "LLC RFO Miss Ratio",
"Desc": "LLC RFO Miss Ratio",
"Equation": "(TOR_INSERTS.MISS_OPCODE / TOR_INSERTS.OPCODE) with:Cn_MSR_PMON_BOX_FILTER1.opc=0x180 - (TOR_INSERTS.MISS_OPCODE / TOR_INSERTS.OPCODE) with:{Cn_MSR_PMON_BOX_FILTER0.tid=0x3E, Cn_MSR_PMON_BOX_FILTER1.opc=0x180}",
"Filter": "CBoFilter1[28:20]",
},
"CBO.MEM_WB_BYTES": {
"Box": "CBO",
"Category": "CBO CACHE Events",
"Defn": "Data written back to memory in Number of Bytes",
"Desc": "Memory Writebacks",
"Equation": "LLC_VICTIMS.M_STATE * 64",
},
"CBO.MMIO_PARTIAL_READS_CPU": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of Partial MMIO Reads initiated by a Core",
"Desc": "MMIO Partial Reads - CPU",
"Equation": "TOR_INSERTS.OPCODE with:{Cn_MSR_PMON_BOX_FILTER0.nc=1, Cn_MSR_PMON_BOX_FILTER1.opc=0x187}",
"Filter": "CBoFilter1[28:20], CBoFilter1[30]",
},
"CBO.MMIO_WRITES_CPU": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of MMIO Writes initiated by a Core",
"Desc": "MMIO Writes - CPU",
"Equation": "TOR_INSERTS.OPCODE with:{Cn_MSR_PMON_BOX_FILTER0.nc=1, Cn_MSR_PMON_BOX_FILTER1.opc=0x18F}",
"Filter": "CBoFilter1[28:20], CBoFilter1[30]",
},
"CBO.PARTIAL_PCI_WRITES": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of partial PCI writes",
"Desc": "Partial PCI Writes",
"Equation": "TOR_INSERTS.OPCODE with:{Cn_MSR_PMON_BOX_FILTER0.tid=0x3E,Cn_MSR_PMON_BOX_FILTER1.opc=0x180}",
"Filter": "CBoFilter0[5:0], CBoFilter1[28:20]",
},
"CBO.PCI_READS": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of PCI reads (full and partial)",
"Desc": "PCI Reads",
"Equation": "TOR_INSERTS.OPCODE with:Cn_MSR_PMON_BOX_FILTER1.opc=0x19E",
"Filter": "CBoFilter1[28:20]",
},
"CBO.PCI_WRITES": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of PCI writes",
"Desc": "PCI Writes",
"Equation": "TOR_INSERTS.OPCODE with:{Cn_MSR_PMON_BOX_FILTER0.tid=0x3E,Cn_MSR_PMON_BOX_FILTER1.opc=0x1C8}",
"Filter": "CBoFilter0[5:0], CBoFilter1[28:20]",
},
#"CBO.RING_THRU_DN_BYTES": {
# "Box": "CBO",
# "Category": "CBO RING Events",
# "Defn": "Ring throughput in the Down direction, Even polarity in Bytes",
# "Desc": "Ring Throughput Down and Even",
# "Equation": "RING_BL_USED.CCW* 32",
#},
#"CBO.RING_THRU_UP_BYTES": {
# "Box": "CBO",
# "Category": "CBO RING Events",
# "Defn": "Ring throughput in the Up direction, Even polarity in Bytes",
# "Desc": "Ring Throughput Up and Even",
# "Equation": "RING_BL_USED.CW * 32",
#},
"CBO.STREAMED_FULL_STORES": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of Streamed Store (of Full Cache Line) Transactions",
"Desc": "Streaming Stores (Full Line)",
"Equation": "TOR_INSERTS.OPCODE with:Cn_MSR_PMON_BOX_FILTER1.opc=0x18C",
"Filter": "CBoFilter1[28:20]",
},
"CBO.STREAMED_PART_STORES": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Number of Streamed Store (of Partial Cache Line) Transactions",
"Desc": "Streaming Stores (Partial Line)",
"Equation": "TOR_INSERTS.OPCODE with:Cn_MSR_PMON_BOX_FILTER1.opc=0x18D",
"Filter": "CBoFilter1[28:20]",
},
"CBO.UC_READS": {
"Box": "CBO",
"Category": "CBO TOR Events",
"Defn": "Uncachable Read Transactions",
"Desc": "Uncacheable Reads",
"Equation": "TOR_INSERTS.MISS_OPCODE with:Cn_MSR_PMON_BOX_FILTER1.opc=0x187",
"Filter": "CBoFilter1[28:20]",
},
# R3QPI:
# HA:
#"HA.HITME_INSERTS": {
# "Box": "HA",
# "Category": "HA HitME Events",
# "Equation": "HITME_LOOKUP.ALLOCS - HITME_HITS.ALLOCS",
#},
"HA.HITME_INVAL": {
"Box": "HA",
"Category": "HA HitME Events",
"Equation": "HITME_HIT.INVALS",
},
"HA.PCT_CYCLES_BL_FULL": {
"Box": "HA",
"Category": "HA EGRESS Events",
"Defn": "Percentage of time the BL Egress Queue is full",
"Desc": "Percent BL Egress Full",
"Equation": "TxR_BL_CYCLES_FULL.ALL / SAMPLE_INTERVAL",
},
"HA.PCT_CYCLES_D2C_DISABLED": {
"Box": "HA",
"Category": "HA DIRECT2CORE Events",
"Defn": "Percentage of time that Direct2Core was disabled.",
"Desc": "Percent D2C Disabled",
"Equation": "DIRECT2CORE_CYCLES_DISABLED / SAMPLE_INTERVAL",
},
"HA.PCT_RD_REQUESTS": {
"Box": "HA",
"Category": "HA REQUESTS Events",
"Defn": "Percentage of HA traffic that is from Read Requests",
"Desc": "Percent Read Requests",
"Equation": "REQUESTS.READS / (REQUESTS.READS + REQUESTS.WRITES)",
},
"HA.PCT_WR_REQUESTS": {
"Box": "HA",
"Category": "HA REQUESTS Events",
"Defn": "Percentage of HA traffic that is from Write Requests",
"Desc": "Percent Write Requests",
"Equation": "REQUESTS.WRITES / (REQUESTS.READS + REQUESTS.WRITES)",
},
# SBO:
#"SBO.CYC_USED_DNEVEN": {
# "Box": "SBO",
# "Category": "SBO RING Events",
# "Defn": "Cycles Used in the Down direction, Even polarity",
# "Desc": "Cycles Used Down and Even",
# "Equation": "RING_BL_USED.DN_EVEN / TOTAL_CORE_CYCLES",
#},
#"SBO.CYC_USED_DNODD": {
# "Box": "SBO",
# "Category": "SBO RING Events",
# "Defn": "Cycles Used in the Down direction, Odd polarity",
# "Desc": "Cycles Used Down and Odd",
# "Equation": "RING_BL_USED.DN_ODD / TOTAL_CORE_CYCLES",
#},
"SBO.CYC_USED_UPEVEN": {
"Box": "SBO",
"Category": "SBO RING Events",
"Defn": "Cycles Used in the Up direction, Even polarity",
"Desc": "Cycles Used Up and Even",
"Equation": "RING_BL_USED.UP_EVEN / TOTAL_CORE_CYCLES",
},
"SBO.CYC_USED_UPODD": {
"Box": "SBO",
"Category": "SBO RING Events",
"Defn": "Cycles Used in the Up direction, Odd polarity",
"Desc": "Cycles Used Up and Odd",
"Equation": "RING_BL_USED.UP_ODD / TOTAL_CORE_CYCLES",
},
#"SBO.RING_THRU_DNEVEN_BYTES": {
# "Box": "SBO",
# "Category": "SBO RING Events",
# "Defn": "Ring throughput in the Down direction, Even polarity in Bytes",
# "Desc": "Ring Throughput Down and Even",
# "Equation": "RING_BL_USED.DN_EVEN * 32",
#},
#"SBO.RING_THRU_DNODD_BYTES": {
# "Box": "SBO",
# "Category": "SBO RING Events",
# "Defn": "Ring throughput in the Down direction, Odd polarity in Bytes",
# "Desc": "Ring Throughput Down and Odd",
# "Equation": "RING_BL_USED.DN_ODD * 32",
#},
"SBO.RING_THRU_UPEVEN_BYTES": {
"Box": "SBO",
"Category": "SBO RING Events",
"Defn": "Ring throughput in the Up direction, Even polarity in Bytes",
"Desc": "Ring Throughput Up and Even",
"Equation": "RING_BL_USED.UP_EVEN * 32",
},
"SBO.RING_THRU_UPODD_BYTES": {
"Box": "SBO",
"Category": "SBO RING Events",
"Defn": "Ring throughput in the Up direction, Odd polarity in Bytes",
"Desc": "Ring Throughput Up and Odd",
"Equation": "RING_BL_USED.UP_ODD * 32",
},
# iMC:
"iMC.MEM_BW_READS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Defn": "Memory bandwidth consumed by reads. Expressed in bytes.",
"Desc": "Read Memory Bandwidth",
"Equation": "(CAS_COUNT.RD * 64)",
},
"iMC.MEM_BW_TOTAL": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Defn": "Total memory bandwidth. Expressed in bytes.",
"Desc": "Total Memory Bandwidth",
"Equation": "MEM_BW_READS + MEM_BW_WRITES",
},
"iMC.MEM_BW_WRITES": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Defn": "Memory bandwidth consumed by writes Expressed in bytes.",
"Desc": "Write Memory Bandwidth",
"Equation": "(CAS_COUNT.WR * 64)",
},
"iMC.PCT_CYCLES_CRITICAL_THROTTLE": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Defn": "The percentage of cycles all DRAM ranks in critical thermal throttling",
"Desc": "Percent Cycles Critical Throttle",
"Equation": "POWER_CRITICAL_THROTTLE_CYCLES / MC_Chy_PCI_PMON_CTR_FIXED",
},
"iMC.PCT_CYCLES_DLLOFF": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Defn": "The percentage of cycles all DRAM ranks in CKE slow (DLOFF) mode",
"Desc": "Percent Cycles DLOFF",
"Equation": "POWER_CHANNEL_DLLOFF / MC_Chy_PCI_PMON_CTR_FIXED",
},
"iMC.PCT_CYCLES_DRAM_RANKx_IN_CKE": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Defn": "The percentage of cycles DRAM rank (x) spent in CKE ON mode.",
"Desc": "Percent Cycles DRAM Rank x in CKE",
"Equation": "POWER_CKE_CYCLES.RANKx / MC_Chy_PCI_PMON_CTR_FIXED",
},
"iMC.PCT_CYCLES_DRAM_RANKx_IN_THR": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Defn": "The percentage of cycles DRAM rank (x) spent in thermal throttling.",
"Desc": "Percent Cycles DRAM Rank x in CKE",
"Equation": "POWER_THROTTLE_CYCLES.RANKx / MC_Chy_PCI_PMON_CTR_FIXED",
},
"iMC.PCT_CYCLES_PPD": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Defn": "The percentage of cycles all DRAM ranks in PPD mode",
"Desc": "Percent Cycles PPD",
"Equation": "POWER_CHANNEL_PPD / MC_Chy_PCI_PMON_CTR_FIXED",
},
"iMC.PCT_CYCLES_SELF_REFRESH": {
"Box": "iMC",
"Category": "iMC POWER Events",
"Defn": "The percentage of cycles Memory is in self refresh power mode",
"Desc": "Percent Cycles Self Refresh",
"Equation": "POWER_SELF_REFRESH / MC_Chy_PCI_PMON_CTR_FIXED",
},
# "iMC.PCT_RD_REQUESTS": {
# "Box": "iMC",
# "Category": "iMC RPQ Events",
# "Defn": "Percentage of read requests from total requests.",
# "Desc": "Percent Read Requests",
# "Equation": "RPQ_INSERTS / (RPQ_INSERTS + WPQ_INSERTS)",
# },
"iMC.PCT_REQUESTS_PAGE_EMPTY": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Defn": "Percentage of memory requests that resulted in Page Empty",
"Desc": "Percent Requests Page Empty",
"Equation": "(ACT_COUNT - PRE_COUNT.PAGE_MISS)/ (CAS_COUNT.RD + CAS_COUNT.WR)",
},
"iMC.PCT_REQUESTS_PAGE_HIT": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Defn": "Percentage of memory requests that resulted in Page Hits",
"Desc": "Percent Requests Page Hit",
"Equation": "1 - (PCT_REQUESTS_PAGE_EMPTY + PCT_REQUESTS_PAGE_MISS)",
},
"iMC.PCT_REQUESTS_PAGE_MISS": {
"Box": "iMC",
"Category": "iMC CAS Events",
"Defn": "Percentage of memory requests that resulted in Page Misses",
"Desc": "Percent Requests Page Miss",
"Equation": "PRE_COUNT.PAGE_MISS / (CAS_COUNT.RD + CAS_COUNT.WR)",
},
#"iMC.PCT_WR_REQUESTS": {
# "Box": "iMC",
# "Category": "iMC WPQ Events",
# "Defn": "Percentage of write requests from total requests.",
# "Desc": "Percent Write Requests",
# "Equation": "WPQ_INSERTS / (RPQ_INSERTS + WPQ_INSERTS)",
#},
}
categories = (
"CBO CACHE Events",
"CBO EGRESS Events",
"CBO INGRESS Events",
"CBO INGRESS_RETRY Events",
"CBO MISC Events",
"CBO OCCUPANCY Events",
"CBO RING Events",
"CBO SBO Credit Events",
"CBO TOR Events",
"CBO UCLK Events",
"HA ADDR_OPCODE_MATCH Events",
"HA BL_EGRESS Events",
"HA BT (Backup Tracker) Events",
"HA BYPASS Events",
"HA CONFLICTS Events",
"HA DIRECT2CORE Events",
"HA DIRECTORY Events",
"HA EGRESS Events",
"HA HitME Events",
"HA IMC_MISC Events",
"HA IMC_READS Events",
"HA IMC_WRITES Events",
"HA OSB (Opportunistic Snoop Broadcast) Events",
"HA OUTBOUND_TX Events",
"HA QPI_IGR_CREDITS Events",
"HA REQUESTS Events",
"HA RING Events",
"HA RPQ_CREDITS Events",
"HA SBO Credit Events",
"HA SNOOPS Events",
"HA SNP_RESP Events",
"HA TAD Events",
"HA TRACKER Events",
"HA UCLK Events",
"HA WPQ_CREDITS Events",
"IRP AK_INGRESS Events",
"IRP BL_INGRESS_DRS Events",
"IRP BL_INGRESS_NCB Events",
"IRP BL_INGRESS_NCS Events",
"IRP Coherency Events",
"IRP IO_CLKS Events",
"IRP MISC Events",
"IRP OUTBOUND_REQUESTS Events",
"IRP STALL_CYCLES Events",
"IRP TRANSACTIONS Events",
"IRP WRITE_CACHE Events",
"PCU CORE_C_STATE_TRANSITION Events",
"PCU FREQ_MAX_LIMIT Events",
"PCU FREQ_MIN_LIMIT Events",
"PCU FREQ_RESIDENCY Events",
"PCU FREQ_TRANS Events",
"PCU MEMORY_PHASE_SHEDDING Events",
"PCU PCLK Events",
"PCU PKG_C_STATE_RESIDENCY Events",
"PCU POWER_STATE_OCC Events",
"PCU PROCHOT Events",
"PCU VR_HOT Events",
"QPI_LL CFCLK Events",
"QPI_LL CTO Events",
"QPI_LL DIRECT2CORE Events",
"QPI_LL FLITS_RX Events",
"QPI_LL FLITS_TX Events",
"QPI_LL POWER Events",
"QPI_LL POWER_RX Events",
"QPI_LL POWER_TX Events",
"QPI_LL R3QPI_EGRESS_CREDITS Events",
"QPI_LL RXQ Events",
"QPI_LL RX_CREDITS_CONSUMED Events",
"QPI_LL TXQ Events",
"QPI_LL VNA_CREDIT_RETURN Events",
"R2PCIe EGRESS Events",
"R2PCIe IIO Credit Events",
"R2PCIe INGRESS Events",
"R2PCIe RING Events",
"R2PCIe SBO Credit Events",
"R2PCIe UCLK Events",
"R3QPI EGRESS Credit Events",
"R3QPI EGRESS Events",
"R3QPI INGRESS Events",
"R3QPI LINK_VN0_CREDITS Events",
"R3QPI LINK_VN1_CREDITS Events",
"R3QPI LINK_VNA_CREDITS Events",
"R3QPI RING Events",
"R3QPI SBO Credit Events",
"R3QPI UCLK Events",
"SBO EGRESS Events",
"SBO INGRESS Events",
"SBO RING Events",
"SBO UCLK Events",
"UBOX EVENT_MSG Events",
"UBOX PHOLD Events",
"UBOX RACU Events",
"iMC ACT Events",
"iMC BYPASS Command Events",
"iMC CAS Events",
"iMC DCLK Events",
"iMC DRAM_PRE_ALL Events",
"iMC DRAM_REFRESH Events",
"iMC ECC Events",
"iMC MAJOR_MODES Events",
"iMC POWER Events",
"iMC PRE Events",
"iMC PREEMPTION Events",
"iMC RPQ Events",
"iMC VMSE Events",
"iMC WPQ Events",
);
|
def find_syntax_error(line):
correct = True
incorrect_char = None
complete = True
closing_chars = []
to_close = []
chunk_characters = {
'(': ')',
'{': '}',
'[': ']',
'<': '>'
}
for char in line:
if char in chunk_characters.keys():
to_close.append(char)
else:
if chunk_characters[to_close[-1]] == char:
to_close.pop()
else:
incorrect_char = char
correct = False
break
if correct and len(to_close) > 0:
complete = False
to_close = reversed(to_close)
for char in to_close:
closing_chars.append(chunk_characters[char])
return correct, incorrect_char, complete, closing_chars
def calculate_value_incorrect(incorrect_chars):
scores_dict = {
')': 3,
']': 57,
'}': 1197,
'>': 25137
}
score = 0
for char in incorrect_chars:
score += scores_dict[char]
return score
def calculate_value_incomplete(closing_chars):
scores_dict = {
')': 1,
']': 2,
'}': 3,
'>': 4,
}
total_score = 0
for char in closing_chars:
total_score = 5 * total_score
total_score += scores_dict[char]
print(closing_chars, total_score)
return total_score
if __name__ == '__main__':
input = open('./day 10/Martijn - Python/input.txt').readlines()
illegal_chars = []
incomplete_scores = []
for line in input:
line = line.strip()
correct, incorrect_char, complete, closing_chars = find_syntax_error(line)
if not correct:
illegal_chars.append(incorrect_char)
if not complete:
score_closing_chars = calculate_value_incomplete(closing_chars)
incomplete_scores.append(score_closing_chars)
score_incorrect = calculate_value_incorrect(illegal_chars)
print(score_incorrect)
incomplete_scores.sort()
middle_index = len(incomplete_scores) // 2
incomplete_score = incomplete_scores[middle_index]
print(incomplete_score)
|
class Solution:
def getMaximumGenerated(self, n: int) -> int:
nums = [0,1] + [0]*(n-1)
if n < 2: return nums[n]
for i in range(2, n+1):
if i % 2 == 0 and i//2 <= n:
nums[i] = nums[i//2]
if i % 2 == 1 and i//2 + 1 <= n:
nums[i] = nums[i//2] + nums[i//2+1]
return max(nums)
|
# Copyright 2018 The go-python Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
doc="str"
assert str(b"") == "b''"
assert str(b"hello") == r"b'hello'"
assert str(rb"""hel"lo""") == r"""b'hel"lo'"""
assert str(b"""he
llo""") == r"""b'he\nllo'"""
assert str(rb"""hel'lo""") == r'''b"hel'lo"'''
assert str(b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff') == r"""b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff'"""
doc="repr"
assert repr(b"") == "b''"
assert repr(b"hello") == r"b'hello'"
assert repr(rb"""hel"lo""") == r"""b'hel"lo'"""
assert repr(b"""he
llo""") == r"""b'he\nllo'"""
assert repr(rb"""hel'lo""") == r'''b"hel'lo"'''
assert repr(b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff') == r"""b'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff'"""
doc="finished"
|
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
def __repr__(self):
return f"{self.val} -> {self.next}"
def mergeLists(lists: List[ListNode]) -> ListNode:
processed_lists = set()
head = None
ptr = None
while True:
# нахождение наименьшего
node_value, index = None, None
for ix, node in enumerate(lists):
if (node is not None) and (node_value is None or node.val < node_value):
node_value, index = node.val, ix
if node_value is None:
break
# добавление в список
if not head:
head = ListNode(node_value)
ptr = head
else:
ptr.next = ListNode(node_value)
ptr = ptr.next
# перемотка
lists[index] = lists[index].next
return head
|
setup(
name="better-max-tools-installer",
version="1.0.0",
description="Installer for the Better Max Tools Python package.",
long_description="",
long_description_content_type="text/markdown",
url="https://github.com/thomascswalker/better-max-tools",
author="Thomas Walker",
author_email="thomascswalker@gmail.com",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
],
packages=["reader"],
include_package_data=True,
install_requires=[],
entry_points={
"console_scripts": ["better-max-tools-installer=installer.__main__:main"]
},
)
|
def merge(A, left, mid, right):
global cnt
inf = 10**9
L = A[left:mid] + [inf]
R = A[mid:right] + [inf]
i = 0
j = 0
for k in range(left, right):
cnt += 1
if L[i] < R[j]:
A[k] = L[i]
i += 1
else:
A[k] = R[j]
j += 1
def merge_sort(A, left, right):
if left + 1 < right:
mid = (left+right) // 2
merge_sort(A, left, mid)
merge_sort(A, mid, right)
merge(A, left, mid, right)
n = int(input())
A = list(map(int, input().split()))
cnt = 0
merge_sort(A, 0, n)
print(' '.join(str(i) for i in A))
print(cnt)
|
""" Python Program to check Armstrong Number (as 153) """
def checkArmstrong(num):
num = str(num)
order = len(num)
res = 0
for i in num:
res += pow(int(i),order)
return True if res == int(num) else False
N = int(input("Enter the number: "))
if checkArmstrong(N):
print(N,"is an armstrong number!")
else:
print(N,"is NOT an armstrong number!")
|
class Solution:
def recursiveExist(self, board, i, j, visited, word, k):
# visited.add((i, j))
visited.append((i, j))
if k == len(word):
return True
elif board[i][j] == word[k]:
for di, dj in [[0, 1], [0, -1], [1, 0], [-1, 0]]:
i_, j_ = i + di, j + dj
if 0 <= i_ < len(board) and 0 <= j_ < len(board[0]):
if (i_, j_) not in visited:
if self.recursiveExist(board, i_, j_, visited, word, k + 1):
return True
if k + 1 == len(word):
return True
visited.remove((i, j))
return False
def exist(self, board, word):
"""
:type board: List[List[str]]
:type word: str
:rtype: bool
"""
for i in range(len(board)):
for j in range(len(board[0])):
if self.recursiveExist(board, i, j, [], word, 0):
return True
return False
board = [["a"]]
board = [
["A", "B", "C", "E"],
["S", "F", "E", "S"],
["A", "D", "E", "E"]
]
s = Solution().exist(board, "ABCESEEEFS")
assert s
# s = Solution().exist(board, "ABCCED")
# assert s
# s = Solution().exist(board, "SEE")
# assert s
# s = Solution().exist(board, "ABCB")
# assert not s
|
class Weekdays(object):
"""A mock enum. When pep 435 rolls out, this can be upgraded to be a proper
enum.
ref: http://www.python.org/dev/peps/pep-0435/
"""
Sunday = 0
Monday = 1
Tuesday = 2
Wednesday = 3
Thursday = 4
Friday = 5
Saturday = 6
_to_string = {
0: 'Sunday',
1: 'Monday',
2: 'Tuesday',
3: 'Wednesday',
4: 'Thursday',
5: 'Friday',
6: 'Saturday'
}
@classmethod
def str(cls, value):
return cls._to_string[value]
|
thislist = ["apple", "banana", "cherry", "orange", "kiwi", "mango"]
thislist[1:3] = ["blackcurrant", "watermelon"]
print(thislist)
|
print("Hello Word.")
def nome(parameter_list):
a = parameter_list.split(" ", 2)
print(a)
nome('dag cirino mano dev')
nome('dagmar aparecido')
|
def construct_square(s):
p = len(s)
d_max = int((10**p)**.5)
d_min = int((10**(p-1))**.5)
for d in range(d_max, d_min -1, -1):
n = str(d * d)
if sorted(s.count(c) for c in set(s)) == sorted(n.count(c) for c in set(n)):
return int(n)
return -1
if __name__ == '__main__':
s = 'ab'
print(construct_square(s))
|
# Lexical scoping in Python and an interesting scenario with resolving value in class.
# Author: Zhuo Lu
# Test suite 1
def test1():
"""
Try to change a nonlocal variable of a parent frame.
"""
def noeffect():
# Uncomment the following line to show that local variable referenced before assignment
# NB: UnboundLocalError will be raised
# print(a)
a = 2 # Does not affect `a` in the frame of `test1()`
print(a)
a = 1
print(a)
noeffect()
print(a)
# Test suite 2
def test2():
"""
Correct way to change a nonlocal variable.
"""
def affect():
# Uncomment the following lines to show use of local variable before calling nonlocal
# NB: SyntaxWarning will be raised on that `a` is assigned before nonlocal declaration
# print(a)
# a = 3
# print(a)
# Use of nonlocal statement to modify variable from parent frame (excluding global)
nonlocal a
print(a)
a = 2
print(a)
a = 1
print(a)
affect()
print(a)
|
# nested2.py
#
# Nested loop Example 2
# CSC 110
# Fall 2011
#accumulators for the outer loop
sumOuter = 0
for outer in [1, 2, 3, 4]:
print('Outer loop iteration', outer)
sumOuter += outer
sumInner = 0 # accumulator for this inner loop
# notice that the inner loop's repetitions is based on the value
# of the outer loop's control variable
for inner in range(1, outer + 1):
print(' Inner loop iteration', inner)
sumInner += inner
# after the inner loop finishes, display its sum
print(' Inner loop sum = ', sumInner)
print()
#after the outer loop finishes, display its sum
print('Outer loop sum = ', sumOuter)
|
class Atom(object):
""" """
def __init__(self, index, name=None, residue_index=-1, residue_name=None):
"""Create an Atom object
Args:
index (int): index of atom in the molecule
name (str): name of the atom (eg., N, CH)
residue_index (int): index of residue in the molecule
residue_name (str): name of the residue (eg., THR, CYS)
"""
self.index = index
self.name = name
self.residue_index = residue_index
self.residue_name = residue_name
self._position = list()
self._velocity = list()
self._force = list()
self._atomtype = dict()
self.bondingtype = None
self.atomic_number = None
self.cgnr = None
self._mass = dict()
self._charge = dict()
self.ptype = "A"
self._sigma = dict()
self._epsilon = dict()
@property
def atomtype(self):
return self._atomtype
@atomtype.setter
def atomtype(self, index_atomtype):
"""Sets the atomtype
Args:
index_atomtype (tuple): A or B state and atomtype
"""
try:
idx, val = index_atomtype
except ValueError:
raise ValueError("Pass an iterable with two items.")
else:
self._atomtype[idx] = val
@property
def sigma(self):
return self._sigma
@sigma.setter
def sigma(self, index_sigma):
"""Sets the sigma
Args:
index_sigma (tuple): A or B state and sigma
"""
try:
idx, val = index_sigma
except ValueError:
raise ValueError("Pass an iterable with two items.")
else:
self._sigma[idx] = val
@property
def epsilon(self):
return self._epsilon
@epsilon.setter
def epsilon(self, index_epsilon):
"""Sets the epsilon
Args:
index_epsilon (tuple): A or B state and epsilon
"""
try:
idx, val = index_epsilon
except ValueError:
raise ValueError("Pass an iterable with two items.")
else:
self._epsilon[idx] = val
@property
def mass(self):
return self._mass
@mass.setter
def mass(self, index_mass):
"""Sets the mass
Args:
index_mass (tuple): A or B state and mass
"""
try:
idx, val = index_mass
except ValueError:
raise ValueError("Pass an iterable with two items.")
else:
self._mass[idx] = val
@property
def charge(self):
return self._charge
@charge.setter
def charge(self, index_charge):
"""Sets the charge
Args:
index_charge (tuple): A or B state and charge
"""
try:
idx, val = index_charge
except ValueError:
raise ValueError("Pass an iterable with two items.")
else:
self._charge[idx] = val
@property
def position(self):
"""Return the cartesian coordinates of the atom """
return self._position
@position.setter
def position(self, xyz):
"""Sets the position of the atom
Args:
xyz (list, float): x, y and z coordinates
"""
self._position = xyz
@property
def velocity(self):
"""Return the velocity of the atom"""
return self._velocity
@velocity.setter
def velocity(self, vxyz):
"""Sets the velocity of the atom
Args:
vxyz (list, float): x-, y- and z-directed velocity
"""
self._velocity = vxyz
@property
def force(self):
"""Return the force on the atom """
return self._force
@force.setter
def force(self, fxyz):
"""Sets the force on the atom
Args:
fxyz (list, float): x-, y- and z-directed force
"""
self._force = fxyz
def __repr__(self):
return 'Atom{0}({1}, {2})'.format(id(self), self.index, self.name)
def __str__(self):
return 'Atom({0}, {1})'.format(self.index, self.name)
|
#-----------------------------------------------------------------------------#
# MODULE DESCRIPTION #
#-----------------------------------------------------------------------------#
"""RedBrick Options Module; contains RBOpt class."""
#-----------------------------------------------------------------------------#
# DATA #
#-----------------------------------------------------------------------------#
__version__ = '$Revision: 1.5 $'
__author__ = 'Cillian Sharkey'
#-----------------------------------------------------------------------------#
# CLASSES #
#-----------------------------------------------------------------------------#
class RBOpt:
"""Class for storing options to be shared by modules"""
def __init__(self):
"""Create new RBOpt object."""
# Used by all modules.
self.override = None
# Used by useradm, RBUserDB & RBAccount.
self.test = None
# Used by useradm & rrs.
self.mode = None
self.setpasswd = None
# Used by useradm.
self.args = []
self.help = None
self.uid = None
self.dbonly = None
self.aconly = None
self.updatedby = None
self.newbie = None
self.mailuser = None
self.usertype = None
self.cn = None
self.altmail = None
self.id = None
self.course = None
self.year = None
self.yearsPaid = None
self.birthday = None
self.loginShell = None
self.quiet = None
self.rrslog = None
self.presync = None
# Used by rrs.
self.action = None
|
def method1(ll1, ll2, n1, n2):
hs = set()
for i in range(0, n1):
hs.add(ll1[i])
print("Intersection:")
for i in range(0, n2):
if ll2[i] in hs:
print(ll2[i], end=" ")
if __name__ == "__main__":
"""
from timeit import timeit
ll1 = [7, 1, 5, 2, 3, 6]
ll2 = [3, 8, 6, 20, 7]
n1 = len(ll1)
n2 = len(ll2)
print(timeit(lambda: method1(ll1, ll2, n1, n2), number=10000)) # 0.11873356500291266
"""
|
# rock = 0
# paper = 1
# scissors = 2
# paper beats rock
# scissors beats paper
# rock beats scissors
print("Player 1: Type 0 for rock, type 1 for paper, type 2 for scissors")
first_player = int(input())
print("Player 2: Type 0 for rock, type 1 for paper, type 2 for scissors")
second_player = int(input())
if first_player == 1 and second_player == 0:
print("Player 1 wins")
elif first_player == 2 and second_player == 1:
print("Player 1 wins")
elif first_player == 0 and second_player == 2:
print("Player 1 wins")
elif second_player == 1 and first_player == 0:
print("Player 2 wins")
elif second_player == 2 and first_player == 1:
print("Player 2 wins")
elif second_player == 0 and first_player == 2:
print("Player 2 wins")
else:
print("Still working on it")
|
#!/usr/bin/env python3
"""
Module with functions to performs element-wise operations
"""
def np_elementwise(mat1, mat2):
"""
addition, subtraction, multiplication, and division
Returns the new matrix
"""
return(mat1 + mat2, mat1 - mat2, mat1 * mat2, mat1 / mat2)
|
table_id_map = {
1: "__all_core_table",
2: "__all_root_table",
3: "__all_table",
4: "__all_column",
5: "__all_ddl_operation",
101: "__all_meta_table",
102: "__all_user",
103: "__all_user_history",
104: "__all_database",
105: "__all_database_history",
106: "__all_tablegroup",
107: "__all_tablegroup_history",
108: "__all_tenant",
109: "__all_tenant_history",
110: "__all_table_privilege",
111: "__all_table_privilege_history",
112: "__all_database_privilege",
113: "__all_database_privilege_history",
114: "__all_table_history",
115: "__all_column_history",
116: "__all_zone",
117: "__all_server",
118: "__all_sys_parameter",
120: "__all_sys_variable",
121: "__all_sys_stat",
122: "__all_column_statistic",
123: "__all_unit",
124: "__all_unit_config",
125: "__all_resource_pool",
126: "__all_tenant_resource_usage",
127: "__all_sequence",
128: "__all_charset",
129: "__all_collation",
130: "help_topic",
131: "help_category",
132: "help_keyword",
133: "help_relation",
134: "__all_local_index_status",
135: "__all_dummy",
136: "__all_frozen_map",
137: "__all_clog_history_info",
139: "__all_clog_history_info_v2",
140: "__all_rootservice_event_history",
141: "__all_privilege",
142: "__all_outline",
143: "__all_outline_history",
144: "__all_election_event_history",
145: "__all_recyclebin",
146: "__all_part",
147: "__all_part_history",
148: "__all_sub_part",
149: "__all_sub_part_history",
150: "__all_part_info",
151: "__all_part_info_history",
152: "__all_def_sub_part",
153: "__all_def_sub_part_history",
154: "__all_server_event_history",
155: "__all_rootservice_job",
156: "__all_unit_load_history",
157: "__all_sys_variable_history",
158: "__all_restore_job",
159: "__all_restore_task",
160: "__all_restore_job_history",
161: "__all_time_zone",
162: "__all_time_zone_name",
163: "__all_time_zone_transition",
164: "__all_time_zone_transition_type",
165: "__all_ddl_id",
166: "__all_foreign_key",
167: "__all_foreign_key_history",
168: "__all_foreign_key_column",
169: "__all_foreign_key_column_history",
180: "__all_synonym",
181: "__all_synonym_history",
182: "__all_sequence_v2",
183: "__all_tenant_meta_table",
184: "__all_plan_baseline",
185: "__all_plan_baseline_history",
186: "__all_index_wait_transaction_status",
187: "__all_index_schedule_task",
188: "__all_index_checksum",
189: "__all_routine",
190: "__all_routine_history",
191: "__all_routine_param",
192: "__all_routine_param_history",
193: "__all_table_stat",
194: "__all_column_stat",
195: "__all_histogram_stat",
196: "__all_package",
197: "__all_package_history",
198: "__all_sql_execute_task",
199: "__all_index_build_stat",
200: "__all_build_index_param",
201: "__all_global_index_data_src",
202: "__all_acquired_snapshot",
203: "__all_immediate_effect_index_sstable",
204: "__all_sstable_checksum",
205: "__all_tenant_gc_partition_info",
206: "__all_constraint",
207: "__all_constraint_history",
208: "__all_ori_schema_version",
209: "__all_func",
210: "__all_func_history",
211: "__all_temp_table",
212: "__all_sstable_column_checksum",
213: "__all_sequence_object",
214: "__all_sequence_object_history",
215: "__all_sequence_value",
216: "__all_tenant_plan_baseline",
217: "__all_tenant_plan_baseline_history",
10001: "__tenant_virtual_all_table",
10002: "__tenant_virtual_table_column",
10003: "__tenant_virtual_table_index",
10004: "__tenant_virtual_show_create_database",
10005: "__tenant_virtual_show_create_table",
10006: "__tenant_virtual_session_variable",
10007: "__tenant_virtual_privilege_grant",
10008: "__all_virtual_processlist",
10009: "__tenant_virtual_warning",
10010: "__tenant_virtual_current_tenant",
10011: "__tenant_virtual_database_status",
10012: "__tenant_virtual_tenant_status",
10013: "__tenant_virtual_interm_result",
10014: "__tenant_virtual_partition_stat",
10015: "__tenant_virtual_statname",
10016: "__tenant_virtual_event_name",
10017: "__tenant_virtual_global_variable",
10018: "__tenant_virtual_show_tables",
10019: "__tenant_virtual_show_create_procedure",
11001: "__all_virtual_core_meta_table",
11002: "__all_virtual_zone_stat",
11003: "__all_virtual_plan_cache_stat",
11004: "__all_virtual_plan_stat",
11006: "__all_virtual_mem_leak_checker_info",
11007: "__all_virtual_latch",
11008: "__all_virtual_kvcache_info",
11009: "__all_virtual_data_type_class",
11010: "__all_virtual_data_type",
11011: "__all_virtual_server_stat",
11012: "__all_virtual_rebalance_task_stat",
11013: "__all_virtual_session_event",
11014: "__all_virtual_session_wait",
11015: "__all_virtual_session_wait_history",
11017: "__all_virtual_system_event",
11018: "__all_virtual_tenant_memstore_info",
11019: "__all_virtual_concurrency_object_pool",
11020: "__all_virtual_sesstat",
11021: "__all_virtual_sysstat",
11022: "__all_virtual_storage_stat",
11023: "__all_virtual_disk_stat",
11024: "__all_virtual_memstore_info",
11025: "__all_virtual_partition_info",
11026: "__all_virtual_upgrade_inspection",
11027: "__all_virtual_trans_stat",
11028: "__all_virtual_trans_mgr_stat",
11029: "__all_virtual_election_info",
11030: "__all_virtual_election_mem_stat",
11031: "__all_virtual_sql_audit",
11032: "__all_virtual_trans_mem_stat",
11033: "__all_virtual_partition_sstable_image_info",
11034: "__all_virtual_core_root_table",
11035: "__all_virtual_core_all_table",
11036: "__all_virtual_core_column_table",
11037: "__all_virtual_memory_info",
11038: "__all_virtual_tenant_stat",
11039: "__all_virtual_sys_parameter_stat",
11040: "__all_virtual_partition_replay_status",
11041: "__all_virtual_clog_stat",
11042: "__all_virtual_trace_log",
11043: "__all_virtual_engine",
11045: "__all_virtual_proxy_server_stat",
11046: "__all_virtual_proxy_sys_variable",
11047: "__all_virtual_proxy_schema",
11048: "__all_virtual_plan_cache_plan_explain",
11049: "__all_virtual_obrpc_stat",
11050: "__all_virtual_sql_plan_monitor",
11051: "__all_virtual_partition_sstable_merge_info",
11052: "__all_virtual_sql_monitor",
11053: "__tenant_virtual_outline",
11054: "__tenant_virtual_concurrent_limit_sql",
11055: "__all_virtual_sql_plan_statistics",
11056: "__all_virtual_partition_sstable_macro_info",
11057: "__all_virtual_proxy_partition_info",
11058: "__all_virtual_proxy_partition",
11059: "__all_virtual_proxy_sub_partition",
11060: "__all_virtual_proxy_route",
11061: "__all_virtual_rebalance_tenant_stat",
11062: "__all_virtual_rebalance_unit_stat",
11063: "__all_virtual_rebalance_replica_stat",
11064: "__all_virtual_partition_amplification_stat",
11067: "__all_virtual_election_event_history",
11068: "__all_virtual_partition_store_info",
11069: "__all_virtual_leader_stat",
11070: "__all_virtual_partition_migration_status",
11071: "__all_virtual_sys_task_status",
11072: "__all_virtual_macro_block_marker_status",
11073: "__all_virtual_server_clog_stat",
11074: "__all_virtual_rootservice_stat",
11075: "__all_virtual_election_priority",
11076: "__all_virtual_tenant_disk_stat",
11078: "__all_virtual_rebalance_map_stat",
11079: "__all_virtual_rebalance_map_item_stat",
11080: "__all_virtual_io_stat",
11081: "__all_virtual_long_ops_status",
11082: "__all_virtual_rebalance_unit_migrate_stat",
11083: "__all_virtual_rebalance_unit_distribution_stat",
11084: "__all_virtual_server_object_pool",
11085: "__all_virtual_trans_lock_stat",
11086: "__all_virtual_election_group_info",
11087: "__tenant_virtual_show_create_tablegroup",
11088: "__all_virtual_server_blacklist",
11089: "__all_virtual_partition_split_info",
11090: "__all_virtual_trans_result_info_stat",
11093: "__all_virtual_server_schema_info",
12000: "COLUMNS",
12001: "SESSION_VARIABLES",
12002: "TABLE_PRIVILEGES",
12003: "USER_PRIVILEGES",
12004: "SCHEMA_PRIVILEGES",
12005: "TABLE_CONSTRAINTS",
12006: "GLOBAL_STATUS",
12007: "PARTITIONS",
12008: "SESSION_STATUS",
12009: "user",
12010: "db",
12011: "__all_virtual_server_memory_info",
12012: "__all_virtual_partition_table",
12013: "__all_virtual_lock_wait_stat",
12014: "__all_virtual_partition_item",
12015: "__all_virtual_replica_task",
12016: "__all_virtual_partition_location",
12030: "proc",
12031: "__tenant_virtual_collation",
12032: "__tenant_virtual_charset",
12033: "__all_virtual_tenant_memstore_allocator_info",
12034: "__all_virtual_table_mgr",
12035: "__all_virtual_meta_table",
12036: "__all_virtual_freeze_info",
12037: "PARAMETERS",
12038: "__all_virtual_bad_block_table",
12039: "__all_virtual_px_worker_stat",
12040: "__all_virtual_trans_audit",
12041: "__all_virtual_trans_sql_audit",
12054: "__all_virtual_partition_audit",
12055: "__all_virtual_sequence_v2",
12056: "__all_virtual_sequence_value",
15001: "ALL_VIRTUAL_TABLE_AGENT",
15002: "ALL_VIRTUAL_COLUMN_AGENT",
15003: "ALL_VIRTUAL_DATABASE_AGENT",
15004: "ALL_VIRTUAL_SEQUENCE_V2_AGENT",
15005: "ALL_VIRTUAL_PART_AGENT",
15006: "ALL_VIRTUAL_SUB_PART_AGENT",
15007: "ALL_VIRTUAL_PACKAGE_AGENT",
15008: "ALL_VIRTUAL_TENANT_META_TABLE_AGENT",
15009: "ALL_VIRTUAL_SQL_AUDIT_ORA",
15010: "ALL_VIRTUAL_PLAN_STAT_ORA",
15011: "ALL_VIRTUAL_SQL_PLAN_STATISTICS_AGENT",
15012: "ALL_VIRTUAL_PLAN_CACHE_PLAN_EXPLAIN_ORA",
15013: "ALL_VIRTUAL_SEQUENCE_VALUE_AGENT",
15014: "ALL_VIRTUAL_SEQUENCE_OBJECT_AGENT",
15015: "ALL_VIRTUAL_USER_AGENT",
15016: "ALL_VIRTUAL_SYNONYM_AGENT",
15017: "ALL_VIRTUAL_FOREIGN_KEY_AGENT",
15018: "ALL_VIRTUAL_COLUMN_STAT_AGENT",
15019: "ALL_VIRTUAL_COLUMN_STATISTIC_AGENT",
15020: "ALL_VIRTUAL_PARTITION_TABLE_AGENT",
15021: "ALL_VIRTUAL_TABLE_STAT_AGENT",
15022: "ALL_VIRTUAL_RECYCLEBIN_AGENT",
15023: "TENANT_VIRTUAL_OUTLINE_AGENT",
15024: "ALL_VIRTUAL_ROUTINE_AGENT",
15025: "ALL_VIRTUAL_TABLEGROUP_AGENT",
15026: "ALL_VIRTUAL_PRIVILEGE_AGENT",
15027: "ALL_VIRTUAL_SYS_PARAMETER_STAT_AGENT",
15028: "TENANT_VIRTUAL_TABLE_INDEX_AGENT",
15029: "TENANT_VIRTUAL_CHARSET_AGENT",
15030: "TENANT_VIRTUAL_ALL_TABLE_AGENT",
15031: "TENANT_VIRTUAL_COLLATION_AGENT",
15032: "ALL_VIRTUAL_FOREIGN_KEY_COLUMN_AGENT",
15033: "ALL_VIRTUAL_SERVER_AGENT",
15034: "ALL_VIRTUAL_PLAN_CACHE_STAT_ORA",
15035: "ALL_VIRTUAL_PROCESSLIST_ORA",
15036: "ALL_VIRTUAL_SESSION_WAIT_ORA",
15037: "ALL_VIRTUAL_SESSION_WAIT_HISTORY_ORA",
15038: "ALL_VIRTUAL_MEMORY_INFO_ORA",
15039: "ALL_VIRTUAL_TENANT_MEMSTORE_INFO_ORA",
15040: "ALL_VIRTUAL_MEMSTORE_INFO_ORA",
15041: "ALL_VIRTUAL_SERVER_MEMORY_INFO_AGENT",
15042: "ALL_VIRTUAL_SESSTAT_ORA",
15043: "ALL_VIRTUAL_SYSSTAT_ORA",
15044: "ALL_VIRTUAL_SYSTEM_EVENT_ORA",
15045: "ALL_VIRTUAL_TENANT_MEMSTORE_ALLOCATOR_INFO_AGENT",
15046: "TENANT_VIRTUAL_SESSION_VARIABLE_ORA",
15047: "TENANT_VIRTUAL_GLOBAL_VARIABLE_ORA",
15048: "TENANT_VIRTUAL_SHOW_CREATE_TABLE_ORA",
15049: "TENANT_VIRTUAL_SHOW_CREATE_PROCEDURE_ORA",
15050: "TENANT_VIRTUAL_SHOW_CREATE_TABLEGROUP_ORA",
15051: "TENANT_VIRTUAL_PRIVILEGE_GRANT_ORA",
15052: "TENANT_VIRTUAL_TABLE_COLUMN_ORA",
15053: "ALL_VIRTUAL_TRACE_LOG_ORA",
15054: "TENANT_VIRTUAL_CONCURRENT_LIMIT_SQL_AGENT",
15055: "ALL_VIRTUAL_CONSTRAINT_AGENT",
20001: "gv$plan_cache_stat",
20002: "gv$plan_cache_plan_stat",
20003: "SCHEMATA",
20004: "CHARACTER_SETS",
20005: "GLOBAL_VARIABLES",
20006: "STATISTICS",
20007: "VIEWS",
20008: "TABLES",
20009: "COLLATIONS",
20010: "COLLATION_CHARACTER_SET_APPLICABILITY",
20011: "PROCESSLIST",
20012: "KEY_COLUMN_USAGE",
20013: "DBA_OUTLINES",
20014: "ENGINES",
20015: "ROUTINES",
21000: "gv$session_event",
21001: "gv$session_wait",
21002: "gv$session_wait_history",
21003: "gv$system_event",
21004: "gv$sesstat",
21005: "gv$sysstat",
21006: "v$statname",
21007: "v$event_name",
21008: "v$session_event",
21009: "v$session_wait",
21010: "v$session_wait_history",
21011: "v$sesstat",
21012: "v$sysstat",
21013: "v$system_event",
21014: "gv$sql_audit",
21015: "gv$latch",
21016: "gv$memory",
21017: "v$memory",
21018: "gv$memstore",
21019: "v$memstore",
21020: "gv$memstore_info",
21021: "v$memstore_info",
21022: "v$plan_cache_stat",
21023: "v$plan_cache_plan_stat",
21024: "gv$plan_cache_plan_explain",
21025: "v$plan_cache_plan_explain",
21026: "v$sql_audit",
21027: "v$latch",
21028: "gv$obrpc_outgoing",
21029: "v$obrpc_outgoing",
21030: "gv$obrpc_incoming",
21031: "v$obrpc_incoming",
21032: "gv$sql",
21033: "v$sql",
21034: "gv$sql_monitor",
21035: "v$sql_monitor",
21036: "gv$sql_plan_monitor",
21037: "v$sql_plan_monitor",
21038: "USER_RECYCLEBIN",
21039: "gv$outline",
21040: "gv$concurrent_limit_sql",
21041: "gv$sql_plan_statistics",
21042: "v$sql_plan_statistics",
21043: "gv$server_memstore",
21044: "gv$unit_load_balance_event_history",
21045: "gv$tenant",
21046: "gv$database",
21047: "gv$table",
21048: "gv$unit",
21049: "v$unit",
21050: "gv$partition",
21051: "v$partition",
21052: "gv$lock_wait_stat",
21053: "v$lock_wait_stat",
21054: "time_zone",
21055: "time_zone_name",
21056: "time_zone_transition",
21057: "time_zone_transition_type",
21059: "gv$session_longops",
21060: "v$session_longops",
21061: "DBA_PROCEDURES",
21062: "DBA_ARGUMENTS",
21063: "DBA_SOURCE",
21064: "gv$tenant_memstore_allocator_info",
21065: "v$tenant_memstore_allocator_info",
21066: "gv$tenant_sequence_object",
25001: "DBA_SYNONYMS",
25002: "DBA_OBJECTS",
25003: "ALL_OBJECTS",
25004: "USER_OBJECTS",
25005: "DBA_SEQUENCES",
25006: "ALL_SEQUENCES",
25007: "USER_SEQUENCES",
21073: "gv$partition_audit",
21074: "v$partition_audit",
25008: "DBA_USERS",
25009: "ALL_USERS",
25010: "ALL_SYNONYMS",
25011: "USER_SYNONYMS",
25012: "DBA_IND_COLUMNS",
25013: "ALL_IND_COLUMNS",
25014: "USER_IND_COLUMNS",
25015: "DBA_CONSTRAINTS",
25016: "ALL_CONSTRAINTS",
25017: "USER_CONSTRAINTS",
25018: "ALL_TAB_COLS_V$",
25019: "DBA_TAB_COLS_V$",
25020: "USER_TAB_COLS_V$",
25021: "ALL_TAB_COLS",
25022: "DBA_TAB_COLS",
25023: "USER_TAB_COLS",
25024: "ALL_TAB_COLUMNS",
25025: "DBA_TAB_COLUMNS",
25026: "USER_TAB_COLUMNS",
25027: "ALL_TABLES",
25028: "DBA_TABLES",
25029: "USER_TABLES",
25030: "DBA_TAB_COMMENTS",
25031: "ALL_TAB_COMMENTS",
25032: "USER_TAB_COMMENTS",
25033: "DBA_COL_COMMENTS",
25034: "ALL_COL_COMMENTS",
25035: "USER_COL_COMMENTS",
25036: "DBA_INDEXES",
25037: "ALL_INDEXES",
25038: "USER_INDEXES",
25039: "DBA_CONS_COLUMNS",
25040: "ALL_CONS_COLUMNS",
25041: "USER_CONS_COLUMNS",
25042: "USER_SEGMENTS",
25043: "DBA_SEGMENTS",
28001: "GV$OUTLINE_ORA",
28002: "GV$SQL_AUDIT_ORA",
28003: "V$SQL_AUDIT_ORA",
28004: "GV$INSTANCE",
28005: "V$INSTANCE",
28006: "GV$PLAN_CACHE_PLAN_STAT_ORA",
28007: "V$PLAN_CACHE_PLAN_STAT_ORA",
28008: "GV$PLAN_CACHE_PLAN_EXPLAIN_ORA",
28009: "V$PLAN_CACHE_PLAN_EXPLAIN_ORA",
28010: "GV$SESSION_WAIT_ORA",
28011: "V$SESSION_WAIT_ORA",
28012: "GV$SESSION_WAIT_HISTORY_ORA",
28013: "V$SESSION_WAIT_HISTORY_ORA",
28014: "GV$MEMORY_ORA",
28015: "V$MEMORY_ORA",
28016: "GV$MEMSTORE_ORA",
28017: "V$MEMSTORE_ORA",
28018: "GV$MEMSTORE_INFO_ORA",
28019: "V$MEMSTORE_INFO_ORA",
28020: "GV$SERVER_MEMSTORE_ORA",
28021: "GV$SESSTAT_ORA",
28022: "V$SESSTAT_ORA",
28023: "GV$SYSSTAT_ORA",
28024: "V$SYSSTAT_ORA",
28025: "GV$SYSTEM_EVENT_ORA",
28026: "V$SYSTEM_EVENT_ORA",
28027: "GV$TENANT_MEMSTORE_ALLOCATOR_INFO_ORA",
28028: "V$TENANT_MEMSTORE_ALLOCATOR_INFO_ORA",
28029: "GV$PLAN_CACHE_STAT_ORA",
28030: "V$PLAN_CACHE_STAT_ORA",
28031: "GV$CONCURRENT_LIMIT_SQL_ORA",
14999: "__all_virtual_plan_cache_stat",
14998: "__all_virtual_session_event",
14997: "__all_virtual_session_wait",
14996: "__all_virtual_session_wait_history",
14995: "__all_virtual_system_event",
14994: "__all_virtual_sesstat",
14993: "__all_virtual_sysstat",
14992: "__all_virtual_sql_audit",
19999: "ALL_VIRTUAL_SQL_AUDIT_ORA",
19998: "ALL_VIRTUAL_PLAN_CACHE_STAT_ORA",
19997: "ALL_VIRTUAL_SESSION_WAIT_ORA",
19996: "ALL_VIRTUAL_SESSION_WAIT_HISTORY_ORA",
19995: "ALL_VIRTUAL_SESSTAT_ORA",
19994: "ALL_VIRTUAL_SYSSTAT_ORA",
19993: "ALL_VIRTUAL_SYSTEM_EVENT_ORA"
}
|
#
# PySNMP MIB module HUAWEI-RIPV2-EXT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-RIPV2-EXT-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:36:24 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion")
hwDatacomm, = mibBuilder.importSymbols("HUAWEI-MIB", "hwDatacomm")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, Bits, Gauge32, Unsigned32, Counter32, IpAddress, MibIdentifier, ModuleIdentity, TimeTicks, Counter64, ObjectIdentity, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "Bits", "Gauge32", "Unsigned32", "Counter32", "IpAddress", "MibIdentifier", "ModuleIdentity", "TimeTicks", "Counter64", "ObjectIdentity", "iso")
RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString")
hwRipv2Ext = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120))
if mibBuilder.loadTexts: hwRipv2Ext.setLastUpdated('200605261430Z')
if mibBuilder.loadTexts: hwRipv2Ext.setOrganization('Huawei Technologies Co., Ltd.')
hwRip2ProcInstTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 1), )
if mibBuilder.loadTexts: hwRip2ProcInstTable.setStatus('current')
hwRip2ProcInstEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 1, 1), ).setIndexNames((0, "HUAWEI-RIPV2-EXT-MIB", "hwRip2ProcessId"))
if mibBuilder.loadTexts: hwRip2ProcInstEntry.setStatus('current')
hwRip2ProcessId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)))
if mibBuilder.loadTexts: hwRip2ProcessId.setStatus('current')
hwRip2VrfName = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hwRip2VrfName.setStatus('current')
hwRip2CurrentProcId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hwRip2CurrentProcId.setStatus('current')
hwRip2Conformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 2))
hwRip2Groups = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 2, 1))
hwRip2Compliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 2, 2))
hwRip2Compliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 2, 2, 1)).setObjects(("HUAWEI-RIPV2-EXT-MIB", "hwRip2ExtGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwRip2Compliance = hwRip2Compliance.setStatus('current')
hwRip2ExtGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2011, 5, 25, 120, 2, 1, 2)).setObjects(("HUAWEI-RIPV2-EXT-MIB", "hwRip2VrfName"), ("HUAWEI-RIPV2-EXT-MIB", "hwRip2CurrentProcId"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hwRip2ExtGroup = hwRip2ExtGroup.setStatus('current')
mibBuilder.exportSymbols("HUAWEI-RIPV2-EXT-MIB", hwRip2Groups=hwRip2Groups, PYSNMP_MODULE_ID=hwRipv2Ext, hwRipv2Ext=hwRipv2Ext, hwRip2Conformance=hwRip2Conformance, hwRip2ProcessId=hwRip2ProcessId, hwRip2CurrentProcId=hwRip2CurrentProcId, hwRip2ProcInstTable=hwRip2ProcInstTable, hwRip2Compliances=hwRip2Compliances, hwRip2Compliance=hwRip2Compliance, hwRip2ProcInstEntry=hwRip2ProcInstEntry, hwRip2ExtGroup=hwRip2ExtGroup, hwRip2VrfName=hwRip2VrfName)
|
"""Commonly used utilities."""
__all__ = ('sexpr', 'bap_comment', 'run', 'ida', 'abstract_ida_plugins',
'config', 'bap_taint')
|
"""
19. Altere o programa anterior para que ele aceite apenas números entre 0 e
1000.
"""
numeros = []
numeros = input("Informe um conjunto de números: ").split()
numeros = [int(x) for x in numeros]
while numeros[0] < 0 or numeros[-1] > 1000:
numeros = input("Informe um conjunto de números: ").split()
numeros = [int(x) for x in numeros]
maior = max(numeros)
menor = min(numeros)
soma = 0
for x in numeros:
soma += x
print("Maior valor:", maior)
print("Menor valor:", menor)
print("Soma dos valores:", soma)
|
# -*- coding: utf-8 -*-
"""
pip_services_runtime.commands.ICommand
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Interface for commands.
:copyright: Digital Living Software Corp. 2015-2016, see AUTHORS for more details.
:license: MIT, see LICENSE for more details.
"""
class ICommand(object):
"""
Interface for commands that execute functional operations.
"""
def get_name(self):
"""
Gets the command name.
Results: the command name
"""
raise NotImplementedError('Method from interface definition')
def execute(self, correlation_id, args):
"""
Executes the command given specific arguments as an input.
Args:
correlation_id: a unique correlation/transaction id
args: command arguments
Returns: an execution result.
Raises:
MicroserviceError: when execution fails for whatever reason.
"""
raise NotImplementedError('Method from interface definition')
def validate(self, args):
"""
Performs validation of the command arguments.
Args:
args: command arguments
Returns: MicroserviceError list with errors or empty list if validation was successful.
"""
raise NotImplementedError('Method from interface definition')
|
# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompanying this file. This file is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.
def substring_search(word, collection):
"""Finds all matches in the `collection` for the specified `word`.
If `word` is empty, returns all items in `collection`.
:type word: str
:param word: The substring to search for.
:type collection: collection, usually a list
:param collection: A collection of words to match.
:rtype: list of strings
:return: A sorted list of matching words from collection.
"""
return [item for item in sorted(collection) if item.startswith(word)]
|
class Expansion(object):
__expansion_table = [
31, 0, 1, 2, 3, 4,
3, 4, 5, 6, 7, 8,
7, 8, 9, 10, 11, 12,
11, 12, 13, 14, 15, 16,
15, 16, 17, 18, 19, 20,
19, 20, 21, 22, 23, 24,
23, 24, 25, 26, 27, 28,
27, 28, 29, 30, 31, 0
]
__p = [
1, 2, 3, 4, 5, 8, 9, 10,
11, 14, 15, 16, 17, 20, 21, 22,
23, 26, 27, 28, 29, 32, 33, 34,
35, 38, 39, 40, 41, 44, 45, 46
]
def __BitList_to_String(self, data):
"""Turn the list of bits -> data, into a string"""
result = []
pos = 0
c = 0
while pos < len(data):
c += data[pos] << (7 - (pos % 8))
if (pos % 8) == 7:
result.append(c)
c = 0
pos += 1
if 2.7 < 3:
return ''.join([ chr(c) for c in result ])
else:
return bytes(result)
def __permutate(self, table, block):
"""Permutate this block with the specified table"""
return list(map(lambda x: block[x], table))
def __String_to_BitList(self, data):
"""Turn the string data, into a list of bits (1, 0)'s"""
if 2.7 < 3:
# Turn the strings into integers. Python 3 uses a bytes
# class, which already has this behaviour.
data = [ord(c) for c in data]
l = len(data) * 8
result = [0] * l
pos = 0
for ch in data:
i = 7
while i >= 0:
if ch & (1 << i) != 0:
result[pos] = 1
else:
result[pos] = 0
pos += 1
i -= 1
return result
def __String_to_hex(self, data):
ords = [ord(c) for c in data]
hexs = [hex(h) for h in ords]
return ','.join(hexs)
def __Hex_to_str(self, data):
ints = [int(hx,16) for hx in data]
strs = [str(chr(it)) for it in ints]
return ''.join(strs)
def expand(self, fbits):
"""Return the 6 bytes of expansion en hexadecimal"""
bitlist = self.__String_to_BitList(fbits)
expansion = self.__permutate(self.__expansion_table, bitlist)
expansion_str = self.__BitList_to_String(expansion)
return self.__String_to_hex(expansion_str)
def re2(self, hexbytes):
data = hexbytes.split(',')
hex_data = self.__Hex_to_str(data)
expanded_bytes = self.__String_to_BitList(hex_data)
reduced = self.__permutate(self.__p, expanded_bytes)
return self.__BitList_to_String(reduced)
|
"""
Finding a peak element:
Given an array of integers.Find a peak element in it. An array element is peak if it is
NOT smaller than its neighbors. For corner elements, we need to consider only one
neighbor. For example, for input array {5,10,20,15}, 20 is the only peak element.
"""
# A python 3 program to find a peak
# element using divide and conquer
def findPeakUtil(arr, low, high, n):
# Find index of middle element
# (low + high) /2
mid = low + (high - low)/2
mid = int(mid)
# Compare middle element with its neighbors (if neighbours exist)
if((mid == 0 or arr[mid - 1] <= arr[mid]) and
(mid == n - 1 or arr[mid - 1] <= arr[mid])):
return mid
# If middle element is not peak and its left neighbour is greater than it,
# than right half must have a peak element
else:
return findPeakUtil(arr, (mid + 1), high, n)
# A wrapper over recursive function findPeakUtil()
def findPeak(arr, n):
return findPeakUtil(arr, 0, n -1, n)
# Driver code
arr = [1, 3, 20, 4, 1, 0]
n = len(arr)
print("Index of a peak point is", findPeak(arr, n))
|
# -*- coding: utf-8 -*-
__author__ = "WeizhongTu"
__date__ = '2014.08.01'
# ************************************************
# ---- 网站相关 ----
# URL显示方式
URL_STYLE = 'recommand'
# ---- 文章相关 ----
# ************************************************
#
# 后台文章编辑器样式
# 从这些中选择 'besttome', 'mini', 'normal',更多请在 DjangoUeditor/settings.py 中定义使用
EDITOR_STYLE = 'besttome'
# 教程默认文字
TUTORIAL_DEFAULT_CONTENT = u'教程正在编写中……'
# 前台文章编辑器样式
FRONT_EDITOR_STYLE = 'besttome'
|
#
# PySNMP MIB module TIPPINGPOINT-REG-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TIPPINGPOINT-REG-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:23:40 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsUnion")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
NotificationType, Gauge32, enterprises, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, Counter32, ObjectIdentity, MibIdentifier, ModuleIdentity, Counter64, Bits, iso, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Gauge32", "enterprises", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "Counter32", "ObjectIdentity", "MibIdentifier", "ModuleIdentity", "Counter64", "Bits", "iso", "IpAddress")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
tippingpoint = ModuleIdentity((1, 3, 6, 1, 4, 1, 10734))
tippingpoint.setRevisions(('2016-05-25 18:54',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: tippingpoint.setRevisionsDescriptions(('Updated copyright information. Minor MIB syntax fixes.',))
if mibBuilder.loadTexts: tippingpoint.setLastUpdated('201605251854Z')
if mibBuilder.loadTexts: tippingpoint.setOrganization('Trend Micro, Inc.')
if mibBuilder.loadTexts: tippingpoint.setContactInfo('www.trendmicro.com')
if mibBuilder.loadTexts: tippingpoint.setDescription("Definitions of registration identities for all TPT modules. Copyright (C) 2016 Trend Micro Incorporated. All Rights Reserved. Trend Micro makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Trend Micro shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. This document contains proprietary information, which is protected by copyright. No part of this document may be photocopied, reproduced, or translated into another language without the prior written consent of Trend Micro. The information is provided 'as is' without warranty of any kind and is subject to change without notice. The only warranties for Trend Micro products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. Trend Micro shall not be liable for technical or editorial errors or omissions contained herein. TippingPoint(R), the TippingPoint logo, and Digital Vaccine(R) are registered trademarks of Trend Micro. All other company and product names may be trademarks of their respective holders. All rights reserved. This document contains confidential information, trade secrets or both, which are the property of Trend Micro. No part of this documentation may be reproduced in any form or by any means or used to make any derivative work (such as translation, transformation, or adaptation) without written permission from Trend Micro or one of its subsidiaries. All other company and product names may be trademarks of their respective holders. ")
tpt_reg = ObjectIdentity((1, 3, 6, 1, 4, 1, 10734, 1)).setLabel("tpt-reg")
if mibBuilder.loadTexts: tpt_reg.setStatus('current')
if mibBuilder.loadTexts: tpt_reg.setDescription('Sub-tree for the registered modules for TippingPoint Technologies.')
tpt_generic = ObjectIdentity((1, 3, 6, 1, 4, 1, 10734, 2)).setLabel("tpt-generic")
if mibBuilder.loadTexts: tpt_generic.setStatus('current')
if mibBuilder.loadTexts: tpt_generic.setDescription('Sub-tree for common object and event definitions.')
tpt_products = ObjectIdentity((1, 3, 6, 1, 4, 1, 10734, 3)).setLabel("tpt-products")
if mibBuilder.loadTexts: tpt_products.setStatus('current')
if mibBuilder.loadTexts: tpt_products.setDescription('Sub-tree for specific object and event definitions.')
tpt_caps = ObjectIdentity((1, 3, 6, 1, 4, 1, 10734, 4)).setLabel("tpt-caps")
if mibBuilder.loadTexts: tpt_caps.setStatus('current')
if mibBuilder.loadTexts: tpt_caps.setDescription('Sub-tree for agent profiles.')
tpt_reqs = ObjectIdentity((1, 3, 6, 1, 4, 1, 10734, 5)).setLabel("tpt-reqs")
if mibBuilder.loadTexts: tpt_reqs.setStatus('current')
if mibBuilder.loadTexts: tpt_reqs.setDescription('Sub-tree for management application requirements.')
tpt_expr = ObjectIdentity((1, 3, 6, 1, 4, 1, 10734, 6)).setLabel("tpt-expr")
if mibBuilder.loadTexts: tpt_expr.setStatus('current')
if mibBuilder.loadTexts: tpt_expr.setDescription('Sub-tree for experimental definitions.')
mibBuilder.exportSymbols("TIPPINGPOINT-REG-MIB", tippingpoint=tippingpoint, tpt_expr=tpt_expr, tpt_products=tpt_products, tpt_generic=tpt_generic, PYSNMP_MODULE_ID=tippingpoint, tpt_reg=tpt_reg, tpt_reqs=tpt_reqs, tpt_caps=tpt_caps)
|
class SandwichBar:
def whichOrder(self, available, orders):
for i, o in enumerate(orders):
if all(map(lambda e: e in available, o.split())):
return i
return -1
|
CENTS_PER_DOLLAR = 100
class Order(object):
def __init__(self, id, owner, ticker, type, price, qty):
if int(id) < 0:
raise ValueError()
if round(float(price), 2) <= 0:
raise ValueError()
if int(qty) <= 0:
raise ValueError()
self.__id = id
self.__owner = owner
self.__ticker = str(ticker)
self.__type = type
self.__price = round(float(price), 2)
self.__qty = int(qty)
def __eq__(self, o):
if isinstance(o, Order):
return self.id == o.id and self.owner == o.owner and \
self.ticker == o.ticker and self.type == o.type and \
self.price == o.price and self.qty == o.qty
else:
return False
@property
def id(self):
return self.__id
@property
def owner(self):
return self.__owner
@owner.setter
def owner(self, owner):
self.__owner = owner
@property
def ticker(self):
return self.__ticker
@ticker.setter
def ticker(self, ticker):
self.__ticker = str(ticker)
@property
def type(self):
return self.__type
@property
def price(self):
return round(self.__price, 2)
@price.setter
def price(self, price):
if round(float(price)) <= 0:
raise ValueError()
self.__price = round(float(price))
@property
def qty(self):
return self.__qty
@qty.setter
def qty(self, qty):
if int(qty) <= 0:
raise ValueError()
self.__qty = int(qty)
def __str__(self):
return "{0}: {1} for {2} @ ${3} by {4}".format(self.ticker, self.type,
self.qty, self.price,
self.owner)
def __repr__(self):
s = "ID: " + str(self.id) + "\n"
s += "Owner: " + str(self.owner) + "\n"
s += "Ticker: " + self.ticker + "\n"
s += "Type: " + str(self.type) + "\n"
s += "Price: $" + str(self.price) + "\n"
s += "Quantity: " + str(self.qty) + "\n"
return s
|
# fileType=Python, blankLineCounts=3, commentCounts=5, commentInLineCounts=0, fileSize=259, lineCounts=7, rowLineCounts=15
def add(x, y):
"""
Hello World """ '''
# Real Second line '''
'''Second''' ''' line
'''
string = "Hello World #\
"
y += len(string)
# Add the two numbers.
x + y
|
#!/usr/bin/python3
for i in range(ord('z'), ord('a') - 1, -1):
if (i % 2 != 0):
i = i - 32
i = chr(i)
print("{}".format(i), end='')
|
VERSION = (0, 4, 2)
def get_version():
return '%s.%s.%s' % VERSION
version = get_version()
|
"""
URL: https://codeforces.com/problemset/problem/49/A
Author: Safiul Kabir [safiulanik at gmail.com]
"""
s = ''.join(input().split()).lower()
if s[-2] in ['a', 'e', 'i', 'o', 'u', 'y']:
print('YES')
else:
print('NO')
|
"""
Connecting Cities With Minimum Cost
There are n cities labeled from 1 to n.
You are given the integer n and an array connections where connections[i] = [xi, yi, costi]
indicates that the cost of connecting city xi and city yi (bidirectional connection) is costi.
Return the minimum cost to connect all the n cities such
that there is at least one path between each pair of cities.
If it is impossible to connect all the n cities, return -1,
The cost is the sum of the connections' costs used.
Example 1:
Input: n = 3, connections = [[1,2,5],[1,3,6],[2,3,1]]
Output: 6
Explanation: Choosing any 2 edges will connect all cities so we choose the minimum 2.
Example 2:
Input: n = 4, connections = [[1,2,3],[3,4,4]]
Output: -1
Explanation: There is no way to connect all cities even if all edges are used.
Constraints:
1 <= n <= 104
1 <= connections.length <= 104
connections[i].length == 3
1 <= xi, yi <= n
xi != yi
0 <= costi <= 105
"""
class Solution:
def minimumCost(self, N: int, connections: List[List[int]]) -> int:
# Create our adjacency list/graph
adj = collections.defaultdict(list)
for c1, c2, cost in connections:
adj[c1].append([c2, cost])
adj[c2].append([c1, cost])
# Creat our heap and add our starting cost and location (0 cost to start).
heap = [(0, 1)]
heapq.heapify(heap)
seen = set()
total_cost = 0
while heap:
cost, city = heapq.heappop(heap)
# If we haven't visited the city yet.
if city not in seen:
# Add it to seen (we got here via the lowest cost path) and add the cost to our total.
seen.add(city)
total_cost += cost
# For the current nodes neighboring cities
for nei, cst in adj[city]:
# Push the neis on the heap so we select the lowest cost nei next.
heapq.heappush(heap, [cst, nei])
# Return our cost if we have visited all N nodes.
return total_cost if len(seen) == N else -1
|
cont = contIdade = contHomens = contMulher20 = 0
print('-=' * 15, '\nCadastro de Pessoas')
print('-=' * 15)
while True:
idade = int(input('\033[1mDigite a idade:\033[m '))
if idade >= 18:
contIdade += 1
sexo = ' '
while sexo not in 'MmFf':
sexo = str(input('\033[1mDigite o sexo [M/F]:\033[m ')).strip().upper()[0]
if sexo == 'M':
contHomens += 1
if sexo == 'F' and idade < 20:
contMulher20 += 1
cont += 1
print('-=' * 15)
continuar = ' '
while continuar not in 'SN':
continuar = str(input('\n\033[7mDeseja continuar? [S/N]:\033[m ')).strip().upper()[0]
if continuar == 'N':
break
print(f'\nQuantidade de pessoas cadastradas: {cont}'
f'\nQuantidade de Pessoas maiores que 18: {contIdade}'
f'\nQuantidade de Homens cadastrados: {contHomens}'
f'\nQuantidade de Mulher menores de 20 anos: {contMulher20}')
|
n = int(input().strip())
for i in range(1, n + 1):
cnt = 0
for j in list(str(i)):
if j in ['3', '6', '9']:
cnt += 1
if cnt > 0:
print('-' * cnt, end=' ')
else:
print(i, end=' ')
|
def test_add_group(app, json_groups):
group = json_groups
old_groups = app.group.get_group_list()
app.group.create(group)
# new list is longer, because we added 1 element
assert app.group.count() == len(old_groups) + 1
# if new list length is correct, then we can compare lists.
# so we can get new list
new_groups = app.group.get_group_list()
# built expected list for equalizing NEW and EXPECTED
# expected = old _list + new_group. And sort()
# sort() will use method __lt__, which was overridden
old_groups.append(group)
assert sorted(new_groups) == sorted(old_groups)
|
class Vector(object):
def __init__(self, x,y):
self.x = x
self.y = y
super(Vector, self).__init__(self, x,y)
|
# Lists
courses=['History','Math','Physics','Compsci']
courses_2=['Football','Basketball']
print("Slicing Examples")
print(len(courses))
print(courses)
print(courses[-1])
print(courses[0:3])
print(courses[::-1])
print("\nAdd")
courses.append('Art')
print(courses)
print("\nInsert at the beginning")
courses.insert(0,'Science')
print(courses)
#Not what we want
#courses.insert(0,courses_2)
#print(courses)
#print(courses[0])
print("\nAppend we use to add individual items , Extend we use to add another list in the form of individual items")
courses.extend(courses_2)
print(courses)
print("\nremove")
courses.remove('Math')
print(courses)
print("\nTo remove the last value")
popped=courses.pop()
print(courses)
print (f"popped value is {popped}")
print("Reverse")
courses.reverse()
print(courses)
print("\nSort")
courses.sort()
print(courses)
num=[4,21,54,1,34]
num.sort()
print(num)
print("\nSort in descending Order")
courses.sort(reverse=True)
num.sort(reverse=True)
print(courses)
print(num)
print("\nSorting the list without altering the original list using the function sorted other than the sort method")
Sorted_courses=sorted(courses)
print(courses)
print(Sorted_courses)
print("\nFinding Min and Max Values")
print(min(num))
print(max(num))
print(sum(num))
print("\nFinding the Index\n")
print(courses.index('Compsci'))
print('Print("Art in Courses")')
print('Art' in courses)
print("\nUsing for Loop")
for course in courses:
print(course)
# TO get the index also
print("\nGetting Index value also using for loop")
for index,course in enumerate(courses):
print(index,course)
print("\nTO start with 1 as the index")
print("\n")
for index,course in enumerate(courses,start=1):
print(index,course)
print("\nturning the list into a string separated by some character")
course_str=' - '.join(courses)
print(course_str)
print("\nConverting the string back to List")
new_list=course_str.split(' - ')
print(new_list)
|
class DiscordParseException(Exception):
"""An exception that is thrown when parsing Discord's representation of a channel / role / user mention fails."""
def parse_discord_str(content_str: str, type_chars: str) -> int:
"""Parses Discord's representation of a channel / role / user mention into an ID."""
if content_str.startswith('<') and content_str.endswith('>') and content_str[1:-1].startswith(type_chars):
return int(content_str[(1 + len(type_chars)):-1])
raise DiscordParseException(f"{content_str} is not a valid Discord-formatted ID representation for '{type_chars}'")
def format_discord_str(discord_id: int, type_chars: str) -> str:
"""Formats an ID into a Discord's representation of a channel / role / user mention."""
return f"<{type_chars}{discord_id}>"
# Shortcut functions
def parse_channel(content_str: str) -> int:
"""Parses Discord's representation of a channel mention into an ID."""
return parse_discord_str(content_str, '#')
def parse_role(content_str: str) -> int:
"""Parses Discord's representation of a role mention into an ID."""
return parse_discord_str(content_str, '@&')
def parse_user(content_str: str) -> int:
"""Parses Discord's representation of a user mention into an ID."""
return parse_discord_str(content_str, '@!')
def format_channel(discord_id: int) -> str:
"""Formats an ID into a Discord's representation of a channel mention."""
return format_discord_str(discord_id, '#')
def format_role(discord_id: int) -> str:
"""Formats an ID into a Discord's representation of a role mention."""
return format_discord_str(discord_id, '@&')
def format_user(discord_id: int) -> str:
"""Formats an ID into a Discord's representation of a user mention."""
return format_discord_str(discord_id, '@!')
|
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Created by Ross on 19-1-8
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
def solve(ln: ListNode):
if not ln:
return
p = ln
while p:
print(p.val, end=' ')
p = p.next
print()
def test1():
print('test1')
ln = None
solve(ln)
def test2():
print('test2')
ln = ListNode(1)
solve(ln)
def test3():
print('test3')
ln = ListNode(-1)
p = ln
for i in range(5):
p.next = ListNode(i)
p = p.next
solve(ln.next)
if __name__ == '__main__':
test1()
test2()
test3()
|
#!/bin/python3
# Calculates factorial
def fact(n):
f = 1
while n > 0:
f *= n
n -= 1
return f
# Calculates Poisson Distribution
def poissonDist(k, l):
return (l**k*(2.71828**(-l)))/fact(k)
if __name__ == '__main__':
x = float(input())
y = float(input())
print(round(poissonDist(y, x), 3))
|
"""
The validation module converts data to and from request format (or at least
calls the converters that do so) and also converts dotted numeric formats into
sequences (e.g. a.0 and a.1 onto a[0] and a[1]). It also includes some
validation exceptions.
"""
class FormishError(Exception):
"""
Base class for all Forms errors. A single string, message, is accepted and
stored as an attribute.
The message is not passed on to the Exception base class because it doesn't
seem to be able to handle unicode at all.
"""
def __init__(self, message, *args):
Exception.__init__(self, message, *args)
self.message = message
def __str__(self):
return self.message
__unicode__ = __str__
# Hide Python 2.6 deprecation warnings.
def _get_message(self): return self._message
def _set_message(self, message): self._message = message
message = property(_get_message, _set_message)
class FormError(FormishError):
"""
Form validation error. Raise this, typically from a submit callback, to
signal that the form (not an individual field) failed to validate.
"""
pass
class NoActionError(FormishError):
"""
Form validation error. Raise this, typically from a submit callback, to
signal that the form (not an individual field) failed to validate.
"""
pass
|
# Luis Espino 2017
# Búsqueda por anchura y profundidad
# Problema matriz de 3x3
#
# 1 2 3
# 4 5 6
# 7 8 9
def sucesores(n):
if n == 1: return [2, 4, 5]
elif n == 2: return [1, 3, 4, 5, 6]
elif n == 3: return [2, 5, 6]
elif n == 4: return [1, 2, 5, 7, 8]
elif n == 5: return [1, 2, 3, 4, 6, 7 ,8, 9]
elif n == 6: return [2, 3, 5, 8 ,9]
elif n == 7: return [4, 5, 8]
elif n == 8: return [4, 5, 6 ,7, 9]
elif n == 9: return [5, 6 , 8]
else: return None
def anchura(nodo_inicio, nodo_fin):
lista = [nodo_inicio]
while lista:
nodo_actual = lista.pop(0)
print (nodo_actual)
if nodo_actual == nodo_fin:
return print("SOLUCIÓN")
temp = sucesores(nodo_actual)
#temp.reverse()
print (temp)
if temp:
lista.extend(temp)
print(lista)
print ("NO-SOLUCIÓN")
def profundidad (nodo_inicio, nodo_fin):
lista = [nodo_inicio]
while lista:
nodo_actual = lista.pop(0)
print (nodo_actual)
if nodo_actual == nodo_fin:
#print(len(lista))
return print("SOLUCIÓN")
temp = sucesores(nodo_actual)
temp.reverse()
print (temp)
if temp:
temp.extend(lista)
lista = temp
print(lista)
print ("NO-SOLUCIÓN")
anchura (1,9)
#profundidad (1,9)
|
expected_output = {
'model': 'WS-C3650-48PD',
'os': 'iosxe',
'platform': 'cat3k_caa',
'version': '03.06.07E',
}
|
#
# PySNMP MIB module DKSF-54-1-X-X-1 (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DKSF-54-1-X-X-1
# Produced by pysmi-0.3.4 at Wed May 1 12:47:27 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
snmpTraps, = mibBuilder.importSymbols("SNMPv2-MIB", "snmpTraps")
Unsigned32, Gauge32, Bits, ModuleIdentity, ObjectIdentity, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, IpAddress, iso, Integer32, Counter32, Counter64, NotificationType, enterprises = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "Gauge32", "Bits", "ModuleIdentity", "ObjectIdentity", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "IpAddress", "iso", "Integer32", "Counter32", "Counter64", "NotificationType", "enterprises")
TextualConvention, DisplayString, TruthValue, TimeStamp = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "TruthValue", "TimeStamp")
netPing4Pwr = ModuleIdentity((1, 3, 6, 1, 4, 1, 25728, 54))
netPing4Pwr.setRevisions(('2015-03-02 00:00', '2014-06-19 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: netPing4Pwr.setRevisionsDescriptions(('npRelHumidity branch added npGsmSendSms variable added npRelayMode values redefined', 'Initial release',))
if mibBuilder.loadTexts: netPing4Pwr.setLastUpdated('201503020000Z')
if mibBuilder.loadTexts: netPing4Pwr.setOrganization('Alentis Electronics')
if mibBuilder.loadTexts: netPing4Pwr.setContactInfo('developers@netping.ru')
if mibBuilder.loadTexts: netPing4Pwr.setDescription('MIB for NetPing 4PWR-220/SMS remote sensing and control')
lightcom = MibIdentifier((1, 3, 6, 1, 4, 1, 25728))
npRelay = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 5500))
npRelayTable = MibTable((1, 3, 6, 1, 4, 1, 25728, 5500, 5), )
if mibBuilder.loadTexts: npRelayTable.setStatus('current')
if mibBuilder.loadTexts: npRelayTable.setDescription('Watchdog and outlet/relay control table')
npRelayEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25728, 5500, 5, 1), ).setIndexNames((0, "DKSF-54-1-X-X-1", "npRelayN"))
if mibBuilder.loadTexts: npRelayEntry.setStatus('current')
if mibBuilder.loadTexts: npRelayEntry.setDescription('Relay/outlet table row')
npRelayN = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5500, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelayN.setStatus('current')
if mibBuilder.loadTexts: npRelayN.setDescription('The N of output relay')
npRelayMode = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5500, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(-1, 0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("flip", -1), ("off", 0), ("on", 1), ("watchdog", 2), ("schedule", 3), ("scheduleAndWatchdog", 4), ("logic", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: npRelayMode.setStatus('current')
if mibBuilder.loadTexts: npRelayMode.setDescription('Control of relay: -1 - flip between on(1) and off(0) 0 - manual off 1 - manual on 2 - watchdog 3 - schedule 4 - both schedule and watchdog (while switched on by schedule) 5 - logic')
npRelayStartReset = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5500, 5, 1, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: npRelayStartReset.setStatus('current')
if mibBuilder.loadTexts: npRelayStartReset.setDescription('Write 1 to start reset (switch relay off for some time)')
npRelayMemo = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5500, 5, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelayMemo.setStatus('current')
if mibBuilder.loadTexts: npRelayMemo.setDescription('Relay memo')
npRelayFlip = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5500, 5, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(-1))).clone(namedValues=NamedValues(("flip", -1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelayFlip.setStatus('current')
if mibBuilder.loadTexts: npRelayFlip.setDescription('Write -1 to flip between manual on and manual off states of relay')
npRelayState = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5500, 5, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelayState.setStatus('current')
if mibBuilder.loadTexts: npRelayState.setDescription('Actual relay state at the moment, regardless of source of control. 0 - relay is off 1 - relay is on')
npRelayPowered = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5500, 5, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelayPowered.setStatus('current')
if mibBuilder.loadTexts: npRelayPowered.setDescription('AC presence on output (relay operation check) 0 - no AC on output socket 1 - AC is present on oputput')
npPwr = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 5800))
npPwrTable = MibTable((1, 3, 6, 1, 4, 1, 25728, 5800, 3), )
if mibBuilder.loadTexts: npPwrTable.setStatus('current')
if mibBuilder.loadTexts: npPwrTable.setDescription('Watchdog and outlet/relay control table')
npPwrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25728, 5800, 3, 1), ).setIndexNames((0, "DKSF-54-1-X-X-1", "npPwrChannelN"))
if mibBuilder.loadTexts: npPwrEntry.setStatus('current')
if mibBuilder.loadTexts: npPwrEntry.setDescription('Watchdog control table row')
npPwrChannelN = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5800, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npPwrChannelN.setStatus('current')
if mibBuilder.loadTexts: npPwrChannelN.setDescription('The id of watchdog/power channel')
npPwrStartReset = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5800, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npPwrStartReset.setStatus('obsolete')
if mibBuilder.loadTexts: npPwrStartReset.setDescription('Deprecated in current FW version: Write 1 to start forced reset. On read: 0 - normal operation 1 - reset is active 2 - reboot pause is active or watchdog is inactive')
npPwrResetsCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5800, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: npPwrResetsCounter.setStatus('current')
if mibBuilder.loadTexts: npPwrResetsCounter.setDescription('Counter of watchdog resets Write 0 to clear.')
npPwrRepeatingResetsCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5800, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npPwrRepeatingResetsCounter.setStatus('current')
if mibBuilder.loadTexts: npPwrRepeatingResetsCounter.setDescription('Counter of continous failed watchdog resets')
npPwrMemo = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 5800, 3, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: npPwrMemo.setStatus('current')
if mibBuilder.loadTexts: npPwrMemo.setDescription('Watchdog channel memo')
npThermo = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 8800))
npThermoTable = MibTable((1, 3, 6, 1, 4, 1, 25728, 8800, 1), )
if mibBuilder.loadTexts: npThermoTable.setStatus('current')
if mibBuilder.loadTexts: npThermoTable.setDescription('Thermo Sensors Table')
npThermoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25728, 8800, 1, 1), ).setIndexNames((0, "DKSF-54-1-X-X-1", "npThermoSensorN"))
if mibBuilder.loadTexts: npThermoEntry.setStatus('current')
if mibBuilder.loadTexts: npThermoEntry.setDescription('Thermo Sensors Table Row')
npThermoSensorN = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 8800, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoSensorN.setStatus('current')
if mibBuilder.loadTexts: npThermoSensorN.setDescription('The id of temperature sensor, 1 to 8')
npThermoValue = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 8800, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-60, 280))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoValue.setStatus('current')
if mibBuilder.loadTexts: npThermoValue.setDescription('Temperature, deg.C')
npThermoStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 8800, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("failed", 0), ("low", 1), ("norm", 2), ("high", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoStatus.setStatus('current')
if mibBuilder.loadTexts: npThermoStatus.setDescription('Temperature status (0=fault, 1=underheat, 2=normal, 3=overheat)')
npThermoLow = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 8800, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-60, 280))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoLow.setStatus('current')
if mibBuilder.loadTexts: npThermoLow.setDescription('Bottom margin of normal temperature range, deg.C')
npThermoHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 8800, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-60, 280))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoHigh.setStatus('current')
if mibBuilder.loadTexts: npThermoHigh.setDescription('Top margin of normal temperature range, deg.C')
npThermoMemo = MibTableColumn((1, 3, 6, 1, 4, 1, 25728, 8800, 1, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoMemo.setStatus('current')
if mibBuilder.loadTexts: npThermoMemo.setDescription('T channel memo')
npThermoTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 8800, 2))
npThermoTrapPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 8800, 2, 0))
npThermoTrapSensorN = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8800, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoTrapSensorN.setStatus('current')
if mibBuilder.loadTexts: npThermoTrapSensorN.setDescription('The id of temperature sensor, 1 to 8')
npThermoTrapValue = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8800, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-60, 280))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoTrapValue.setStatus('current')
if mibBuilder.loadTexts: npThermoTrapValue.setDescription('Temperature, deg.C')
npThermoTrapStatus = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8800, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("failed", 0), ("low", 1), ("norm", 2), ("high", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoTrapStatus.setStatus('current')
if mibBuilder.loadTexts: npThermoTrapStatus.setDescription('Temperature status (0=fault, 1=underheat, 2=normal, 3=overheat)')
npThermoTrapLow = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8800, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-60, 280))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoTrapLow.setStatus('current')
if mibBuilder.loadTexts: npThermoTrapLow.setDescription('Bottom margin of normal temperature range, deg.C')
npThermoTrapHigh = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8800, 2, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-60, 280))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoTrapHigh.setStatus('current')
if mibBuilder.loadTexts: npThermoTrapHigh.setDescription('Top margin of normal temperature range, deg.C')
npThermoTrapMemo = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8800, 2, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: npThermoTrapMemo.setStatus('current')
if mibBuilder.loadTexts: npThermoTrapMemo.setDescription('T channel memo')
npThermoTrap = NotificationType((1, 3, 6, 1, 4, 1, 25728, 8800, 2, 0, 1)).setObjects(("DKSF-54-1-X-X-1", "npThermoTrapSensorN"), ("DKSF-54-1-X-X-1", "npThermoTrapValue"), ("DKSF-54-1-X-X-1", "npThermoTrapStatus"), ("DKSF-54-1-X-X-1", "npThermoTrapLow"), ("DKSF-54-1-X-X-1", "npThermoTrapHigh"), ("DKSF-54-1-X-X-1", "npThermoTrapMemo"))
if mibBuilder.loadTexts: npThermoTrap.setStatus('current')
if mibBuilder.loadTexts: npThermoTrap.setDescription('Status of Thermo sensor is changed (crossing of normal temp. range)')
npRelHumidity = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 8400))
npRelHumSensor = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 8400, 2))
npRelHumSensorStatus = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8400, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("error", 0), ("ok", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelHumSensorStatus.setStatus('current')
if mibBuilder.loadTexts: npRelHumSensorStatus.setDescription("Status of the Rel.Humidity Sensor One 1=Normal, 0=Error or Sensor isn't connected")
npRelHumSensorValueH = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8400, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelHumSensorValueH.setStatus('current')
if mibBuilder.loadTexts: npRelHumSensorValueH.setDescription('Relative humidity value, %')
npRelHumSensorValueT = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8400, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-60, 200))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelHumSensorValueT.setStatus('current')
if mibBuilder.loadTexts: npRelHumSensorValueT.setDescription('Sensor temperature, deg.C')
npRelHumSensorStatusH = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8400, 2, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("sensorFailed", 0), ("belowSafeRange", 1), ("inSafeRange", 2), ("aboveSafeRange", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelHumSensorStatusH.setStatus('current')
if mibBuilder.loadTexts: npRelHumSensorStatusH.setDescription('Status of Relative Humiduty')
npRelHumSafeRangeHigh = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8400, 2, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelHumSafeRangeHigh.setStatus('current')
if mibBuilder.loadTexts: npRelHumSafeRangeHigh.setDescription('Relative Humidity safe range, top margin, %RH')
npRelHumSafeRangeLow = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8400, 2, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelHumSafeRangeLow.setStatus('current')
if mibBuilder.loadTexts: npRelHumSafeRangeLow.setDescription('Relative Humidity safe range, bottom margin, %RH')
npRelHumSensorValueT100 = MibScalar((1, 3, 6, 1, 4, 1, 25728, 8400, 2, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: npRelHumSensorValueT100.setStatus('current')
if mibBuilder.loadTexts: npRelHumSensorValueT100.setDescription('Sensor temperature, deg.C * 100 (fixed point two decimal places) Used to get access to the fractional part of T value')
npRelHumTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 8400, 9))
npRelHumTrapPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 8400, 9, 0))
npRelHumTrap = NotificationType((1, 3, 6, 1, 4, 1, 25728, 8400, 9, 0, 1)).setObjects(("DKSF-54-1-X-X-1", "npRelHumSensorStatusH"), ("DKSF-54-1-X-X-1", "npRelHumSensorValueH"), ("DKSF-54-1-X-X-1", "npRelHumSafeRangeHigh"), ("DKSF-54-1-X-X-1", "npRelHumSafeRangeLow"))
if mibBuilder.loadTexts: npRelHumTrap.setStatus('current')
if mibBuilder.loadTexts: npRelHumTrap.setDescription('Status of Relative Humidity RH sensor has changed!')
npGsm = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 3800))
npGsmInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 3800, 1))
npGsmFailed = MibScalar((1, 3, 6, 1, 4, 1, 25728, 3800, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("ok", 0), ("failed", 1), ("fatalError", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npGsmFailed.setStatus('current')
if mibBuilder.loadTexts: npGsmFailed.setDescription("Firmware's GSM module status")
npGsmRegistration = MibScalar((1, 3, 6, 1, 4, 1, 25728, 3800, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 255))).clone(namedValues=NamedValues(("impossible", 0), ("homeNetwork", 1), ("searching", 2), ("denied", 3), ("unknown", 4), ("roaming", 5), ("infoUpdate", 255)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npGsmRegistration.setStatus('current')
if mibBuilder.loadTexts: npGsmRegistration.setDescription('Status of modem registration in GSM network (AT+CREG? result)')
npGsmStrength = MibScalar((1, 3, 6, 1, 4, 1, 25728, 3800, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npGsmStrength.setStatus('current')
if mibBuilder.loadTexts: npGsmStrength.setDescription('GSM signal strength. 0..31 = 0..100%, 99 = unknown or n/a, 255 = updating info')
npGsmSendSms = MibScalar((1, 3, 6, 1, 4, 1, 25728, 3800, 1, 9), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: npGsmSendSms.setStatus('current')
if mibBuilder.loadTexts: npGsmSendSms.setDescription('Send arbitrary SMS. Format: [phone_number,phone_number,...] Message One to four destination phone numbers If [] and numbers omitted, mesagge will be sent to preset numbers from SMS setup Only Latin characters allowed in message body')
npGsmTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 3800, 2))
npGsmTrapPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 3800, 2, 0))
npGsmTrap = NotificationType((1, 3, 6, 1, 4, 1, 25728, 3800, 2, 0, 1)).setObjects(("DKSF-54-1-X-X-1", "npGsmFailed"), ("DKSF-54-1-X-X-1", "npGsmRegistration"), ("DKSF-54-1-X-X-1", "npGsmStrength"))
if mibBuilder.loadTexts: npGsmTrap.setStatus('current')
if mibBuilder.loadTexts: npGsmTrap.setDescription('GSM modem or SMS firmware problems')
npBattery = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 3900))
npBatteryInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 3900, 1))
npBatteryPok = MibScalar((1, 3, 6, 1, 4, 1, 25728, 3900, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("batteryPower", 0), ("externalPower", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npBatteryPok.setStatus('current')
if mibBuilder.loadTexts: npBatteryPok.setDescription('Power source')
npBatteryLevel = MibScalar((1, 3, 6, 1, 4, 1, 25728, 3900, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npBatteryLevel.setStatus('current')
if mibBuilder.loadTexts: npBatteryLevel.setDescription('Battery charge, approximate value, in percent. Valid only if npBatteryPok = 0')
npBatteryChg = MibScalar((1, 3, 6, 1, 4, 1, 25728, 3900, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("batteryChargingSuspended", 0), ("batteryFastCharging", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: npBatteryChg.setStatus('current')
if mibBuilder.loadTexts: npBatteryChg.setDescription('Battery chargeing status. 0 if charging suspended or battery is full, 1 while LiPo fast charging.')
npReboot = MibIdentifier((1, 3, 6, 1, 4, 1, 25728, 911))
npSoftReboot = MibScalar((1, 3, 6, 1, 4, 1, 25728, 911, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: npSoftReboot.setStatus('current')
if mibBuilder.loadTexts: npSoftReboot.setDescription('Write 1 to reboot device after current operations completition')
npResetStack = MibScalar((1, 3, 6, 1, 4, 1, 25728, 911, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: npResetStack.setStatus('current')
if mibBuilder.loadTexts: npResetStack.setDescription('Write 1 to re-initialize network stack')
npForcedReboot = MibScalar((1, 3, 6, 1, 4, 1, 25728, 911, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: npForcedReboot.setStatus('current')
if mibBuilder.loadTexts: npForcedReboot.setDescription('Write 1 to immediate forced reboot')
mibBuilder.exportSymbols("DKSF-54-1-X-X-1", npThermoSensorN=npThermoSensorN, npBatteryLevel=npBatteryLevel, npPwrTable=npPwrTable, npThermoTrapPrefix=npThermoTrapPrefix, netPing4Pwr=netPing4Pwr, npThermo=npThermo, npThermoTrapSensorN=npThermoTrapSensorN, npPwrRepeatingResetsCounter=npPwrRepeatingResetsCounter, npRelHumidity=npRelHumidity, npBattery=npBattery, npSoftReboot=npSoftReboot, npGsmSendSms=npGsmSendSms, npRelayTable=npRelayTable, PYSNMP_MODULE_ID=netPing4Pwr, npRelayStartReset=npRelayStartReset, npResetStack=npResetStack, npThermoTrap=npThermoTrap, npGsmStrength=npGsmStrength, npThermoTraps=npThermoTraps, npThermoStatus=npThermoStatus, npThermoTrapHigh=npThermoTrapHigh, npPwrResetsCounter=npPwrResetsCounter, npThermoTrapLow=npThermoTrapLow, npRelHumSensorValueT100=npRelHumSensorValueT100, npForcedReboot=npForcedReboot, npRelHumTraps=npRelHumTraps, npPwr=npPwr, npRelHumSafeRangeLow=npRelHumSafeRangeLow, npThermoLow=npThermoLow, npThermoTrapStatus=npThermoTrapStatus, npPwrChannelN=npPwrChannelN, npRelayMode=npRelayMode, npThermoHigh=npThermoHigh, npGsm=npGsm, npReboot=npReboot, npBatteryPok=npBatteryPok, lightcom=lightcom, npGsmTraps=npGsmTraps, npThermoMemo=npThermoMemo, npBatteryChg=npBatteryChg, npRelayState=npRelayState, npRelHumTrap=npRelHumTrap, npThermoTrapMemo=npThermoTrapMemo, npBatteryInfo=npBatteryInfo, npGsmRegistration=npGsmRegistration, npGsmInfo=npGsmInfo, npRelHumSensorStatusH=npRelHumSensorStatusH, npThermoTable=npThermoTable, npRelayFlip=npRelayFlip, npRelay=npRelay, npRelHumSensorValueT=npRelHumSensorValueT, npRelHumSensorValueH=npRelHumSensorValueH, npRelHumSafeRangeHigh=npRelHumSafeRangeHigh, npRelayPowered=npRelayPowered, npPwrStartReset=npPwrStartReset, npPwrMemo=npPwrMemo, npRelHumSensor=npRelHumSensor, npThermoEntry=npThermoEntry, npRelayEntry=npRelayEntry, npRelHumSensorStatus=npRelHumSensorStatus, npThermoTrapValue=npThermoTrapValue, npGsmFailed=npGsmFailed, npGsmTrapPrefix=npGsmTrapPrefix, npRelayN=npRelayN, npGsmTrap=npGsmTrap, npPwrEntry=npPwrEntry, npRelayMemo=npRelayMemo, npThermoValue=npThermoValue, npRelHumTrapPrefix=npRelHumTrapPrefix)
|
#
# print("What's your name?")
# name = input("> ")
#
# print("Hi " + name)
a = 60
b = 7
c = 500
if a > b:
if a > c:
print(a)
else:
print(c)
else:
if b > c:
print(b)
else:
print(c)
|
coset_init = lib.coset_init_ll
insert = lib.cs_insert_ll
remove = lib.cs_remove_ll
get_s = lib.cs_get_size_ll
clear = lib.cs_clear_ll
get_min = lib.cs_min_ll
get_max = lib.cs_min_ll
upper_bound = lib.cs_upper_bound_ll
rupper_bound = lib.cs_rupper_bound_ll
get_k = lib.cs_get_k_ll
|
"""Email templates"""
verification = \
"""
<html>
<head></head>
<body>
<p>Hi!,<br>
Thanks for using 360buys! Please confirm your email address by clicking
on the link below. We'll communicate with you from time to time via email
so it's important that we have an up-to-date email address on file.<br>
<a href="{}">{}</a>.
</p>
<p>
If you did not sign up for a 360buys account
please disregard this email.<br>
Happy shopping! <br>
From 360Buys.
</p>
</body>
</html>
"""
style = """
<style type="text/css">
img {
max-width: 100%;
}
body {
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
}
body {
background-color: #f6f6f6;
}
@media only screen and (max-width: 640px) {
body {
padding: 0 !important;
}
h1 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h2 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h3 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h4 {
font-weight: 800 !important; margin: 20px 0 5px !important;
}
h1 {
font-size: 22px !important;
}
h2 {
font-size: 18px !important;
}
h3 {
font-size: 16px !important;
}
.container {
padding: 0 !important; width: 100% !important;
}
.content {
padding: 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
}
</style>
"""
email_verification = """
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{2}</title>
{0}
</head>
<body itemscope itemtype="http://schema.org/EmailMessage" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
<table class="body-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
<td class="container" width="600" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
<div class="content" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
<table class="main" width="100%" cellpadding="0" cellspacing="0" itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
<meta itemprop="name" content="Confirm Email" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" /><table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
Please confirm your email address by clicking the link below.
</td>
</tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
We may need to send you critical information about our service and it is important that we have an accurate email address.
</td>
</tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" itemprop="handler" itemscope itemtype="http://schema.org/HttpActionHandler" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
<a href="{1}" class="btn-primary" itemprop="url" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #348eda; margin: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px;">{2}</a>
</td>
</tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
— 360Buys
</td>
</tr></table></td>
</tr></table><div class="footer" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
<table width="100%" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="aligncenter content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;" align="center" valign="top">Follow <a href="http://twitter.com/360buys" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; color: #999; text-decoration: underline; margin: 0;">@360buys</a> on Twitter.</td>
</tr></table></div></div>
</td>
<td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
</tr></table></body>
</html>
"""
|
"""
Profile ../profile-datasets-py/div83/062.py
file automaticaly created by prof_gen.py script
"""
self["ID"] = "../profile-datasets-py/div83/062.py"
self["Q"] = numpy.array([ 2.135165, 2.544134, 3.283269, 4.205042,
4.999855, 5.317752, 5.205453, 5.320982,
5.907775, 6.095293, 6.191692, 6.191842,
6.146692, 6.080533, 6.027844, 6.021334,
6.013854, 5.993284, 5.947545, 5.859476,
5.707367, 5.45466 , 5.149923, 4.850026,
4.589789, 4.381871, 4.244622, 4.184272,
4.137703, 4.077603, 3.999644, 3.908545,
3.828035, 3.761756, 3.711596, 3.685716,
3.684286, 3.696326, 3.707896, 3.714566,
3.734056, 3.782776, 3.824185, 3.848895,
3.879375, 3.910525, 3.978284, 4.130243,
4.382681, 4.708588, 5.154323, 5.754207,
6.446238, 7.211108, 8.180523, 9.808144,
12.19045 , 14.78778 , 16.85582 , 18.19527 ,
19.49502 , 20.34879 , 21.16945 , 22.4375 ,
24.37611 , 26.75698 , 30.40398 , 36.18439 ,
44.42083 , 55.27844 , 69.17471 , 87.64272 ,
104.2721 , 117.5582 , 133.5732 , 155.2909 ,
154.941 , 154.3332 , 165.0957 , 194.4842 ,
252.885 , 340.3101 , 445.1148 , 547.7248 ,
640.853 , 713.9849 , 773.9685 , 829.9586 ,
885.8446 , 964.1026 , 1106.105 , 1219.651 ,
944.1328 , 916.7358 , 890.4903 , 865.3355 ,
841.2148 , 818.0752 , 795.8661 , 774.5406 , 754.055 ])
self["P"] = numpy.array([ 5.00000000e-03, 1.61000000e-02, 3.84000000e-02,
7.69000000e-02, 1.37000000e-01, 2.24400000e-01,
3.45400000e-01, 5.06400000e-01, 7.14000000e-01,
9.75300000e-01, 1.29720000e+00, 1.68720000e+00,
2.15260000e+00, 2.70090000e+00, 3.33980000e+00,
4.07700000e+00, 4.92040000e+00, 5.87760000e+00,
6.95670000e+00, 8.16550000e+00, 9.51190000e+00,
1.10038000e+01, 1.26492000e+01, 1.44559000e+01,
1.64318000e+01, 1.85847000e+01, 2.09224000e+01,
2.34526000e+01, 2.61829000e+01, 2.91210000e+01,
3.22744000e+01, 3.56505000e+01, 3.92566000e+01,
4.31001000e+01, 4.71882000e+01, 5.15278000e+01,
5.61260000e+01, 6.09895000e+01, 6.61253000e+01,
7.15398000e+01, 7.72396000e+01, 8.32310000e+01,
8.95204000e+01, 9.61138000e+01, 1.03017000e+02,
1.10237000e+02, 1.17778000e+02, 1.25646000e+02,
1.33846000e+02, 1.42385000e+02, 1.51266000e+02,
1.60496000e+02, 1.70078000e+02, 1.80018000e+02,
1.90320000e+02, 2.00989000e+02, 2.12028000e+02,
2.23442000e+02, 2.35234000e+02, 2.47408000e+02,
2.59969000e+02, 2.72919000e+02, 2.86262000e+02,
3.00000000e+02, 3.14137000e+02, 3.28675000e+02,
3.43618000e+02, 3.58966000e+02, 3.74724000e+02,
3.90893000e+02, 4.07474000e+02, 4.24470000e+02,
4.41882000e+02, 4.59712000e+02, 4.77961000e+02,
4.96630000e+02, 5.15720000e+02, 5.35232000e+02,
5.55167000e+02, 5.75525000e+02, 5.96306000e+02,
6.17511000e+02, 6.39140000e+02, 6.61192000e+02,
6.83667000e+02, 7.06565000e+02, 7.29886000e+02,
7.53628000e+02, 7.77790000e+02, 8.02371000e+02,
8.27371000e+02, 8.52788000e+02, 8.78620000e+02,
9.04866000e+02, 9.31524000e+02, 9.58591000e+02,
9.86067000e+02, 1.01395000e+03, 1.04223000e+03,
1.07092000e+03, 1.10000000e+03])
self["CO2"] = numpy.array([ 369.0472, 369.0461, 369.0418, 369.0364, 369.0272, 369.014 ,
368.9971, 368.974 , 368.9548, 368.9298, 368.8917, 368.8367,
368.7727, 368.7118, 368.6468, 368.5718, 368.5218, 368.5058,
368.5028, 368.5008, 368.5119, 368.542 , 368.5811, 368.6212,
368.6653, 368.7144, 368.7534, 368.7935, 368.8235, 368.8565,
368.8935, 368.9336, 368.9856, 369.0416, 369.1946, 369.3996,
369.6246, 369.8796, 370.1486, 370.3456, 370.5446, 370.7746,
371.0386, 371.3156, 371.5916, 371.8805, 372.2945, 372.8095,
373.3224, 373.7442, 374.1831, 374.2768, 374.2726, 374.2973,
374.3609, 374.4303, 374.5314, 374.6365, 374.7087, 374.7782,
374.8217, 374.8544, 374.8731, 374.8786, 374.8759, 374.861 ,
374.8396, 374.8074, 374.7734, 374.7403, 374.7041, 374.6662,
374.6269, 374.584 , 374.536 , 374.4828, 374.437 , 374.3912,
374.3472, 374.2982, 374.2463, 374.1886, 374.1284, 374.077 ,
374.0341, 374.0028, 373.9803, 373.9624, 373.9454, 373.9202,
373.871 , 373.8335, 373.9406, 373.9539, 373.9667, 373.9771,
373.9871, 373.9958, 374.0041, 374.0121, 374.0198])
self["CO"] = numpy.array([ 1.044168 , 1.021437 , 0.9772578 , 0.9054302 , 0.803713 ,
0.6758304 , 0.5907059 , 0.5901089 , 0.3854287 , 0.2633824 ,
0.2040667 , 0.1702239 , 0.1136093 , 0.0496143 , 0.01022324,
0.00575758, 0.00531534, 0.00554938, 0.00580365, 0.00593863,
0.00606526, 0.0061711 , 0.00626554, 0.00633542, 0.00651423,
0.00678242, 0.00705851, 0.00736169, 0.00761043, 0.00788115,
0.00810314, 0.00834774, 0.00846046, 0.00857584, 0.00859602,
0.0085699 , 0.00856188, 0.00859618, 0.00863255, 0.00879777,
0.008989 , 0.00930631, 0.00978849, 0.01032786, 0.01123676,
0.01227285, 0.01416274, 0.01706003, 0.02045891, 0.02325589,
0.02657156, 0.02754204, 0.02778702, 0.02851259, 0.02991356,
0.03140779, 0.0328479 , 0.03440639, 0.0357939 , 0.03724762,
0.03847015, 0.03961269, 0.04054844, 0.04127447, 0.04184898,
0.04215827, 0.04238661, 0.04241467, 0.04242462, 0.04238266,
0.04235297, 0.04235829, 0.04237938, 0.04243321, 0.04246113,
0.04245561, 0.04239703, 0.04230487, 0.04214374, 0.04196034,
0.04173534, 0.04151467, 0.04130051, 0.04113266, 0.04099621,
0.04089188, 0.04082478, 0.0408119 , 0.04081871, 0.04083679,
0.04087654, 0.04090395, 0.04096279, 0.04099998, 0.04116401,
0.04140064, 0.04164224, 0.0418888 , 0.04214034, 0.04239694,
0.04265861])
self["T"] = numpy.array([ 205.66 , 214.138, 228.803, 244.185, 256.943, 262.499,
258.783, 249.46 , 239.723, 229.752, 223.18 , 221.108,
224.206, 226.735, 225.136, 218.183, 210.29 , 205.09 ,
201.951, 200.133, 198.482, 196.528, 194.965, 194.055,
193.835, 194.059, 194.208, 194.173, 193.956, 193.718,
193.682, 193.933, 194.131, 194.705, 195.609, 196.61 ,
197.675, 198.799, 199.776, 200.638, 201.537, 202.294,
202.856, 203.369, 203.973, 204.844, 205.793, 206.858,
207.907, 208.908, 209.816, 210.762, 211.53 , 211.957,
212.077, 211.765, 211.189, 210.949, 211.533, 212.365,
212.424, 212.319, 212.593, 213.367, 214.502, 215.702,
216.803, 217.925, 219.127, 220.43 , 221.803, 223.135,
224.442, 225.756, 227.146, 228.743, 230.533, 232.486,
234.56 , 236.706, 238.876, 240.984, 242.984, 244.886,
246.696, 248.41 , 249.974, 251.494, 253.024, 254.591,
256.096, 257.127, 254.785, 254.785, 254.785, 254.785,
254.785, 254.785, 254.785, 254.785, 254.785])
self["N2O"] = numpy.array([ 0.00045 , 0.00045 , 0.00045 , 0.00045 , 0.00087 ,
0.00082 , 0.00045 , 0.00042 , 0.00133999, 0.00239998,
0.00516997, 0.00859995, 0.01236992, 0.01220993, 0.01250992,
0.01407992, 0.0165599 , 0.02100987, 0.02529985, 0.02979983,
0.03407981, 0.03503981, 0.03438982, 0.03376984, 0.02924987,
0.02439989, 0.01973992, 0.01793992, 0.01710993, 0.01630993,
0.01759993, 0.02691989, 0.03594986, 0.04469983, 0.0529298 ,
0.05983978, 0.06655975, 0.07307973, 0.08438969, 0.1023196 ,
0.1193496 , 0.1470594 , 0.1755893 , 0.2027892 , 0.2299491 ,
0.254479 , 0.2758589 , 0.2846188 , 0.2926787 , 0.2999086 ,
0.3061684 , 0.3113282 , 0.315218 , 0.3176777 , 0.3185374 ,
0.3185369 , 0.3185361 , 0.3185353 , 0.3185346 , 0.3185342 ,
0.3185338 , 0.3185335 , 0.3185333 , 0.3185329 , 0.3185322 ,
0.3185315 , 0.3185303 , 0.3185285 , 0.3185259 , 0.3185224 ,
0.318518 , 0.3185121 , 0.3185068 , 0.3185026 , 0.3184975 ,
0.3184905 , 0.3184906 , 0.3184908 , 0.3184874 , 0.318478 ,
0.3184594 , 0.3184316 , 0.3183982 , 0.3183655 , 0.3183359 ,
0.3183126 , 0.3182935 , 0.3182756 , 0.3182578 , 0.3182329 ,
0.3181877 , 0.3181515 , 0.3182393 , 0.318248 , 0.3182563 ,
0.3182644 , 0.318272 , 0.3182794 , 0.3182865 , 0.3182933 ,
0.3182998 ])
self["O3"] = numpy.array([ 0.7587884 , 0.6506303 , 0.4920414 , 0.4354072 , 0.4927165 ,
0.6960063 , 1.086994 , 1.655471 , 2.345416 , 3.015182 ,
3.040381 , 3.532388 , 3.956836 , 4.296324 , 4.369834 ,
3.956136 , 3.575168 , 3.463419 , 3.454539 , 3.44159 ,
3.335181 , 3.402581 , 3.532302 , 3.614202 , 3.602793 ,
3.518435 , 3.352456 , 3.217207 , 3.064387 , 2.883768 ,
2.693159 , 2.52414 , 2.357881 , 2.325821 , 2.490021 ,
2.6827 , 2.71009 , 2.557481 , 2.390191 , 2.257812 ,
2.018752 , 1.729413 , 1.550014 , 1.426195 , 1.229235 ,
1.030666 , 0.8172317 , 0.6441773 , 0.5255887 , 0.4441519 ,
0.3733641 , 0.3122102 , 0.2650703 , 0.2375863 , 0.2258832 ,
0.2185519 , 0.2087325 , 0.1960951 , 0.1812439 , 0.164181 ,
0.1450802 , 0.1258284 , 0.1086527 , 0.09469558, 0.08401265,
0.07566868, 0.06925349, 0.06385209, 0.05934416, 0.05564432,
0.05283704, 0.05088414, 0.04933126, 0.04790827, 0.04618753,
0.04385149, 0.04146417, 0.03934833, 0.03776906, 0.03677575,
0.03642339, 0.03630874, 0.03641958, 0.03672857, 0.03705864,
0.0372298 , 0.03721248, 0.03710618, 0.03694554, 0.03665513,
0.03590224, 0.03457798, 0.03937109, 0.03937217, 0.03937321,
0.0393742 , 0.03937515, 0.03937606, 0.03937694, 0.03937778,
0.03937858])
self["CH4"] = numpy.array([ 0.05500208, 0.05500206, 0.05500202, 0.09355291, 0.1077775 ,
0.1368143 , 0.1482102 , 0.1591442 , 0.173895 , 0.2012118 ,
0.2391385 , 0.2866422 , 0.3400379 , 0.3891816 , 0.4364604 ,
0.4843851 , 0.5284008 , 0.5675666 , 0.6070874 , 0.6606711 ,
0.7117169 , 0.7775898 , 0.8491726 , 0.9177535 , 1.036695 ,
1.157895 , 1.274525 , 1.363954 , 1.442584 , 1.458114 ,
1.474784 , 1.492634 , 1.511694 , 1.509474 , 1.507334 ,
1.505314 , 1.503454 , 1.501804 , 1.506684 , 1.511824 ,
1.517244 , 1.522934 , 1.528904 , 1.560684 , 1.585964 ,
1.612404 , 1.640223 , 1.669413 , 1.697013 , 1.711792 ,
1.727171 , 1.73038 , 1.730169 , 1.730588 , 1.731836 ,
1.733073 , 1.734009 , 1.734974 , 1.735041 , 1.734998 ,
1.734876 , 1.734715 , 1.734483 , 1.734181 , 1.733818 ,
1.733374 , 1.732907 , 1.732417 , 1.731973 , 1.731654 ,
1.73138 , 1.731228 , 1.731059 , 1.730866 , 1.730589 ,
1.730201 , 1.729792 , 1.729333 , 1.728885 , 1.728424 ,
1.727993 , 1.727552 , 1.727121 , 1.726794 , 1.726533 ,
1.726347 , 1.726223 , 1.726126 , 1.72604 , 1.725904 ,
1.725669 , 1.725533 , 1.726059 , 1.726146 , 1.726221 ,
1.726285 , 1.726327 , 1.726367 , 1.726405 , 1.726442 ,
1.726477 ])
self["CTP"] = 500.0
self["CFRACTION"] = 0.0
self["IDG"] = 0
self["ISH"] = 0
self["ELEVATION"] = 0.0
self["S2M"]["T"] = 254.785
self["S2M"]["Q"] = 754.054972021
self["S2M"]["O"] = 0.0393785839754
self["S2M"]["P"] = 875.53882
self["S2M"]["U"] = 0.0
self["S2M"]["V"] = 0.0
self["S2M"]["WFETC"] = 100000.0
self["SKIN"]["SURFTYPE"] = 0
self["SKIN"]["WATERTYPE"] = 1
self["SKIN"]["T"] = 254.785
self["SKIN"]["SALINITY"] = 35.0
self["SKIN"]["FOAM_FRACTION"] = 0.0
self["SKIN"]["FASTEM"] = numpy.array([ 3. , 5. , 15. , 0.1, 0.3])
self["ZENANGLE"] = 0.0
self["AZANGLE"] = 0.0
self["SUNZENANGLE"] = 0.0
self["SUNAZANGLE"] = 0.0
self["LATITUDE"] = -70.044
self["GAS_UNITS"] = 2
self["BE"] = 0.0
self["COSBK"] = 0.0
self["DATE"] = numpy.array([2007, 6, 1])
self["TIME"] = numpy.array([0, 0, 0])
|
# Copyright 2004-2008 Roman Yakovenko.
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
"""
This file contains indexing suite v2 code
"""
file_name = "indexing_suite/container_traits.hpp"
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
// at http://www.boost.org/LICENSE_1_0.txt)
//
// Header file container_traits.hpp
//
// Traits information about entire containers for use in determining
// what Python methods to provide.
//
// History
// =======
// 2003/ 8/23 rmg File creation as container_suite.hpp
// 2003/ 9/ 8 rmg Renamed container_traits.hpp
// 2003/10/28 rmg Split container-specific versions into separate headers
// 2004/ 1/28 rmg Convert to bitset-based feature selection
// 2008/12/08 Roman Change indexing suite layout
//
// $Id: container_traits.hpp,v 1.1.2.15 2004/02/08 18:57:42 raoulgough Exp $
//
#ifndef BOOST_PYTHON_INDEXING_CONTAINER_TRAITS_HPP
#define BOOST_PYTHON_INDEXING_CONTAINER_TRAITS_HPP
#include <indexing_suite/suite_utils.hpp>
#include <indexing_suite/methods.hpp>
#include <indexing_suite/value_traits.hpp>
#include <boost/type_traits.hpp>
#include <boost/call_traits.hpp>
#include <boost/mpl/if.hpp>
#include <boost/iterator/iterator_traits.hpp>
namespace boost { namespace python { namespace indexing {
#if BOOST_WORKAROUND (BOOST_MSVC, <= 1200)
// MSVC6 has problems with get_signature if parameter types have
// top-level const qualification (e.g. int const). Unfortunately,
// this is exactly what happens with boost::call_traits, so we
// substitute a really dumb version of it instead.
template<typename T> struct broken_call_traits {
typedef T const & param_type;
};
# define BOOST_PYTHON_INDEXING_CALL_TRAITS broken_call_traits
#else
# define BOOST_PYTHON_INDEXING_CALL_TRAITS ::boost::call_traits
#endif
/////////////////////////////////////////////////////////////////////////
// Lowest common denominator traits - applicable to real containers
// and iterator pairs
/////////////////////////////////////////////////////////////////////////
template<typename Container, typename ValueTraits = detail::no_override>
struct base_container_traits
{
typedef base_container_traits<Container, ValueTraits> self_type;
protected:
BOOST_STATIC_CONSTANT(
bool, is_mutable = ! boost::is_const<Container>::value);
public:
typedef Container container;
typedef BOOST_DEDUCED_TYPENAME container::value_type value_type;
typedef BOOST_DEDUCED_TYPENAME mpl::if_<
is_const<container>,
BOOST_DEDUCED_TYPENAME container::const_iterator,
BOOST_DEDUCED_TYPENAME container::iterator
>::type iterator;
typedef BOOST_DEDUCED_TYPENAME container::const_iterator const_iterator;
typedef typename ::boost::iterator_reference<iterator>::type reference;
typedef value_type key_type; // Used for find, etc.
typedef typename container::size_type size_type;
typedef typename make_signed<size_type>::type index_type;
// at(), operator[]. Signed to support Python -ve indexes
typedef typename BOOST_PYTHON_INDEXING_CALL_TRAITS<value_type>::param_type
value_param;
typedef typename BOOST_PYTHON_INDEXING_CALL_TRAITS<key_type>::param_type
key_param;
typedef typename BOOST_PYTHON_INDEXING_CALL_TRAITS<index_type>::param_type
index_param;
// Allow client code to replace the default value traits via our
// second (optional) template parameter
typedef value_traits<value_type> default_value_traits;
typedef typename detail::maybe_override<
default_value_traits, ValueTraits>::type value_traits_type;
// Forward visit_container_class to value_traits_type
template<typename PythonClass, typename Policy>
static void visit_container_class(
PythonClass &pyClass, Policy const &policy)
{
value_traits_type::visit_container_class (pyClass, policy);
}
};
/////////////////////////////////////////////////////////////////////////
// ContainerTraits for sequences with random access - std::vector,
// std::deque and the like
/////////////////////////////////////////////////////////////////////////
template<typename Container, typename ValueTraits = detail::no_override>
class random_access_sequence_traits
: public base_container_traits<Container, ValueTraits>
{
typedef base_container_traits<Container, ValueTraits> base_class;
public:
typedef typename base_class::value_traits_type value_traits_type;
BOOST_STATIC_CONSTANT(
method_set_type,
supported_methods = (
method_len
| method_getitem
| method_getitem_slice
| detail::method_set_if<
value_traits_type::equality_comparable,
method_index
| method_contains
| method_count
| method_equal
>::value
| detail::method_set_if<
base_class::is_mutable,
method_setitem
| method_setitem_slice
| method_delitem
| method_delitem_slice
| method_reverse
| method_append
| method_insert
| method_extend
>::value
| detail::method_set_if<
base_class::is_mutable && value_traits_type::less_than_comparable,
method_sort
>::value
));
// Not supported: method_iter, method_has_key
};
} } }
#endif // BOOST_PYTHON_INDEXING_CONTAINER_SUITE_HPP
"""
|
a = int(input())
b = int(input())
if a > b:
print(1)
elif a < b:
print(2)
else:
print(0)
|
"""文字列基礎
文字関連の判定メソッド
英字であるかを判定する isalpha
[説明ページ]
https://tech.nkhn37.net/python-isxxxxx/#_isalpha
"""
print('=== isalpha ===')
print('abcdefgh'.isalpha())
print('abc12345'.isalpha())
|
parrot = "Norwegian Blue"
for char in parrot:
print(char)
|
num1=float(input('Primeiro número: '))
num2=float(input('Segundo número: '))
if num1 > num2:
print('\033[4;31;42mO primeiro valor é maior.\033[m')
elif num2 > num1:
print('\033[1;33;45mO segundo valor é maior.\033[m')
else:
print('Os valores são iguais.')
|
# """
# This is the robot's control interface.
# You should not implement it, or speculate about its implementation
# """
#class Robot:
# def move(self):
# """
# Returns true if the cell in front is open and robot moves into the cell.
# Returns false if the cell in front is blocked and robot stays in the current cell.
# :rtype bool
# """
#
# def turnLeft(self):
# """
# Robot will stay in the same cell after calling turnLeft/turnRight.
# Each turn will be 90 degrees.
# :rtype void
# """
#
# def turnRight(self):
# """
# Robot will stay in the same cell after calling turnLeft/turnRight.
# Each turn will be 90 degrees.
# :rtype void
# """
#
# def clean(self):
# """
# Clean the current cell.
# :rtype void
# """
class Solution:
def cleanRoom(self, robot):
"""
:type robot: Robot
:rtype: None
"""
def clean_room(cell, d): # d for direction
robot.clean()
visited.add(cell)
for i in range(4):
new_d = (d + i) % 4
new_cell = (cell[0] + move[new_d][0], cell[1] + move[new_d][1])
if not new_cell in visited and robot.move():
clean_room(new_cell, new_d)
robot.turnRight()
robot.turnRight()
robot.move()
robot.turnLeft()
else:
robot.turnRight()
return True
move = [(-1, 0), (0, 1), (1, 0), (0, -1)]
visited = set()
clean_room((0, 0), 0)
# Time complexity : \mathcal{O}(4^{N - M}), where N is a number of cells in the room and M is a number of obstacles, because for each cell the algorithm checks 4 directions.
# Space complexity : \mathcal{O}(N - M), where N is a number of cells in the room and M is a number of obstacles, to track visited cells.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.