Zeitpunkt Nutzer Delta Tröts TNR Titel Version maxTL Sa 13.07.2024 00:00:08 61.948 +1 3.539.632 57,1 Fosstodon 4.2.10 500 Fr 12.07.2024 00:01:45 61.947 +6 3.537.376 57,1 Fosstodon 4.2.10 500 Do 11.07.2024 00:00:37 61.941 +12 3.533.951 57,1 Fosstodon 4.2.10 500 Mi 10.07.2024 00:00:53 61.929 +5 3.530.507 57,0 Fosstodon 4.2.10 500 Di 09.07.2024 00:00:08 61.924 +2 3.527.175 57,0 Fosstodon 4.2.10 500 Mo 08.07.2024 00:00:19 61.922 +5 3.524.369 56,9 Fosstodon 4.2.10 500 So 07.07.2024 00:00:04 61.917 0 3.522.885 56,9 Fosstodon 4.2.10 500 Sa 06.07.2024 00:00:07 61.917 -2 3.523.632 56,9 Fosstodon 4.2.10 500 Fr 05.07.2024 00:00:27 61.919 0 3.520.710 56,9 Fosstodon 4.2.10 500 Do 04.07.2024 00:00:52 61.919 0 3.517.337 56,8 Fosstodon 4.2.9 500
coolbutuseless (@coolbutuseless) · 02/2023 · Tröts: 4.421 · Folger: 705
Sa 13.07.2024 01:43
{governor} is now on CRAN!
"It can be necessary to limit the rate of execution of a loop or
repeated function call.
A speed governor will insert pauses during execution to meet
a user-specified loop time. Timers are alarm clocks which will indicate
whether a certain time has passed. These mechanisms are implemented in 'C'
to minimize processing overhead."
https://github.com/coolbutuseless/governor
https://cran.r-project.org/package=governor
{governor} is a governor (or speed limiter) which limits the rate at which a for-loop or while-loop will run. The total execution speed is limited by inserting short pauses based upon the time to run through the loop. The waiting time is adjusted continuously to meet the target duration. What’s in the box gov_init(), gov_wait() for limiting the execution speed of a for-loop, while-loop or repeated function call. gov_disable(), gov_enable() for disabling/re-enabling a governor. When a governor is disabled, gov_wait() always returns immediately without waiting. timer_init(), timer_check() for setting alarms such that timer_check() will return TRUE after the given time has elapsed timer_disable(), timer_enable() for disabling/re-enabling a timer. When a timer is disabled it always immediately returns FALSE
Showing how to use the 'governor' package to run a loop at 30 times / second.
Showing how to use timers in the 'governor' package.
[Öffentlich] Antw.: 0 Wtrl.: 0 Fav.: 0