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 (2533B)


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