diff options
author | Vikas Shivappa <[email protected]> | 2017-07-25 14:14:46 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-08-01 22:41:29 +0200 |
commit | a4de1dfdd726537e2a78b55759fc646d9b0a0be8 (patch) | |
tree | 7b3e16e16417ada6e732bf59c8098b1f434e12bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9f52425ba303d91c8370719e91d7e578bfdf309f (diff) |
x86/intel_rdt/mbm: Add mbm counter initialization
MBM counters are monotonically increasing counts representing the total
memory bytes at a particular time. In order to calculate total_bytes for
an rdtgroup, we store the value of the counter when we create an
rdtgroup or when a new domain comes online.
When the total_bytes(all memory controller bytes) or local_bytes(local
memory controller bytes) file in "mon_data" is read it shows the
total bytes for that rdtgroup since its creation. User can snapshot this
at different time intervals to obtain bytes/second.
Signed-off-by: Vikas Shivappa <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/1501017287-28083-28-git-send-email-vikas.shivappa@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions