LEFT | RIGHT |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 uint32_t tokenPoolSize; /// current size of token pool (byte) | 64 uint32_t tokenPoolSize; /// current size of token pool (byte) |
65 uint32_t maxTokenPoolSize; /// maximum size of token pool (byte) | 65 uint32_t maxTokenPoolSize; /// maximum size of token pool (byte) |
66 int counter; /// the number of token borrow or given to tok
en bank | 66 int counter; /// the number of token borrow or given to tok
en bank |
67 uint32_t burstCredit; /// the maximum number of tokens connection i
can borrow from the bank each time | 67 uint32_t burstCredit; /// the maximum number of tokens connection i
can borrow from the bank each time |
68 int debtLimit; /// counter threshold that the flow cannot fur
ther borrow tokens from bank | 68 int debtLimit; /// counter threshold that the flow cannot fur
ther borrow tokens from bank |
69 uint32_t creditableThreshold; /// the flow cannot borrow token from bank unt
il the number of token it has deposited to bank reaches this threshold | 69 uint32_t creditableThreshold; /// the flow cannot borrow token from bank unt
il the number of token it has deposited to bank reaches this threshold |
70 }; | 70 }; |
71 | 71 |
72 /** | 72 /** |
73 * \ingroup ff-api | 73 * \ingroup ff-api |
74 * \defgroup FF-API TdTbfqFfMacScheduler | |
75 */ | |
76 /** | |
77 * \ingroup TdTbfqFfMacScheduler | |
78 * \brief Implements the SCHED SAP and CSCHED SAP for a Time Domain Token Bank F
air Queue scheduler | 74 * \brief Implements the SCHED SAP and CSCHED SAP for a Time Domain Token Bank F
air Queue scheduler |
79 * | 75 * |
80 * This class implements the interface defined by the FfMacScheduler abstract cl
ass | 76 * This class implements the interface defined by the FfMacScheduler abstract cl
ass |
81 */ | 77 */ |
82 | 78 |
83 class TdTbfqFfMacScheduler : public FfMacScheduler | 79 class TdTbfqFfMacScheduler : public FfMacScheduler |
84 { | 80 { |
85 public: | 81 public: |
86 /** | 82 /** |
87 * \brief Constructor | 83 * \brief Constructor |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 293 |
298 // RACH attributes | 294 // RACH attributes |
299 std::vector <struct RachListElement_s> m_rachList; | 295 std::vector <struct RachListElement_s> m_rachList; |
300 std::vector <uint16_t> m_rachAllocationMap; | 296 std::vector <uint16_t> m_rachAllocationMap; |
301 uint8_t m_ulGrantMcs; // MCS for UL grant (default 0) | 297 uint8_t m_ulGrantMcs; // MCS for UL grant (default 0) |
302 }; | 298 }; |
303 | 299 |
304 } // namespace ns3 | 300 } // namespace ns3 |
305 | 301 |
306 #endif /* TDTBFQ_FF_MAC_SCHEDULER_H */ | 302 #endif /* TDTBFQ_FF_MAC_SCHEDULER_H */ |
LEFT | RIGHT |