Skip to content

Commit

Permalink
Revert "tooling to compare schedules and run midpoints on CLI" (#12)
Browse files Browse the repository at this point in the history
This reverts commit 56f1390.
  • Loading branch information
rrnewton authored Nov 22, 2022
1 parent 56f1390 commit 6cb5575
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 153 deletions.
10 changes: 0 additions & 10 deletions common/edit-distance/src/bubbles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,6 @@ where
self.current()
}

pub fn interpolate<'b>(&'b mut self, interpolate_percentage: u8) -> Perm<'a, 'b, T> {
let m = (self.history_size * (interpolate_percentage as usize)) / 100;
if m > self.history_cursor {
self.skip(m - self.history_cursor);
} else {
self.skip_back(self.history_cursor - m);
}
self.current()
}

pub fn history_size(&self) -> usize {
self.history_size
}
Expand Down
1 change: 0 additions & 1 deletion hermit-cli/src/bin/hermit/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ enum Subcommand {
/// Take the difference of two (run/record) logs written to files.
LogDiff(LogDiffCLIOpts),

/// Analyze Pass and failing runs
Analyze(AnalyzeOpts),
}

Expand Down
35 changes: 0 additions & 35 deletions hermit-verify/src/internal/mod.rs

This file was deleted.

101 changes: 0 additions & 101 deletions hermit-verify/src/internal/schedule_trace.rs

This file was deleted.

6 changes: 0 additions & 6 deletions hermit-verify/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use clap::Subcommand;

mod cli_wrapper;
mod common;
mod internal;
mod run;
mod trace_replay;
mod use_case;
Expand All @@ -21,8 +20,6 @@ use colored::*;
pub use common::CommonOpts;
use use_case::run_use_case;

use self::internal::InternalOpts;

#[derive(Parser, Debug)]
#[clap(author = "[email protected]")]
struct Args {
Expand All @@ -37,8 +34,6 @@ struct Args {
pub enum Commands {
Run(run::RunOpts),
TraceReplay(trace_replay::TraceReplayOpts),
/// Internal features
Internal(InternalOpts),
}

#[fbinit::main]
Expand All @@ -51,7 +46,6 @@ fn main() -> Result<()> {
let result = match command {
Commands::Run(cmd) => run_use_case(cmd, &common_opts)?,
Commands::TraceReplay(cmd) => run_use_case(cmd, &common_opts)?,
Commands::Internal(cmd) => cmd.internal_command.main(&common_opts)?,
};

if !result {
Expand Down

0 comments on commit 6cb5575

Please sign in to comment.