mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 07:18:22 +00:00
ex: add DelayedWorkItem
Separate WorkItem from DelayedWorkItem so that the former doesn't pay the price of a timer and a Dpc if it won't ever get delayed.
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ const mi = mm.private;
|
||||
/// Interval at which we do housekeeping (working set update, reaping, etc.)
|
||||
const update_interval_s = 15;
|
||||
const update_interval = std.time.ns_per_s * update_interval_s;
|
||||
var update_work_item: ex.WorkItem = undefined;
|
||||
var update_work_item: ex.DelayedWorkItem = undefined;
|
||||
|
||||
/// Fixed point conversion for WMA computation.
|
||||
const wma_unit = 256;
|
||||
|
||||
Reference in New Issue
Block a user