mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-19 11:02:02 +00:00

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: ...
|