Skip to content

Commit

Permalink
README: Add documentation for --led-no-busy-waiting
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Aistleitner committed Feb 15, 2024
1 parent 2986ce6 commit f3c3243
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,20 @@ Use this also if you want to have a stable baseline refresh rate when using
the vsync-multiple flag `-V` in the [led-image-viewer] or
[video-viewer] utility programs.

```
--led-no-busy-waiting : Don't use busy waiting when limiting refresh rate.
```

This allows to switch from busy waiting to sleep waiting when limiting the
refresh rate (`--led-limit-refresh`).

By default, refresh rate limiting uses busy waiting, which is CPU intensive but
gives most accurate timings. This is fine for multi-core boards.

On single core boards (e.g.: Raspberry Pi Zero) busy waiting makes the system
unresponsive for other/background tasks. There, sleep waiting improves the
system's responsiveness at the cost of slightly less accurate timings.

```
--led-scan-mode=<0..1> : 0 = progressive; 1 = interlaced (Default: 0).
```
Expand Down

0 comments on commit f3c3243

Please sign in to comment.