diff options
author | bd <bdunaisky@umass.edu> | 2025-03-23 17:47:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-23 17:47:19 +0000 |
commit | 8a0a483c0e63fd2be6f514a20ae7309e2e768c94 (patch) | |
tree | 78c4981b2ad7db57bbe3d210655b577ad558018d /src/cli/cli.cc | |
parent | b73f7fbe952494e245c44fdd4b6123bac1b4ec97 (diff) | |
parent | f2973132685fe908a2dd651ea0b347456c911f37 (diff) |
Merge pull request #31 from bdunahu/bdunahuer
Remove manual clock advancing / resolution from storage devices
Diffstat (limited to 'src/cli/cli.cc')
-rw-r--r-- | src/cli/cli.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/cli/cli.cc b/src/cli/cli.cc index e25b316..022b266 100644 --- a/src/cli/cli.cc +++ b/src/cli/cli.cc @@ -60,11 +60,6 @@ Cli::Cli() return; }; - commands['c'] = [this](std::vector<std::string> args) { - clock(); - return; - }; - commands['h'] = [this](std::vector<std::string> args) { help(); return; @@ -85,11 +80,6 @@ void Cli::help() << " [p]eek <storage-level> <base> <lines> - side door function that " "peeks the current status of the entire memory subsystem" << std::endl - << std::endl - << " [c]ycle - manually advances the clock" << std::endl - << " [f]orce - advances the clock until one operation reports " - "completion" - << std::endl << " [r]eset - side door function that resets the memory " "configuration and " "cycles" @@ -122,12 +112,6 @@ void Cli::store(Accessor accessor, int data, int address) << address << std::endl; } -void Cli::clock() -{ - this->cache->resolve(); - ++this->cycle; -} - void Cli::reset() { this->initialize(); |