diff --git a/plugin/att/ui/index.html b/plugin/att/ui/index.html index 5faf62919e..7dc12e15f8 100644 --- a/plugin/att/ui/index.html +++ b/plugin/att/ui/index.html @@ -205,8 +205,12 @@ var current_SM = 0 var current_WV = 0 var filename_data = {} + var clock_scale = 1 fetch("filenames.json", {cache: "no-store"}).then(response => response.json()).then(data => { + try { + clock_scale = data.gfxv === 'navi' ? 3 : 1 + } catch { clock_scale = 1 } filename_data = data.wave_filenames wave_cu_index = {}; @@ -229,8 +233,7 @@ FetchNamesAndGather(wv) return } - - //FetchNamesAndGather(0) // !!!! + //FetchNamesAndGather(0) }) function OpenSIMDView(se_index) { @@ -737,7 +740,7 @@ const scaleX = d3.scaleLinear() .domain([START_TIME, START_TIME + data.duration + MARGIN]) .range([MARGIN, WIDTH-MARGIN]) - const toX = (x) => { return Math.ceil(scaleX(x)) } + const toX = (x) => { return Math.ceil(scaleX(x)*clock_scale) } const STATE_COLOR = { 0: ["EMPTY", "#ffffff"],