File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2727#include < category/execution/ethereum/core/rlp/block_rlp.hpp>
2828#include < category/execution/ethereum/db/block_db.hpp>
2929#include < category/execution/ethereum/db/db.hpp>
30+ #include < category/execution/ethereum/event/exec_event_ctypes.h>
31+ #include < category/execution/ethereum/event/exec_event_recorder.hpp>
3032#include < category/execution/ethereum/execute_block.hpp>
3133#include < category/execution/ethereum/execute_transaction.hpp>
3234#include < category/execution/ethereum/metrics/block_metrics.hpp>
@@ -132,6 +134,7 @@ Result<BlockHeader> process_ethereum_block(
132134 db.set_block_and_prefix (block.header .number - 1 , parent_block_id);
133135 BlockMetrics block_metrics;
134136 BlockState block_state (db, vm);
137+ record_block_marker_event (MONAD_EXEC_BLOCK_PERF_EVM_ENTER);
135138 BOOST_OUTCOME_TRY (
136139 auto const receipts,
137140 execute_block<traits>(
@@ -145,6 +148,7 @@ Result<BlockHeader> process_ethereum_block(
145148 block_metrics,
146149 call_tracers,
147150 state_tracers));
151+ record_block_marker_event (MONAD_EXEC_BLOCK_PERF_EVM_EXIT);
148152
149153 // Database commit of state changes (incl. Merkle root calculations)
150154 block_state.log_debug ();
You can’t perform that action at this time.
0 commit comments