Skip to content

Commit

Permalink
Merge bb1038b into ddd2642
Browse files Browse the repository at this point in the history
  • Loading branch information
binbin0325 authored Jun 25, 2023
2 parents ddd2642 + bb1038b commit 9782e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/system_metric/sys_metric_stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func retrieveAndUpdateCpuStat() {
currentCpuUsage.Store(cpuPercent)
}

// getProcessCpuStat gets current process's memory usage in Bytes
// getProcessCpuStat gets current process's cpu usage in percentage
func getProcessCpuStat() (float64, error) {
curProcess := currentProcess.Load()
if curProcess == nil {
Expand Down

0 comments on commit 9782e9d

Please sign in to comment.