gem5 v24.0.0.0
|
Go to the source code of this file.
Functions | |
TEST (DebugFlagTest, NameDesc) | |
Test assignment of names and descriptions. | |
TEST (DebugFlagDeathTest, UniqueNames) | |
Test that names are unique. | |
TEST (DebugFlagTest, IsFormat) | |
Test format attribute. | |
TEST (DebugSimpleFlagTest, Enabled) | |
Test enabling and disabling simple flags, as well as the global enabler. | |
TEST (DebugCompoundFlagTest, Enabled) | |
Tests that manipulate the enablement status of the compound flag to change the corresponding status of the kids. | |
TEST (DebugFlagTest, ConversionOperator) | |
Test that the conversion operator matches the enablement status. | |
TEST (DebugCompoundFlagTest, EnabledKids) | |
Tests that manipulate the kids to change the enablement status of the compound flag. | |
TEST (DebugFlagTest, FindFlag) | |
Search for existent and non-existent flags. | |
TEST (DebugFlagTest, ChangeFlag) | |
Test changing flag enabled. | |
TEST (DebugFlagTest, SetClearDebugFlag) | |
Test changing flag enabled with aux functions. | |
TEST (DebugFlagTest, NoDumpDebugFlags) | |
Test dumping no enabled debug flags. | |
TEST (DebugFlagTest, DumpDebugFlags) | |
Test dumping enabled debug flags with a larger set of flags. | |
TEST | ( | DebugCompoundFlagTest | , |
Enabled | ) |
Tests that manipulate the enablement status of the compound flag to change the corresponding status of the kids.
Definition at line 106 of file debug.test.cc.
References gem5::debug::Flag::globalDisable(), gem5::debug::Flag::globalEnable(), and gem5::debug::Flag::tracing().
TEST | ( | DebugCompoundFlagTest | , |
EnabledKids | ) |
Tests that manipulate the kids to change the enablement status of the compound flag.
Definition at line 155 of file debug.test.cc.
References gem5::debug::SimpleFlag::disable(), gem5::debug::SimpleFlag::enable(), gem5::debug::Flag::globalEnable(), and gem5::debug::Flag::tracing().
TEST | ( | DebugFlagDeathTest | , |
UniqueNames | ) |
Test that names are unique.
Definition at line 54 of file debug.test.cc.
References expected(), and gem5::gtestLogOutput.
TEST | ( | DebugFlagTest | , |
ChangeFlag | ) |
Test changing flag enabled.
Definition at line 211 of file debug.test.cc.
References gem5::debug::changeFlag(), gem5::debug::Flag::globalEnable(), and gem5::debug::Flag::tracing().
TEST | ( | DebugFlagTest | , |
ConversionOperator | ) |
Test that the conversion operator matches the enablement status.
Definition at line 140 of file debug.test.cc.
References gem5::debug::SimpleFlag::disable(), gem5::debug::SimpleFlag::enable(), gem5::debug::Flag::globalEnable(), and gem5::debug::Flag::tracing().
TEST | ( | DebugFlagTest | , |
DumpDebugFlags | ) |
Test dumping enabled debug flags with a larger set of flags.
Definition at line 277 of file debug.test.cc.
References gem5::dumpDebugFlags(), gem5::debug::SimpleFlag::enable(), gem5::debug::Flag::globalEnable(), gem5::X86ISA::os, gem5::output(), and gem5::debug::Flag::tracing().
TEST | ( | DebugFlagTest | , |
FindFlag | ) |
Search for existent and non-existent flags.
Definition at line 188 of file debug.test.cc.
References gem5::debug::Flag::enable(), gem5::debug::findFlag(), gem5::debug::Flag::globalEnable(), and gem5::debug::Flag::tracing().
TEST | ( | DebugFlagTest | , |
IsFormat | ) |
Test format attribute.
Definition at line 66 of file debug.test.cc.
References gem5::debug::SimpleFlag::isFormat().
TEST | ( | DebugFlagTest | , |
NameDesc | ) |
Test assignment of names and descriptions.
Definition at line 37 of file debug.test.cc.
References gem5::debug::Flag::desc(), and gem5::debug::Flag::name().
TEST | ( | DebugFlagTest | , |
NoDumpDebugFlags | ) |
Test dumping no enabled debug flags.
Definition at line 263 of file debug.test.cc.
References gem5::dumpDebugFlags(), gem5::debug::Flag::globalEnable(), gem5::gtestLogOutput, gem5::output(), and gem5::debug::Flag::tracing().
TEST | ( | DebugFlagTest | , |
SetClearDebugFlag | ) |
Test changing flag enabled with aux functions.
Definition at line 237 of file debug.test.cc.
References gem5::clearDebugFlag(), gem5::debug::Flag::globalEnable(), gem5::setDebugFlag(), and gem5::debug::Flag::tracing().
TEST | ( | DebugSimpleFlagTest | , |
Enabled | ) |
Test enabling and disabling simple flags, as well as the global enabler.
Definition at line 77 of file debug.test.cc.
References gem5::debug::SimpleFlag::disable(), gem5::debug::SimpleFlag::enable(), gem5::debug::Flag::globalDisable(), gem5::debug::Flag::globalEnable(), and gem5::debug::Flag::tracing().