mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 21:26:42 +00:00
core: polish
This commit is contained in:
parent
2c25cf362a
commit
52e6fb4a65
1 changed files with 9 additions and 8 deletions
|
|
@ -111,20 +111,21 @@ Block: %v (%#x) txs: %d, mgasps: %.2f
|
||||||
|
|
||||||
EVM execution: %v
|
EVM execution: %v
|
||||||
Validation: %v
|
Validation: %v
|
||||||
|
Account read: %v(%d)
|
||||||
|
Storage read: %v(%d)
|
||||||
|
State hash: %v
|
||||||
DB commit: %v
|
DB commit: %v
|
||||||
Block write: %v
|
Block write: %v
|
||||||
Account read: %v
|
|
||||||
Storage read: %v
|
|
||||||
State hash: %v
|
|
||||||
Total: %v
|
Total: %v
|
||||||
|
|
||||||
State read cache: %s
|
State read cache: %s
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
`, block.Number(), block.Hash(), len(block.Transactions()), s.MgasPerSecond,
|
`, block.Number(), block.Hash(), len(block.Transactions()), s.MgasPerSecond,
|
||||||
common.PrettyDuration(s.Execution), common.PrettyDuration(s.Validation+s.CrossValidation), common.PrettyDuration(s.TrieDBCommit+s.SnapshotCommit),
|
common.PrettyDuration(s.Execution), common.PrettyDuration(s.Validation+s.CrossValidation),
|
||||||
common.PrettyDuration(s.BlockWrite), common.PrettyDuration(s.AccountReads), common.PrettyDuration(s.StorageReads),
|
common.PrettyDuration(s.AccountReads), s.AccountLoaded,
|
||||||
common.PrettyDuration(s.AccountHashes+s.AccountCommits+s.AccountUpdates+s.StorageCommits+s.StorageUpdates), common.PrettyDuration(s.TotalTime),
|
common.PrettyDuration(s.StorageReads), s.StorageLoaded,
|
||||||
s.StateReadCacheStats)
|
common.PrettyDuration(s.AccountHashes+s.AccountCommits+s.AccountUpdates+s.StorageCommits+s.StorageUpdates),
|
||||||
|
common.PrettyDuration(s.TrieDBCommit+s.SnapshotCommit), common.PrettyDuration(s.BlockWrite),
|
||||||
|
common.PrettyDuration(s.TotalTime), s.StateReadCacheStats)
|
||||||
log.Info(msg)
|
log.Info(msg)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue