mirror of https://github.com/PentHertz/srsLTE.git
application of new cache allocator to deques in scheduler
This commit is contained in:
parent
28847badcf
commit
b619a2b649
|
@ -15,6 +15,7 @@
|
|||
|
||||
#include "sched.h"
|
||||
#include "schedulers/sched_base.h"
|
||||
#include "srsran/adt/pool/cached_alloc.h"
|
||||
#include "srsran/srslog/srslog.h"
|
||||
|
||||
namespace srsenb {
|
||||
|
@ -122,9 +123,9 @@ private:
|
|||
const sched_cell_params_t* cc_cfg = nullptr;
|
||||
sched_ue_list* ue_db = nullptr;
|
||||
|
||||
std::deque<pending_rar_t> pending_rars;
|
||||
uint32_t rar_aggr_level = 2;
|
||||
static const uint32_t PRACH_RAR_OFFSET = 3; // TS 36.321 Sec. 5.1.4
|
||||
srsran::deque<pending_rar_t> pending_rars;
|
||||
uint32_t rar_aggr_level = 2;
|
||||
static const uint32_t PRACH_RAR_OFFSET = 3; // TS 36.321 Sec. 5.1.4
|
||||
};
|
||||
|
||||
} // namespace srsenb
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
#ifndef SRSRAN_SCHED_LCH_H
|
||||
#define SRSRAN_SCHED_LCH_H
|
||||
|
||||
#include "srsran/adt/pool/cached_alloc.h"
|
||||
#include "srsran/interfaces/sched_interface.h"
|
||||
#include "srsran/mac/pdu.h"
|
||||
#include "srsran/srslog/srslog.h"
|
||||
#include <deque>
|
||||
|
||||
namespace srsenb {
|
||||
|
||||
|
@ -59,7 +59,7 @@ public:
|
|||
|
||||
// Control Element Command queue
|
||||
using ce_cmd = srsran::dl_sch_lcid;
|
||||
std::deque<ce_cmd> pending_ces;
|
||||
srsran::deque<ce_cmd> pending_ces;
|
||||
|
||||
private:
|
||||
struct ue_bearer_t {
|
||||
|
|
Loading…
Reference in New Issue