A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
lte-test-mimo.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Marco Miozzo <marco.miozzo@cttc.es>
18
*/
19
20
#ifndef LENA_TEST_MIMO_H
21
#define LENA_TEST_MIMO_H
22
23
#include "ns3/simulator.h"
24
#include "ns3/test.h"
25
26
namespace
ns3
27
{
28
class
RadioBearerStatsCalculator
;
29
}
30
31
using namespace
ns3
;
32
42
class
LenaMimoTestCase
:
public
TestCase
43
{
44
public
:
53
LenaMimoTestCase
(uint16_t dist,
54
std::vector<uint32_t> estThrDl,
55
std::string schedulerType,
56
bool
useIdealRrc);
57
~LenaMimoTestCase
()
override
;
58
59
private
:
60
void
DoRun
()
override
;
61
68
void
GetRlcBufferSample
(
Ptr<RadioBearerStatsCalculator>
rlcStats, uint64_t imsi, uint8_t rnti);
69
77
static
std::string
BuildNameString
(uint16_t dist, std::string schedulerType,
bool
useIdealRrc);
78
uint16_t
m_dist
;
79
std::vector<uint32_t>
m_estThrDl
;
80
std::string
m_schedulerType
;
81
bool
m_useIdealRrc
;
82
83
std::vector<uint64_t>
m_dlDataRxed
;
84
};
85
93
class
LenaTestMimoSuite
:
public
TestSuite
94
{
95
public
:
96
LenaTestMimoSuite
();
97
};
98
99
#endif
/* LENA_TEST_MIMO_H */
LenaMimoTestCase
This system test program creates different test cases with a single eNB and single UE.
Definition:
lte-test-mimo.h:43
LenaMimoTestCase::DoRun
void DoRun() override
Implementation to actually run this TestCase.
Definition:
lte-test-mimo.cc:120
LenaMimoTestCase::~LenaMimoTestCase
~LenaMimoTestCase() override
Definition:
lte-test-mimo.cc:115
LenaMimoTestCase::GetRlcBufferSample
void GetRlcBufferSample(Ptr< RadioBearerStatsCalculator > rlcStats, uint64_t imsi, uint8_t rnti)
Get RLC buffer sample.
Definition:
lte-test-mimo.cc:288
LenaMimoTestCase::m_schedulerType
std::string m_schedulerType
the scheduler type
Definition:
lte-test-mimo.h:80
LenaMimoTestCase::LenaMimoTestCase
LenaMimoTestCase(uint16_t dist, std::vector< uint32_t > estThrDl, std::string schedulerType, bool useIdealRrc)
Constructor.
Definition:
lte-test-mimo.cc:103
LenaMimoTestCase::m_useIdealRrc
bool m_useIdealRrc
whether to use the ideal RRC
Definition:
lte-test-mimo.h:81
LenaMimoTestCase::m_dlDataRxed
std::vector< uint64_t > m_dlDataRxed
DL data received.
Definition:
lte-test-mimo.h:83
LenaMimoTestCase::m_estThrDl
std::vector< uint32_t > m_estThrDl
estimated throughput DL
Definition:
lte-test-mimo.h:79
LenaMimoTestCase::m_dist
uint16_t m_dist
the distance
Definition:
lte-test-mimo.h:78
LenaMimoTestCase::BuildNameString
static std::string BuildNameString(uint16_t dist, std::string schedulerType, bool useIdealRrc)
Builds the test name string based on provided parameter values.
Definition:
lte-test-mimo.cc:87
LenaTestMimoSuite
Lena Test Mimo Suite.
Definition:
lte-test-mimo.h:94
LenaTestMimoSuite::LenaTestMimoSuite
LenaTestMimoSuite()
Definition:
lte-test-mimo.cc:60
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition:
ptr.h:78
ns3::RadioBearerStatsCalculator
This class is an ns-3 trace sink that performs the calculation of PDU statistics for uplink and downl...
Definition:
radio-bearer-stats-calculator.h:70
ns3::TestCase
encapsulates test code
Definition:
test.h:1060
ns3::TestSuite
A suite of tests to run.
Definition:
test.h:1256
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
test
lte-test-mimo.h
Generated on Tue Nov 1 2022 23:00:15 for ns-3 by
1.9.3