Commit Graph

17 Commits (459d3025c5fcc64a973a0c750155d76f99bc8ee9)

Author SHA1 Message Date
Kevin Wan c98d5fdaf4
chore: simplify linux nocgroup logic (#3953) 9 months ago
Kevin Wan 5263805b3b
chore: simplify linux nocgroup logic (#3949) 9 months ago
Alex Last a7363f0c21
feat: add nocgroup build tag for systems without cgroup (#3948) 9 months ago
Kevin Wan c08e741d7a
fix: cpu stat in cgroup v2 (#3857) 10 months ago
Kevin Wan 81d72b5010
chore: make cpu usage more smooth (#3842) 10 months ago
Kevin Wan fdc57d07d7
fix: #2672 (#2681)
* fix: #2672

* chore: fix more cases

* chore: update deps

* chore: update deps

* chore: refactor

* chore: refactor

* chore: refactor
2 years ago
Tim Xiao 944193ce25
fix:Remove duplicate code (#2686) 2 years ago
Kevin Wan 36678f9023
chore: refactor stat (#2299) 2 years ago
Josh Quintana 90cdd61efc
Initialize CPU stat code only if used (#2020)
Co-authored-by: Josh Quintana <josh@highwaybenefits.com>
2 years ago
Kevin Wan c05d74b44c
feat: support cpu stat on cgroups v2 (#1636)
* feat: cpu stat

* feat: add cpu stat for cgroup2

* feat: add cpu stat for cgroup2, tidy mod

* feat: support cpu stat in cgroup v2
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
heyanfu a5962f677f
fix some typo (#677) 4 years ago
Kevin Wan c4b2cddef7
fix golint issues (#532) 4 years ago
kevin 5d8a3c07cd disable cpu stat in wsl linux 4 years ago
kevin 8745039877 move lang.Must into logx.Must to make sure output fatal message as json 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago