优化性能监控与rankservice持久化

This commit is contained in:
duanhf2012
2023-05-09 14:06:17 +08:00
parent 92fdb7860c
commit b392617d6e
4 changed files with 20 additions and 17 deletions

View File

@@ -193,9 +193,11 @@ func Report() {
record = prof.record
prof.record = list.New()
callNum := prof.callNum
totalCostTime := prof.totalCostTime
prof.stackLocker.RUnlock()
DefaultReportFunction(name,prof.callNum,prof.totalCostTime,record)
DefaultReportFunction(name,callNum,totalCostTime,record)
}
}