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

It would allow interning profiling-related QSTRs in debug emulator builds. [no changelog]
12 lines
287 B
Python
12 lines
287 B
Python
from typing import TypeVar
|
|
|
|
C = TypeVar("C", bound=int)
|
|
|
|
def const(c: C) -> C: ...
|
|
def mem_info(verbose: bool | int | None = None) -> None: ...
|
|
def mem_current() -> int: ...
|
|
def mem_total() -> int: ...
|
|
def mem_peak() -> int: ...
|
|
def stack_use() -> int: ...
|
|
def alloc_count() -> int: ...
|