thermal: set virtualskin model cache interval to 7 seconds

With previous samples being used in vt estimation, the sampling period
between vt estimation calls impact vt accuracy. Currently vt model is
using default cache interval of 2 seconds. This change sets the cache
interval to 7 seconds explicitly to match with passive delay

Bug: 341967304
Test: Check vt estimation invoke calls with frequency thermalservice dump

Change-Id: Ic6a38939b2bec88a66c87517e6efa548566ea877
Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
Sayanna Chandula 2024-05-21 15:46:35 -07:00
parent c3ffd4e875
commit 1b7d302e06
3 changed files with 6 additions and 3 deletions

View file

@ -230,7 +230,8 @@
"PreviousSampleCount": 3,
"OffsetThresholds" : [50000, 53000],
"OffsetValues" : [500, 1000],
"BackupSensor" : "VIRTUAL-SKIN-LEGACY"
"BackupSensor" : "VIRTUAL-SKIN-LEGACY",
"TimeResolution": 7000
},
{
"Name": "VIRTUAL-SKIN-MODEL-UPPER-CLAMPED",

View file

@ -220,7 +220,8 @@
"PreviousSampleCount": 3,
"OffsetThresholds" : [50000, 53000],
"OffsetValues" : [500, 1000],
"BackupSensor" : "VIRTUAL-SKIN-LEGACY"
"BackupSensor" : "VIRTUAL-SKIN-LEGACY",
"TimeResolution": 7000
},
{
"Name": "VIRTUAL-SKIN-MODEL-UPPER-CLAMPED",

View file

@ -209,7 +209,8 @@
"PreviousSampleCount": 3,
"OffsetThresholds" : [50000, 53000],
"OffsetValues" : [500, 1000],
"BackupSensor" : "VIRTUAL-SKIN-LEGACY"
"BackupSensor" : "VIRTUAL-SKIN-LEGACY",
"TimeResolution": 7000
},
{
"Name": "VIRTUAL-SKIN-MODEL-UPPER-CLAMPED",