|
gem5 v23.0.0.1
|
#include <gmock/gmock.h>#include <gtest/gtest.h>#include <initializer_list>#include <list>#include <memory>#include <ostream>#include <vector>#include "base/cprintf.hh"#include "base/gtest/logging.hh"#include "mem/translation_gen.hh"Go to the source code of this file.
Classes | |
| class | gem5::FaultBase |
| class | TestTranslationGen |
Namespaces | |
| namespace | gem5 |
| Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223. | |
Typedefs | |
| using | RangeList = std::list< TranslationGen::Range > |
Functions | |
| std::ostream & | gem5::operator<< (std::ostream &os, const TranslationGen::Range &range) |
| MATCHER (GenRangeEq, "") | |
| MATCHER (TransRangeEq, "") | |
| TEST (TranslationGen, Accessors) | |
| TEST (TranslationGen, BeginAndEnd) | |
| TEST (TranslationGen, SuccessfulTwoStep) | |
| TEST (TranslationGen, RetryOnFault) | |
| TEST (TranslationGen, RetryTwiceOnFault) | |
| TEST (TranslationGen, FaultAtStart) | |
| TEST (TranslationGen, FaultInMiddle) | |
| TEST (TranslationGen, VariablePageSize) | |
| TEST (TranslationGenDeathTest, IncrementEndIterator) | |
Variables | |
| Fault | gem5::dummyFault1 = std::make_shared<gem5::FaultBase>() |
| Fault | gem5::dummyFault2 = std::make_shared<gem5::FaultBase>() |
| using RangeList = std::list<TranslationGen::Range> |
Definition at line 68 of file translation_gen.test.cc.
| MATCHER | ( | GenRangeEq | , |
| "" | |||
| ) |
Definition at line 71 of file translation_gen.test.cc.
References expected().
| MATCHER | ( | TransRangeEq | , |
| "" | |||
| ) |
Definition at line 87 of file translation_gen.test.cc.
References expected().
| TEST | ( | TranslationGen | , |
| Accessors | |||
| ) |
Definition at line 133 of file translation_gen.test.cc.
References gem5::TranslationGen::size(), and gem5::TranslationGen::start().
| TEST | ( | TranslationGen | , |
| BeginAndEnd | |||
| ) |
Definition at line 146 of file translation_gen.test.cc.
References gem5::TranslationGen::begin(), and gem5::TranslationGen::end().
| TEST | ( | TranslationGen | , |
| FaultAtStart | |||
| ) |
Definition at line 250 of file translation_gen.test.cc.
References gem5::dummyFault1, and gem5::NoFault.
| TEST | ( | TranslationGen | , |
| FaultInMiddle | |||
| ) |
Definition at line 280 of file translation_gen.test.cc.
References gem5::dummyFault1, and gem5::NoFault.
| TEST | ( | TranslationGen | , |
| RetryOnFault | |||
| ) |
Definition at line 187 of file translation_gen.test.cc.
References gem5::dummyFault1, and gem5::NoFault.
| TEST | ( | TranslationGen | , |
| RetryTwiceOnFault | |||
| ) |
Definition at line 217 of file translation_gen.test.cc.
References gem5::dummyFault1, gem5::dummyFault2, and gem5::NoFault.
| TEST | ( | TranslationGen | , |
| SuccessfulTwoStep | |||
| ) |
Definition at line 160 of file translation_gen.test.cc.
References gem5::NoFault.
| TEST | ( | TranslationGen | , |
| VariablePageSize | |||
| ) |
Definition at line 313 of file translation_gen.test.cc.
References gem5::NoFault.
| TEST | ( | TranslationGenDeathTest | , |
| IncrementEndIterator | |||
| ) |
Definition at line 343 of file translation_gen.test.cc.
References gem5::TranslationGen::end(), and gem5::gtestLogOutput.