Skip to content

Commit

Permalink
mlonmcu/platform/tvm/tvm_target.py: fix runtime parsing with decimal …
Browse files Browse the repository at this point in the history
…seps
  • Loading branch information
PhilippvK committed Aug 19, 2024
1 parent 28dff71 commit 1779662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlonmcu/platform/tvm/tvm_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def extract_cols(line):
metrics = {"default": metrics}
for item in extracted:
metrics_ = Metrics()
metrics_.add("Runtime [s]", float(item["Duration (us)"]) / 1e6)
metrics_.add("Runtime [s]", float(item["Duration (us)"].replace(",", "")) / 1e6)
metrics[item["Name"]] = metrics_

return metrics, out, []
Expand Down

0 comments on commit 1779662

Please sign in to comment.