mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
b41d4c71f0
use `trezor.utils.mem_dump("somefile.json")` in a key place, then `analyze.py src/somefile.json` to look at what is going on
10 lines
223 B
Python
10 lines
223 B
Python
from typing import TypeVar
|
|
|
|
C = TypeVar("C", bound=int)
|
|
|
|
def const(c: C) -> C: ...
|
|
def mem_info(verbose: bool | None = None) -> None: ...
|
|
def mem_current() -> int: ...
|
|
def mem_total() -> int: ...
|
|
def mem_peak() -> int: ...
|