mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 21:09:05 +01:00
Fix data transfer mismatch at roofline component
This commit is contained in:
parent
184769ab9c
commit
753ced2787
@ -241,7 +241,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function transformData(flopsAny, memBw, colorDots) {
|
function transformData(flopsAny, memBw, colorDots) { // Uses Metric Object
|
||||||
const nodes = flopsAny.series.length
|
const nodes = flopsAny.series.length
|
||||||
const timesteps = flopsAny.series[0].data.length
|
const timesteps = flopsAny.series[0].data.length
|
||||||
|
|
||||||
@ -323,7 +323,7 @@
|
|||||||
|
|
||||||
let ctx, canvasElement, prevWidth = width, prevHeight = height
|
let ctx, canvasElement, prevWidth = width, prevHeight = height
|
||||||
data = data != null ? data : (flopsAny && memBw
|
data = data != null ? data : (flopsAny && memBw
|
||||||
? transformData(flopsAny.metric, memBw.metric, colorDots)
|
? transformData(flopsAny, memBw, colorDots) // Use Metric Object from Parent
|
||||||
: {
|
: {
|
||||||
tiles: tiles,
|
tiles: tiles,
|
||||||
xLabel: 'Intensity [FLOPS/byte]',
|
xLabel: 'Intensity [FLOPS/byte]',
|
||||||
|
Loading…
Reference in New Issue
Block a user