Skip to content

Commit

Permalink
Merge pull request #32 from cchildress-gsu/main
Browse files Browse the repository at this point in the history
added GPU Cost to a column in allocationReport.js
  • Loading branch information
lmello authored Oct 12, 2024
2 parents f243545 + 8f81bc6 commit 83f4b61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/allocationReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function stableSort(array, comparator) {
const headCells = [
{ id: "name", numeric: false, label: "Name", width: "auto" },
{ id: "cpuCost", numeric: true, label: "CPU", width: 90 },
{ id: "gpuCost", numeric: true, label: "GPU", width: 90 },
{ id: "ramCost", numeric: true, label: "RAM", width: 90 },
{ id: "pvCost", numeric: true, label: "PV", width: 90 },
{ id: "totalEfficiency", numeric: true, label: "Efficiency", width: 90 },
Expand Down Expand Up @@ -185,6 +186,9 @@ const AllocationReport = ({
<TableCell align="right">
{toCurrency(row.cpuCost, currency)}
</TableCell>
<TableCell align="right">
{toCurrency(row.gpuCost, currency)}
</TableCell>
<TableCell align="right">
{toCurrency(row.ramCost, currency)}
</TableCell>
Expand All @@ -209,6 +213,9 @@ const AllocationReport = ({
<TableCell align="right">
{toCurrency(row.cpuCost, currency)}
</TableCell>
<TableCell align="right">
{toCurrency(row.gpuCost, currency)}
</TableCell>
<TableCell align="right">
{toCurrency(row.ramCost, currency)}
</TableCell>
Expand Down

0 comments on commit 83f4b61

Please sign in to comment.