MCPcopy Index your code
hub / github.com/tanelpoder/0xtools / __init__

Method __init__

xtop/core/heatmap.py:76–79  ·  view source on GitHub ↗

Initialize heatmap generator with configuration

(self, config: Optional[HeatmapConfig] = None)

Source from the content-addressed store, hash-verified

74 }
75
76 def __init__(self, config: Optional[HeatmapConfig] = None):
77 """Initialize heatmap generator with configuration"""
78 self.config = config or HeatmapConfig()
79 self.latency_buckets = self._generate_latency_buckets()
80
81 def _generate_latency_buckets(self) -> List[int]:
82 """Generate exponential latency buckets in microseconds"""

Callers

nothing calls this directly

Calls 2

HeatmapConfigClass · 0.85

Tested by

no test coverage detected