mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +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
|
||||
Validation: %v
|
||||
Account read: %v(%d)
|
||||
Storage read: %v(%d)
|
||||
State hash: %v
|
||||
DB commit: %v
|
||||
Block write: %v
|
||||
Account read: %v
|
||||
Storage read: %v
|
||||
State hash: %v
|
||||
Total: %v
|
||||
|
||||
State read cache: %s
|
||||
|
||||
##############################
|
||||
`, 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.BlockWrite), common.PrettyDuration(s.AccountReads), common.PrettyDuration(s.StorageReads),
|
||||
common.PrettyDuration(s.AccountHashes+s.AccountCommits+s.AccountUpdates+s.StorageCommits+s.StorageUpdates), common.PrettyDuration(s.TotalTime),
|
||||
s.StateReadCacheStats)
|
||||
common.PrettyDuration(s.Execution), common.PrettyDuration(s.Validation+s.CrossValidation),
|
||||
common.PrettyDuration(s.AccountReads), s.AccountLoaded,
|
||||
common.PrettyDuration(s.StorageReads), s.StorageLoaded,
|
||||
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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue