Skip to content

Commit 25c6d29

Browse files
committed
tooltip
1 parent 5ce10d5 commit 25c6d29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/app/view/processviewer/processviewer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ const StatusBar = React.memo(function StatusBar({ model, data, loading, error, w
585585
{hasSummaryCpu && (
586586
<>
587587
<div className="w-px self-stretch bg-white/10 shrink-0" />
588-
<Tooltip content={`${summary.numcpu} cores`} placement="bottom">
588+
<Tooltip content={`100% per core · ${summary.numcpu} cores = ${summary.numcpu * 100}% max`} placement="bottom">
589589
<span className="shrink-0 cursor-default whitespace-pre">
590590
CPU<span className="font-mono text-[11px]">x{summary.numcpu}</span>{" "}
591591
<span className="font-mono text-[11px]">{cpuPct}%</span>
@@ -635,7 +635,7 @@ const StatusBar = React.memo(function StatusBar({ model, data, loading, error, w
635635
{hasSummaryMem && <div className="flex-1 max-w-3" />}
636636
{hasSummaryCpu && (
637637
<div className="flex flex-col shrink-0 w-[55px] mr-1">
638-
<Tooltip content={`${summary.numcpu} cores`} placement="bottom">
638+
<Tooltip content={`100% per core · ${summary.numcpu} cores = ${summary.numcpu * 100}% max`} placement="bottom">
639639
<div className="cursor-default">
640640
CPU<span className="font-mono text-[11px]">x{summary.numcpu}</span>
641641
</div>

0 commit comments

Comments
 (0)