Displaying 1 result from an estimated 1 matches for "pmstat_get_cx_stat".
2012 May 29
0
[PATCH] xenpm: Fix reporting of C0 residence times
# HG changeset patch
# User Boris Ostrovsky <boris.ostrovsky@amd.com>
# Date 1338309680 -7200
# Node ID 3d52d9fe62559ed6f90cb33a4b95f536ab5bc683
# Parent 53e0571f94e4bcc45270dcbd444c7c91166cef6d
xenpm: Fix reporting of C0 residence times
Idle state residence times as provided by pmstat_get_cx_stat() are not
reported precisely since remote core may be in idle state and therefore
has not updated its statistics at the time local core collected them.
This causes C0 residencies as calculated by xenpm to sometimes become
negative.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
di...