Updates based on review
This commit is contained in:
parent
693b3e7704
commit
ee019a96ba
@ -38,7 +38,7 @@
|
||||
//| def __init__(self):
|
||||
//| """Tracks the number of allocations in power of two buckets.
|
||||
//|
|
||||
//| It will have 16 16bit buckets to track allocation counts. It is total allocations
|
||||
//| It will have 16 16-bit buckets to track allocation counts. It is total allocations
|
||||
//| meaning frees are ignored. Reallocated memory is counted twice, at allocation and when
|
||||
//| reallocated with the larger size.
|
||||
//|
|
||||
|
@ -36,9 +36,9 @@
|
||||
//| """Memory monitoring helpers"""
|
||||
//|
|
||||
|
||||
//| class AllocationException:
|
||||
//| class AllocationError:
|
||||
//| def __init__(self, Exception: Any):
|
||||
//| """Catch all exception for Bluetooth related errors."""
|
||||
//| """Catchall exception for allocation related errors."""
|
||||
//| ...
|
||||
MP_DEFINE_MEMORYMONITOR_EXCEPTION(AllocationError, Exception)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user