video: driver: adjust the residency print
Adjust the residency print to have more closer integer value. Change-Id: Idc9605bd6be8f65ab8ec7b61059660abbf2e85fb Signed-off-by: Ankush Mitra <quic_ankumitr@quicinc.com>
Dieser Commit ist enthalten in:
@@ -1206,7 +1206,7 @@ static int print_residency_stats(struct msm_vidc_core *core, struct clock_info *
|
||||
list_for_each_entry(residency, &cl->residency_list, list) {
|
||||
d_vpr_hs("%s: %s clock rate [%d] total %lluus residency %u%%\n",
|
||||
__func__, cl->name, residency->rate, residency->total_time_us,
|
||||
(residency->total_time_us * 100 + total_time_us - 1) / total_time_us);
|
||||
(residency->total_time_us * 100 + total_time_us / 2) / total_time_us);
|
||||
}
|
||||
|
||||
return rc;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren