MCPcopy Create free account

hub / github.com/context-labs/mactop / functions

Functions92 in github.com/context-labs/mactop

↓ 9 callersFunctionupdateProcessList
()
internal/app/app.go:357
↓ 8 callersFunctionformatBytes
(val float64, unitType string)
internal/app/app.go:1475
↓ 7 callersFunctiongetThermalStateString
()
internal/app/app.go:923
↓ 5 callersMethodNotify
()
internal/app/types.go:101
↓ 5 callersFunctionupdateHelpText
()
internal/app/app.go:195
↓ 4 callersFunctionformatTemp
(celsius float64)
internal/app/app.go:1517
↓ 4 callersFunctionsampleSocMetrics
(durationMs int)
internal/app/ioreport.go:87
↓ 3 callersFunctionGetCPUPercentages
()
internal/app/app.go:62
↓ 3 callersFunctionapplyLayout
(layoutName string)
internal/app/layout.go:37
↓ 3 callersFunctionapplyTheme
(colorName string, lightMode bool)
internal/app/theme.go:25
↓ 3 callersFunctioncleanHex
(s string)
internal/app/detection.go:112
↓ 3 callersFunctioncleanupSocMetrics
()
internal/app/ioreport.go:105
↓ 3 callersFunctioncycleTheme
()
internal/app/theme.go:176
↓ 3 callersFunctiongetNetDiskMetrics
()
internal/app/app.go:934
↓ 3 callersFunctiongetSOCInfo
()
internal/app/app.go:1371
↓ 3 callersFunctioninitSocMetrics
()
internal/app/ioreport.go:80
↓ 3 callersFunctionmax
(nums ...int)
internal/app/app.go:1361
↓ 3 callersFunctionparseTimeString
(timeStr string)
internal/app/app.go:289
↓ 3 callersFunctionrenderUI
()
internal/app/app.go:567
↓ 3 callersFunctionsaveConfig
()
internal/app/config.go:36
↓ 3 callersFunctionupdateModelText
()
internal/app/app.go:171
↓ 2 callersFunctionGetProcessTextColor
(isCurrentUser bool)
internal/app/theme.go:158
↓ 2 callersFunctionGetThemeColorWithLightMode
(colorName string, lightMode bool)
internal/app/theme.go:150
↓ 2 callersFunctionNewCPUCoreWidget
(modelInfo SystemInfo)
internal/app/types.go:115
↓ 2 callersFunctionfixColor
(c tcell.Color)
internal/termbox_shim/compat.go:91
↓ 2 callersFunctionformatTime
(seconds float64)
internal/app/app.go:302
↓ 2 callersFunctiongetMemoryMetrics
()
internal/app/app.go:1397
↓ 2 callersFunctiongetProcessList
()
internal/app/processes.go:72
↓ 2 callersFunctionhandleProcessListEvents
(e ui.Event)
internal/app/app.go:510
↓ 2 callersFunctionmkStyle
(fg, bg Attribute)
internal/termbox_shim/compat.go:110
↓ 2 callersFunctiontruncateWithEllipsis
(s string, maxLen int)
internal/app/app.go:347
↓ 1 callersFunctionGetCPUUsage
()
internal/app/processes.go:229
↓ 1 callersFunctionGetThemeColor
(colorName string)
internal/app/theme.go:142
↓ 1 callersFunctionNewCPUMetrics
()
internal/app/types.go:93
↓ 1 callersFunctionNewEventThrottler
(gracePeriod time.Duration)
internal/app/types.go:85
↓ 1 callersFunctionRun
()
internal/app/app.go:573
↓ 1 callersFunctionSetCursor
SetCursor displays the terminal cursor at the given location.
internal/termbox_shim/compat.go:53
↓ 1 callersFunctionStderrToLogfile
(logfile *os.File)
internal/app/app.go:285
↓ 1 callersMethodUpdateUsage
(usage []float64)
internal/app/types.go:139
↓ 1 callersFunctioncheckCOLORFGBG
()
internal/app/detection.go:124
↓ 1 callersFunctioncheckSystemTheme
()
internal/app/detection.go:148
↓ 1 callersFunctioncheckTerminalColorOSC11
()
internal/app/detection.go:31
↓ 1 callersFunctioncollectMetrics
(done chan struct{}, cpumetricsChan chan CPUMetrics, gpumetricsChan chan GPUMetrics)
internal/app/app.go:1015
↓ 1 callersFunctioncollectNetDiskMetrics
(done chan struct{}, netdiskMetricsChan chan NetDiskMetrics)
internal/app/app.go:987
↓ 1 callersFunctioncollectProcessMetrics
(done chan struct{}, processMetricsChan chan []ProcessMetrics)
internal/app/app.go:1081
↓ 1 callersFunctioncycleLayout
()
internal/app/layout.go:23
↓ 1 callersFunctiondetectLightMode
()
internal/app/detection.go:15
↓ 1 callersFunctionformatMemorySize
(kb int64)
internal/app/app.go:314
↓ 1 callersFunctionformatResMemorySize
(kb int64)
internal/app/app.go:332
↓ 1 callersFunctiongetCPUInfo
()
internal/app/app.go:1414
↓ 1 callersFunctiongetCoreCounts
()
internal/app/app.go:1434
↓ 1 callersFunctiongetGPUCores
()
internal/app/app.go:1456
↓ 1 callersFunctiongetSocThermalState
()
internal/app/ioreport.go:109
↓ 1 callersFunctiongetUsername
(uid uint32)
internal/app/processes.go:29
↓ 1 callersFunctiongetVolumes
()
internal/app/app.go:1276
↓ 1 callersFunctionloadConfig
()
internal/app/config.go:16
↓ 1 callersFunctionmakeEvent
(tev tcell.Event)
internal/termbox_shim/compat.go:335
↓ 1 callersFunctionparseOSC11Response
(resp string)
internal/app/detection.go:83
↓ 1 callersFunctionrunHeadless
(count int)
internal/app/headless.go:13
↓ 1 callersFunctionsetupGrid
()
internal/app/layout.go:19
↓ 1 callersFunctionsetupLogfile
()
internal/app/app.go:904
↓ 1 callersFunctionsetupUI
()
internal/app/app.go:96
↓ 1 callersFunctionstartPrometheusServer
(port string)
internal/app/app.go:35
↓ 1 callersFunctiontoggleHelpMenu
()
internal/app/app.go:237
↓ 1 callersFunctiontogglePartyMode
()
internal/app/app.go:263
↓ 1 callersFunctionupdateCPUUI
(cpuMetrics CPUMetrics)
internal/app/app.go:1138
↓ 1 callersFunctionupdateGPUUI
(gpuMetrics GPUMetrics)
internal/app/app.go:1230
↓ 1 callersFunctionupdateNetDiskUI
(netdiskMetrics NetDiskMetrics)
internal/app/app.go:1325
↓ 1 callersFunctionupdateTotalPowerChart
(watts float64)
internal/app/app.go:1106
FunctionClear
Clear clears the screen with the given attributes.
internal/termbox_shim/compat.go:150
FunctionClose
Close cleans up the terminal, restoring terminal modes, etc.
internal/termbox_shim/compat.go:42
MethodDraw
(buf *ui.Buffer)
internal/app/types.go:144
FunctionFlush
Flush updates the screen.
internal/termbox_shim/compat.go:47
FunctionHideCursor
HideCursor hides the terminal cursor.
internal/termbox_shim/compat.go:58
FunctionInit
Init initializes the screen for use.
internal/termbox_shim/compat.go:29
FunctionInterrupt
Interrupt posts an interrupt event.
internal/termbox_shim/compat.go:415
FunctionParseEvent
ParseEvent is not supported.
internal/termbox_shim/compat.go:397
FunctionPollEvent
PollEvent blocks until an event is ready, and then returns it.
internal/termbox_shim/compat.go:409
FunctionPollRawEvent
PollRawEvent is not supported.
internal/termbox_shim/compat.go:403
FunctionSetCell
SetCell sets the character cell at a given location to the given content (rune) and attributes.
internal/termbox_shim/compat.go:210
FunctionSetInputMode
SetInputMode is used to set the input mode.
internal/termbox_shim/compat.go:172
FunctionSetOutputMode
SetOutputMode is used to set the color palette used.
internal/termbox_shim/compat.go:195
FunctionSize
Size returns the screen size as width, height in character cells.
internal/termbox_shim/compat.go:63
FunctionSync
Sync forces a resync of the screen.
internal/termbox_shim/compat.go:203
FunctionTestEventThrottler
(t *testing.T)
internal/app/app_test.go:117
FunctionTestFormatBytes
(t *testing.T)
internal/app/app_test.go:8
FunctionTestFormatTemp
(t *testing.T)
internal/app/app_test.go:33
FunctionTestMax
(t *testing.T)
internal/app/app_test.go:60
FunctionTestNewCPUCoreWidget
(t *testing.T)
internal/app/app_test.go:94
FunctionTestNewCPUMetrics
(t *testing.T)
internal/app/app_test.go:81
FunctiongetTimebase
()
internal/app/processes.go:68
Functionmain
()
main.go:7