more compact trace output
This commit is contained in:
parent
cc8e06db0b
commit
72271dae6d
@ -692,8 +692,7 @@ vips_cache_operation_buildp( VipsOperation **operation )
|
|||||||
|
|
||||||
if( (hit = g_hash_table_lookup( vips_cache_table, *operation )) ) {
|
if( (hit = g_hash_table_lookup( vips_cache_table, *operation )) ) {
|
||||||
if( vips__cache_trace ) {
|
if( vips__cache_trace ) {
|
||||||
printf( "vips cache: found old operation\n" );
|
printf( "vips cache-: " );
|
||||||
printf( "\t" );
|
|
||||||
vips_object_print_summary( VIPS_OBJECT( hit ) );
|
vips_object_print_summary( VIPS_OBJECT( hit ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -716,10 +715,9 @@ vips_cache_operation_buildp( VipsOperation **operation )
|
|||||||
if( vips__cache_trace ) {
|
if( vips__cache_trace ) {
|
||||||
if( vips_operation_get_flags( *operation ) &
|
if( vips_operation_get_flags( *operation ) &
|
||||||
VIPS_OPERATION_NOCACHE )
|
VIPS_OPERATION_NOCACHE )
|
||||||
printf( "vips cache: uncacheable\n" );
|
printf( "vips cache : " );
|
||||||
else
|
else
|
||||||
printf( "vips cache: caching new operation\n" );
|
printf( "vips cache+: " );
|
||||||
printf( "\t" );
|
|
||||||
vips_object_print_summary( VIPS_OBJECT( *operation ) );
|
vips_object_print_summary( VIPS_OBJECT( *operation ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user