Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
P403n1x87 authored Nov 17, 2023
2 parents 533694f + 44f1c4a commit 49050f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions austin/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
ThreadName = str
ProcessId = int
MicroSeconds = int
KiloBytes = int
Bytes = int


# ---- Exceptions ----
Expand Down Expand Up @@ -106,7 +106,7 @@ class Metric:
"""Austin metrics."""

type: MetricType
value: Union[MicroSeconds, KiloBytes] = 0
value: Union[MicroSeconds, Bytes] = 0

def __add__(self, other: "Metric") -> "Metric":
"""Add metrics together (algebraically)."""
Expand Down

0 comments on commit 49050f3

Please sign in to comment.