Add TopN dropdown to GUI navbar

Signed-off-by: colramos <cole.ramos@amd.com>

[ROCm/rocprofiler-compute commit: 8e9e8a42f3]
Этот коммит содержится в:
Cole Ramos
2023-05-09 14:12:19 -05:00
коммит произвёл GitHub
родитель e39c17514f
Коммит 63fea33069
+22
Просмотреть файл
@@ -234,6 +234,28 @@ def get_header(raw_pmc, input_filters, kernel_names):
)
],
),
html.Li(
className="filter",
children=[
html.Div(
children=[
html.A(
className="smoothscroll",
children=["Top N:"],
),
dcc.Dropdown(
[1, 5, 10, 15, 20, 50, 100],
id="top-n-filt",
value=input_filters[
"top_n"
], # default to any dispatch filters passed as args
clearable=False,
style={"width": "50px"},
),
]
)
],
),
html.Li(
className="filter",
children=[