minJankFrameCount constant
int
const minJankFrameCount
Late frames jank_detected needs besides the percentage. A quiet
screen draws only Sleuth's own scan frames, about one a second, so
one late frame among the ten in jankWindow already reads 10 % and
two read 20 %. On an animated screen the percentage needs many more.
Implementation
static const int minJankFrameCount = 3;