Skip to content

Commit 5600639

Browse files
herlesupreethcodebot
authored andcommitted
sched: add helper function to fetch the slot to allocated PDSCH/PUSCH in a RAN slice candidate
1 parent 6d78857 commit 5600639

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/scheduler/slicing/ran_slice_candidate.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ class common_ran_slice_candidate
5555
: max_rbs - inst->pusch_rb_count_per_slot[slot_tx.to_uint()];
5656
}
5757

58+
/// Returns slot at which PUSCH/PDSCH needs to be scheduled for this slice candidate.
59+
slot_point get_slot_tx() const { return slot_tx; }
60+
5861
protected:
5962
ran_slice_instance* inst = nullptr;
6063
unsigned max_rbs = 0;

0 commit comments

Comments
 (0)