Show memory stats in debug

This commit is contained in:
世界
2022-08-11 12:41:54 +08:00
parent 7b30815938
commit c9226aeaaf
6 changed files with 60 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
//go:build debug && !linux
package main
func rusageMaxRSS() float64 {
return -1
}