mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-16 19:09:59 +00:00
35 lines
734 B
Python
35 lines
734 B
Python
# Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
"""
|
|
Build Trace Analysis - Core library for analyzing Clang -ftime-trace data.
|
|
|
|
This package provides tools to parse and analyze Clang's -ftime-trace JSON output
|
|
for build performance analysis.
|
|
"""
|
|
|
|
from .parse_file import (
|
|
parse_file,
|
|
get_metadata,
|
|
)
|
|
|
|
from .template_analysis import (
|
|
get_template_instantiation_events,
|
|
)
|
|
|
|
from .phase_breakdown import (
|
|
get_phase_breakdown,
|
|
PhaseBreakdown,
|
|
)
|
|
|
|
__all__ = [
|
|
# Core parsing and filtering
|
|
"parse_file",
|
|
"get_metadata",
|
|
# Template analysis
|
|
"get_template_instantiation_events",
|
|
# Phase breakdown
|
|
"get_phase_breakdown",
|
|
"PhaseBreakdown",
|
|
]
|