aboutsummaryrefslogtreecommitdiff
path: root/contrib/processor-trace/libipt/internal/include/pt_decoder_function.h
diff options
context:
space:
mode:
authorAustin Shafer <ashafer@FreeBSD.org>2026-09-30 19:05:49 +0000
committerAustin Shafer <ashafer@FreeBSD.org>2026-11-03 16:40:29 +0000
commite58325fb988c1704637656b197af65e67657d6fd (patch)
treef90e147a24ae531f3cbb33a217a2e35688792393 /contrib/processor-trace/libipt/internal/include/pt_decoder_function.h
parent9ed1713e2818aed7d785fcc94a675a421a51e7e1 (diff)
iichid: keep a fixed sampling cadence in polled modeHEADmain
Touchpads using sampling mode have a sampling task which is run at a certain polling rate. When the system is under load this task may not complete quickly which might stretch the time taken beyond what the polling rate should be, leading to dropped touchpad motion. On my laptop this causes the touchpad to be barely useable when the system is under heavy load, and it is really difficult to move the cursor since so many events are dropped. This change adjusts the sampling loop to schedule the next polling event to take place at a specific time in the future, based on the polling period. If servicing the poll takes longer due to load then the next sample will still be scheduled at its original time. Approved by: wulf, khng (mentor) Differential Revision: https://reviews.freebsd.org/D0914
Diffstat (limited to 'contrib/processor-trace/libipt/internal/include/pt_decoder_function.h')
0 files changed, 0 insertions, 0 deletions