MCPcopy Create free account
hub / github.com/adny-code/fastgrind / stack_breakdown

Method stack_breakdown

tools/fastgrind.py:969–976  ·  view source on GitHub ↗
(
        self,
        thread_id: int,
        start_ms: int | None = None,
        end_ms: int | None = None,
        metric: str = "net",
    )

Source from the content-addressed store, hash-verified

967 return rows[:limit]
968
969 def stack_breakdown(
970 self,
971 thread_id: int,
972 start_ms: int | None = None,
973 end_ms: int | None = None,
974 metric: str = "net",
975 ) -> str:
976 return self._stack_tree_to_text(self.stack_tree(thread_id, start_ms=start_ms, end_ms=end_ms, metric=metric))
977
978 def stack_tree(
979 self,

Callers

nothing calls this directly

Calls 2

_stack_tree_to_textMethod · 0.95
stack_treeMethod · 0.95

Tested by

no test coverage detected