diff options
author | Gayatri Kammela <[email protected]> | 2020-10-06 15:47:02 -0700 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2020-10-07 23:06:29 +0200 |
commit | 025f26de7fa0fc40c8baf6c19fb273500f3321f0 (patch) | |
tree | 8c9a2a1e384c158cb2fc4c3370e015801caa8f67 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 652036bd5be0ac94fd1db851d72ece8ee133c74d (diff) |
platform/x86: intel_pmc_core: Fix the slp_s0 counter displayed value
slp_s0 counter value displayed via debugfs interface is calculated by
multiplying the granularity for crystal oscillator tick as 100us with
the value read from using slp_s0 offset. But the granularity of the tick
varies from platform to platform and it needs to be fixed.
Hence, specify granularity of the tick for each platform, so that the
value of the slp_s0 counter is accurate.
Signed-off-by: Gayatri Kammela <[email protected]>
Signed-off-by: David E. Box <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions