cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

uncore-memory.json (2648B)


      1[
      2    {
      3        "BriefDescription": "Memory page activates",
      4        "Counter": "0,1,2,3",
      5        "EventCode": "0x1",
      6        "EventName": "UNC_M_ACT_COUNT",
      7        "PerPkg": "1",
      8        "Unit": "iMC"
      9    },
     10    {
     11        "BriefDescription": "read requests to memory controller. Derived from unc_m_cas_count.rd",
     12        "Counter": "0,1,2,3",
     13        "EventCode": "0x4",
     14        "EventName": "LLC_MISSES.MEM_READ",
     15        "PerPkg": "1",
     16        "UMask": "0x3",
     17        "Unit": "iMC"
     18    },
     19    {
     20        "BriefDescription": "write requests to memory controller. Derived from unc_m_cas_count.wr",
     21        "Counter": "0,1,2,3",
     22        "EventCode": "0x4",
     23        "EventName": "LLC_MISSES.MEM_WRITE",
     24        "PerPkg": "1",
     25        "UMask": "0xc",
     26        "Unit": "iMC"
     27    },
     28    {
     29        "BriefDescription": "Memory controller clock ticks. Used to get percentages of memory controller cycles events",
     30        "Counter": "0,1,2,3",
     31        "EventName": "UNC_M_CLOCKTICKS",
     32        "PerPkg": "1",
     33        "Unit": "iMC"
     34    },
     35    {
     36        "BriefDescription": "Cycles where DRAM ranks are in power down (CKE) mode",
     37        "Counter": "0,1,2,3",
     38        "EventCode": "0x85",
     39        "EventName": "UNC_M_POWER_CHANNEL_PPD",
     40        "MetricExpr": "(UNC_M_POWER_CHANNEL_PPD / UNC_M_CLOCKTICKS) * 100.",
     41        "MetricName": "power_channel_ppd %",
     42        "PerPkg": "1",
     43        "Unit": "iMC"
     44    },
     45    {
     46        "BriefDescription": "Cycles all ranks are in critical thermal throttle",
     47        "Counter": "0,1,2,3",
     48        "EventCode": "0x86",
     49        "EventName": "UNC_M_POWER_CRITICAL_THROTTLE_CYCLES",
     50        "MetricExpr": "(UNC_M_POWER_CRITICAL_THROTTLE_CYCLES / UNC_M_CLOCKTICKS) * 100.",
     51        "MetricName": "power_critical_throttle_cycles %",
     52        "PerPkg": "1",
     53        "Unit": "iMC"
     54    },
     55    {
     56        "BriefDescription": "Cycles Memory is in self refresh power mode",
     57        "Counter": "0,1,2,3",
     58        "EventCode": "0x43",
     59        "EventName": "UNC_M_POWER_SELF_REFRESH",
     60        "MetricExpr": "(UNC_M_POWER_SELF_REFRESH / UNC_M_CLOCKTICKS) * 100.",
     61        "MetricName": "power_self_refresh %",
     62        "PerPkg": "1",
     63        "Unit": "iMC"
     64    },
     65    {
     66        "BriefDescription": "Memory page conflicts",
     67        "Counter": "0,1,2,3",
     68        "EventCode": "0x2",
     69        "EventName": "UNC_M_PRE_COUNT.PAGE_MISS",
     70        "PerPkg": "1",
     71        "UMask": "0x1",
     72        "Unit": "iMC"
     73    },
     74    {
     75        "BriefDescription": "Occupancy counter for memory read queue",
     76        "Counter": "0,1,2,3",
     77        "EventCode": "0x80",
     78        "EventName": "UNC_M_RPQ_OCCUPANCY",
     79        "PerPkg": "1",
     80        "Unit": "iMC"
     81    }
     82]