summaryrefslogtreecommitdiff
path: root/gui/gui.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-18 19:31:17 -0400
committerbd <bdunahu@operationnull.com>2025-04-18 19:31:17 -0400
commit5e96476ae29a104df1c4526ba1037dc830207d56 (patch)
treed265a50df61bda586a819dc0305e5dccb2611f98 /gui/gui.h
parent80063914f09975f24451ce1acb9875cea0d2d384 (diff)
Use a slider for step amount
Diffstat (limited to 'gui/gui.h')
-rw-r--r--gui/gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/gui.h b/gui/gui.h
index ee871a1..618f2b5 100644
--- a/gui/gui.h
+++ b/gui/gui.h
@@ -35,7 +35,6 @@ signals:
void sendRefreshCache();
void sendRefreshRegisters();
void sendRunSteps(int steps);
- void sendRunStep();
void sendLoadProgram(std::vector<signed int> program);
void sendConfigure(std::vector<int> ways, std::vector<int> size, bool is_pipelined, bool is_cache_enabled);
@@ -82,6 +81,7 @@ private:
Ui::GUI *ui;
QThread workerThread;
Worker *worker;
+ QVector<int> step_values = {1, 5, 10, 50, 250, 1000, 10000};
const std::map<Mnemonic, QString> mnemonicNameMap = {
{Mnemonic::ADD, "ADD"},
{Mnemonic::SUB, "SUB"},