fix for gpu valgrind bot
TBR=egdaniel@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1689823004 Review URL: https://codereview.chromium.org/1689823004
This commit is contained in:
parent
1b39f43941
commit
860fc696d7
@ -94,9 +94,9 @@ ThermalManager::TripPoint::TripPoint(SkString thermalZoneRoot, SkString pointNam
|
||||
fullPath.appendf("/%s", pointName.c_str());
|
||||
fPoint = OpenFileAndReadInt32(fullPath.c_str());
|
||||
fBase = GetTemp(fThermalZoneRoot);
|
||||
fThreshold = threshold;
|
||||
fDisabled = fBase >= fPoint + fThreshold; // We disable any trip point which start off
|
||||
// triggered
|
||||
fThreshold = threshold;
|
||||
if (!fDisabled) {
|
||||
SkDebugf("Trip point %s base - %d trip point-%d\n", fullPath.c_str(),
|
||||
fBase, fPoint);
|
||||
|
Loading…
Reference in New Issue
Block a user