We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d06908 commit cca5db9Copy full SHA for cca5db9
mem/mem.go
@@ -36,8 +36,9 @@ func LogMemStatsPeriodically(period time.Duration, tracker *FileDescriptorTracke
36
37
func logStats(m *runtime.MemStats, tracker *FileDescriptorTracker) {
38
buf := make([]byte, 0, 1024) // Preallocate buffer to avoid allocations
39
+ buf = append(buf, "CPUThread = "...)
40
buf = strconv.AppendInt(buf, int64(cxcputhread.CPUThread), 10)
- buf = append(buf, " B\tCPUThread = "...)
41
+ buf = append(buf, " \tAlloc = "...)
42
buf = strconv.AppendInt(buf, int64(m.Alloc), 10)
43
buf = append(buf, " B\tTotalAlloc = "...)
44
buf = strconv.AppendInt(buf, int64(m.TotalAlloc), 10)
0 commit comments