MCPcopy
hub / github.com/tanelpoder/0xtools / HeatmapConfig

Class HeatmapConfig

xtop/core/heatmap.py:13–20  ·  view source on GitHub ↗

Configuration for heatmap rendering

Source from the content-addressed store, hash-verified

11
12@dataclass
13class HeatmapConfig:
14 """Configuration for heatmap rendering"""
15 width: int = 60 # Number of time buckets to show
16 height: int = 12 # Number of latency buckets
17 min_latency_us: int = 1 # Minimum latency in microseconds
18 max_latency_us: int = 1000000000 # Maximum latency in microseconds (1 second)
19 use_color: bool = False # Whether to use colors (for terminal)
20 use_rich_markup: bool = False # Whether to use Rich/Textual markup instead of raw ANSI
21
22
23class LatencyHeatmap:

Calls

no outgoing calls