Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
vulder authored Nov 27, 2023
1 parent 1d3f2b1 commit 97283c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion varats-core/varats/report/linux_perf_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def __parse_ctx_switches(line: str) -> int:

@staticmethod
def __parse_branch_misses(line: str) -> int:
# TODO: fix return type
if line.startswith("<not counted>"):
return np.NaN
return int(line.split(" ")[0].replace(",", ""))
Expand Down

0 comments on commit 97283c9

Please sign in to comment.