Minor fixes in the Trace Analyzer

This commit is contained in:
2024-07-08 13:09:51 +02:00
parent c893fe1663
commit 2465f06d14
3 changed files with 4 additions and 3 deletions

View File

@@ -22,7 +22,8 @@
"inherits": "cmake-pedantic",
"cacheVariables": {
"DRAMSYS_BUILD_TESTS": "ON",
"DRAMSYS_WITH_DRAMPOWER": "ON"
"DRAMSYS_WITH_DRAMPOWER": "ON",
"DRAMSYS_BUILD_TRACE_ANALYZER": "ON"
}
},
{

View File

@@ -277,7 +277,7 @@ const std::vector<CommentModel::Comment>& CommentModel::getComments() const
traceTime CommentModel::getTimeFromIndex(const QModelIndex& index) const
{
Q_ASSERT(index.row() > 0 && comments.size() > static_cast<unsigned>(index.row()));
Q_ASSERT(index.row() >= 0 && comments.size() > static_cast<unsigned>(index.row()));
return comments[index.row()].time;
}

View File

@@ -254,7 +254,7 @@ void TraceAnalyzer::on_actionAbout_triggered()
this,
QStringLiteral("DRAMSys"),
QStringLiteral(
"<b>DRAMSys4.0</b> is a flexible DRAM subsystem design space exploration "
"<b>DRAMSys5.0</b> is a flexible DRAM subsystem design space exploration "
"framework based on SystemC "
"TLM-2.0. It was developed by the <a "
"href=\"https://ems.eit.uni-kl.de/en/start/\">Microelectronic Systems "