🎨 块数统计

This commit is contained in:
Liang Ding 2022-11-17 09:38:20 +08:00
parent 06b4d8ea26
commit a2806ae823
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 16 additions and 3 deletions

View file

@ -68,9 +68,9 @@ func autoStat() {
defer statLock.Unlock()
Conf.Stat.TreeCount = treenode.CountTrees()
Conf.Stat.CTreeCount = treenode.CeilCount(Conf.Stat.TreeCount)
Conf.Stat.CTreeCount = treenode.CeilTreeCount(Conf.Stat.TreeCount)
Conf.Stat.BlockCount = treenode.CountBlocks()
Conf.Stat.CBlockCount = treenode.CeilCount(Conf.Stat.BlockCount)
Conf.Stat.CBlockCount = treenode.CeilBlockCount(Conf.Stat.BlockCount)
Conf.Stat.DataSize, Conf.Stat.AssetsSize = util.DataSize()
Conf.Stat.CDataSize = util.CeilSize(Conf.Stat.DataSize)
Conf.Stat.CAssetsSize = util.CeilSize(Conf.Stat.AssetsSize)