File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/vm/src/system/phantom Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,14 +157,14 @@ where
157157 SysPhantom :: CtStart => {
158158 let metrics = state. metrics ;
159159 if let Some ( info) = metrics. debug_infos . get ( pc) {
160- metrics. cycle_tracker . start ( info. dsl_instruction . clone ( ) , * state. pc as usize ) ;
160+ metrics. cycle_tracker . start ( info. dsl_instruction . clone ( ) , * state. memory . timestamp as usize ) ;
161161 }
162162 }
163163 #[ cfg( feature = "perf-metrics" ) ]
164164 SysPhantom :: CtEnd => {
165165 let metrics = state. metrics ;
166166 if let Some ( info) = metrics. debug_infos . get ( pc) {
167- metrics. cycle_tracker . end ( info. dsl_instruction . clone ( ) , * state. pc as usize ) ;
167+ metrics. cycle_tracker . end ( info. dsl_instruction . clone ( ) , * state. memory . timestamp as usize ) ;
168168 }
169169 }
170170 _ => { }
You can’t perform that action at this time.
0 commit comments