File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
crates/bin/cairo-execute/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -254,10 +254,11 @@ fn main() -> anyhow::Result<()> {
254
254
} ;
255
255
256
256
let trace_enabled = args. profile || args. run . proof_outputs . trace_file . is_some ( ) ;
257
+ let relocate_mem = args. profile || args. run . proof_outputs . memory_file . is_some ( ) ;
257
258
258
259
let cairo_run_config = CairoRunConfig {
259
260
trace_enabled,
260
- relocate_mem : args . run . proof_outputs . memory_file . is_some ( ) ,
261
+ relocate_mem,
261
262
layout : args. run . layout ,
262
263
dynamic_layout_params,
263
264
proof_mode : args. run . standalone ,
@@ -341,6 +342,7 @@ fn main() -> anyhow::Result<()> {
341
342
) ;
342
343
let processed_profiling_info = profiling_processor. process_ex ( & info, & Default :: default ( ) ) ;
343
344
println ! ( "{processed_profiling_info}" ) ;
345
+ println ! ( "Memory size: {}" , runner. relocated_memory. len( ) ) ;
344
346
}
345
347
346
348
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments