Add popup for low level metrics (#101)

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


[ROCm/rocprofiler-compute commit: e2eaebe483]
Bu işleme şunda yer alıyor:
coleramos425
2023-03-20 17:06:13 -05:00
ebeveyn e34b5b08a0
işleme e2b1988230
2 değiştirilmiş dosya ile 26 ekleme ve 1 silme
+12
Dosyayı Görüntüle
@@ -396,6 +396,18 @@ button.report:hover {
#memchart a, #memchart a:visited { color: #fff; }
#memchart a:hover, #memchart a:focus { color: #11ABB0; }
/* ------------------------------------------------------------------ */
/* Popup Section
/* ------------------------------------------------------------------ */
#popup{
text-align: center;
border: 3px solid #F06000;
margin: auto;
width: 50%;
padding: 10px;
color: white;
}
/* ------------------------------------------------------------------ */
/* Top Stat Section
/* ------------------------------------------------------------------ */
+14 -1
Dosyayı Görüntüle
@@ -468,7 +468,7 @@ def build_layout(
)
# append roofline section
has_roofline = os.path.isfile(path_to_dir + "/roofline.csv")
if (has_roofline):
if has_roofline:
div_children.append(
get_roofline(
path_to_dir,
@@ -593,4 +593,17 @@ def build_layout(
)
)
# Display pop-up message if no filters are applied
if not (disp_filt or kernel_filter or gcd_filter):
div_children.append(
html.Section(
id="popup",
children=[
html.Div(
children="To dive deeper, use the top drop down menus to isolate particular kernel(s) or dispatch(s). You will then see the web page update with additional low-level metrics specific to the filter you've applied..",
),
],
)
)
return div_children