A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lte-test-aggregation-throughput-scale.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 Alexander Krotov
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Alexander Krotov <krotov@iitp.ru>
7 *
8 */
9
10#ifndef LTE_AGGREGATION_THROUGHPUT_SCALE_H
11#define LTE_AGGREGATION_THROUGHPUT_SCALE_H
12
13#include <ns3/test.h>
14
15using namespace ns3;
16
17/**
18 * \brief Test suite for executing carrier aggregation throughput scaling test case.
19 *
20 * \sa ns3::LteAggregationThroughputScaleTestCase
21 */
27
28/**
29 * \ingroup lte
30 *
31 * \brief Testing that UE throughput scales linearly with number of component carriers.
32 * Also attaches UE to last component carrier to make sure no code assumes
33 * that primary carrier is first.
34 */
36{
37 public:
38 /**
39 * \brief Creates an instance of the carrier aggregation throughput scaling test case.
40 * \param name name of this test
41 */
43
45
46 private:
47 /**
48 * \brief Setup the simulation, run it, and verify the result.
49 */
50 void DoRun() override;
51
52 /**
53 * \brief Get throughput function
54 *
55 * \param numberOfComponentCarriers Number of component carriers
56 * \return The total data received (in Megabits)
57 */
58 double GetThroughput(uint8_t numberOfComponentCarriers);
59
60 uint16_t m_expectedCellId; ///< Cell ID UE is expected to attach to
61 uint16_t m_actualCellId; ///< Cell ID UE has attached to
62};
63
64#endif /* LTE_AGGREGATION_THROUGHPUT_SCALE_H */
Testing that UE throughput scales linearly with number of component carriers.
void DoRun() override
Setup the simulation, run it, and verify the result.
double GetThroughput(uint8_t numberOfComponentCarriers)
Get throughput function.
uint16_t m_expectedCellId
Cell ID UE is expected to attach to.
LteAggregationThroughputScaleTestCase(std::string name)
Creates an instance of the carrier aggregation throughput scaling test case.
Test suite for executing carrier aggregation throughput scaling test case.
encapsulates test code
Definition test.h:1050
A suite of tests to run.
Definition test.h:1267
Every class exported by the ns3 library is enclosed in the ns3 namespace.