Skip to content

Commit

Permalink
benchmark feature: do not use cpi metric
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp v. K committed Jul 27, 2024
1 parent 68fe4be commit bc8728b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlonmcu/feature/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -1700,7 +1700,7 @@ def benchmark_callback(stdout, metrics, artifacts, directory=None):
metrics_ = metrics[1:] # drop first run (warmup)

# TODO: this currently processes all numeric metrics, should probably ignore stuff like MIPS etc.
candidates = ["cycle", "time", "instruction", "cpi"] # TODO: allow overriding via config
candidates = ["cycle", "time", "instruction"] # TODO: allow overriding via config
data_ = [
{
key: (float(value) / self.num_runs) if self.num_runs > 1 else value
Expand Down

0 comments on commit bc8728b

Please sign in to comment.