mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-08 07:58:40 +00:00
core: comment slowBlockBAL population fields
This commit is contained in:
parent
7cd28d35ce
commit
4d9405a201
1 changed files with 11 additions and 11 deletions
|
|
@ -270,17 +270,17 @@ func buildSlowBlockLog(s *ExecuteStats, block *types.Block) slowBlockLog {
|
||||||
// Populate the parallel-execution extension only for BAL-processed blocks.
|
// Populate the parallel-execution extension only for BAL-processed blocks.
|
||||||
if m := s.balTransitionStats; m != nil {
|
if m := s.balTransitionStats; m != nil {
|
||||||
logEntry.BAL = &slowBlockBAL{
|
logEntry.BAL = &slowBlockBAL{
|
||||||
ExecWallMs: durationToMs(s.ExecWall),
|
ExecWallMs: durationToMs(s.ExecWall), // wall-clock parallel transaction execution
|
||||||
PostProcessMs: durationToMs(s.PostProcess),
|
PostProcessMs: durationToMs(s.PostProcess), // post-tx system contracts (withdrawals, consolidations, finalize)
|
||||||
PrefetchMs: durationToMs(s.Prefetch),
|
PrefetchMs: durationToMs(s.Prefetch), // BAL state prefetcher (alias of state_prefetch_ms)
|
||||||
StatePrefetchMs: durationToMs(m.StatePrefetch),
|
StatePrefetchMs: durationToMs(m.StatePrefetch), // async state-load time during state-root computation
|
||||||
AccountUpdateMs: durationToMs(m.AccountUpdate),
|
AccountUpdateMs: durationToMs(m.AccountUpdate), // account trie update phase
|
||||||
StateUpdateMs: durationToMs(m.StateUpdate),
|
StateUpdateMs: durationToMs(m.StateUpdate), // state trie update phase
|
||||||
StateHashMs: durationToMs(m.StateHash),
|
StateHashMs: durationToMs(m.StateHash), // state-root hash computation
|
||||||
AccountCommitMs: durationToMs(m.AccountCommits),
|
AccountCommitMs: durationToMs(m.AccountCommits), // account trie commit to disk
|
||||||
StorageCommitMs: durationToMs(m.StorageCommits),
|
StorageCommitMs: durationToMs(m.StorageCommits), // storage trie commit to disk
|
||||||
TrieDBCommitMs: durationToMs(m.TrieDBCommits),
|
TrieDBCommitMs: durationToMs(m.TrieDBCommits), // trie database commit
|
||||||
SnapshotCommitMs: durationToMs(m.SnapshotCommits),
|
SnapshotCommitMs: durationToMs(m.SnapshotCommits), // state snapshot commit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return logEntry
|
return logEntry
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue