@@ -131,7 +131,7 @@ impl<'a, T: FieldElement> FunctionCache<'a, T> {
131
131
can_process : impl CanProcessCall < T > ,
132
132
cache_key : & CacheKey < T > ,
133
133
) -> Result < CacheEntry < T > , CompilationError > {
134
- log:: debug !(
134
+ log:: info !(
135
135
"Compiling JIT function for\n Machine: {}\n Connection: {}\n Inputs: {:?}{}" ,
136
136
self . machine_name,
137
137
self . parts. bus_receives[ & cache_key. bus_id] ,
@@ -157,11 +157,11 @@ impl<'a, T: FieldElement> FunctionCache<'a, T> {
157
157
cache_key. known_concrete ,
158
158
)
159
159
. map_err ( |e| {
160
- log:: debug !( "{e}" ) ;
160
+ log:: info !( "{e}" ) ;
161
161
CompilationError :: Other ( e)
162
162
} ) ?;
163
163
164
- log:: debug !( "=> Success!" ) ;
164
+ log:: info !( "=> Success!" ) ;
165
165
let out_of_bounds_vars = code
166
166
. iter ( )
167
167
. flat_map ( |effect| effect. referenced_variables ( ) )
@@ -181,15 +181,15 @@ impl<'a, T: FieldElement> FunctionCache<'a, T> {
181
181
) ;
182
182
}
183
183
184
- log:: trace !( "Generated code ({} steps)" , code. len( ) ) ;
184
+ log:: info !( "Generated code ({} steps)" , code. len( ) ) ;
185
185
let known_inputs = cache_key
186
186
. known_args
187
187
. iter ( )
188
188
. enumerate ( )
189
189
. filter_map ( |( i, b) | if b { Some ( Variable :: Param ( i) ) } else { None } )
190
190
. collect :: < Vec < _ > > ( ) ;
191
191
192
- log:: trace !( "Compiling effects..." ) ;
192
+ log:: info !( "Compiling effects..." ) ;
193
193
let function = compile_effects (
194
194
self . fixed_data . analyzed ,
195
195
self . column_layout . clone ( ) ,
@@ -198,7 +198,7 @@ impl<'a, T: FieldElement> FunctionCache<'a, T> {
198
198
prover_functions,
199
199
)
200
200
. unwrap ( ) ;
201
- log:: trace !( "Compilation done." ) ;
201
+ log:: info !( "Compilation done." ) ;
202
202
203
203
Ok ( CacheEntry {
204
204
function,
@@ -225,6 +225,7 @@ impl<'a, T: FieldElement> FunctionCache<'a, T> {
225
225
known_concrete,
226
226
} ;
227
227
228
+ log:: info!( "Calling compiled function for {:?}" , cache_key) ;
228
229
self . witgen_functions
229
230
. get ( & cache_key)
230
231
. or_else ( || {
@@ -239,6 +240,7 @@ impl<'a, T: FieldElement> FunctionCache<'a, T> {
239
240
. expect ( "compile_cached() returned false!" )
240
241
. function
241
242
. call ( self . fixed_data , mutable_state, values, data) ;
243
+ log:: info!( "Done calling function" ) ;
242
244
243
245
Ok ( true )
244
246
}
0 commit comments