From 67aa3d1a21beed9ee5c6d76d1211cbd5bc765013 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 22 May 2024 19:17:25 +0200 Subject: [PATCH] add TODO for PUS scheduler --- satrs/src/pus/scheduler.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/satrs/src/pus/scheduler.rs b/satrs/src/pus/scheduler.rs index b13e103..106411a 100644 --- a/satrs/src/pus/scheduler.rs +++ b/satrs/src/pus/scheduler.rs @@ -396,6 +396,9 @@ pub mod alloc_mod { #[derive(Debug)] pub struct PusScheduler { // TODO: Use MonotonicTime from tai-time crate instead of UnixTime and cache leap seconds. + // TODO: Introduce optional limit of commands stored in the TC map. If a limit is set, + // there will be a check for each insertion whether the map is full, making the memory + // usage of the scheduler more deterministic. tc_map: BTreeMap>, pub(crate) current_time: UnixTime, time_margin: Duration,