am 4d407a0f
: surfaceflinger: Trace HW vsync enable
* commit '4d407a0f05ad9ba3c232ff5b6742495660c0e4ab': surfaceflinger: Trace HW vsync enable
This commit is contained in:
commit
d1a65da9e8
@ -524,6 +524,10 @@ void HWComposer::eventControl(int disp, int event, int enabled) {
|
||||
if (!err) {
|
||||
int32_t& events(mDisplayData[disp].events);
|
||||
events = (events & ~eventBit) | newValue;
|
||||
|
||||
char tag[16];
|
||||
snprintf(tag, sizeof(tag), "HW_VSYNC_ON_%1u", disp);
|
||||
ATRACE_INT(tag, enabled);
|
||||
}
|
||||
}
|
||||
// error here should not happen -- not sure what we should
|
||||
|
Loading…
Reference in New Issue
Block a user