sunyucheng
sunyucheng
我使用的gosutil是最新的版本`v3.21.6`,从gosutil的源码看,这里的[`p.Percent(0)`](https://github.com/alibaba/sentinel-golang/blob/08071855bc67423777353c6e02f1390b419172b1/core/system_metric/sys_metric_stat.go#L198)的取值也似乎应该是`0.0~100.0`,在gosutil中的关键逻辑如下所示 ``` func calculatePercent(t1, t2 *cpu.TimesStat, delta float64, numcpu int) float64 { if delta == 0 { return 0 } delta_proc := t2.Total() - t1.Total() overall_percent := ((delta_proc / delta)...
Hi @sczyh30 ,可以给我一些意见么
> this could be a bug, are you interested in fixing it Certainly
Hi @binbin0325, I have already mentioned PR https://github.com/alibaba/sentinel-golang/pull/540