Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 1182:b38a327ad8fa
prev1171:d644413208a3
next1187:266e7a1bae90
author nkeynes
date Sun Nov 27 18:20:21 2011 +1000 (10 years ago)
permissions -rw-r--r--
last change Add block profiling option to count the number of executions of each block,
and dump them out from most-to-least used.
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Tue May 10 20:31:14 2011 +1000
1.2 +++ b/src/sh4/sh4.c Sun Nov 27 18:20:21 2011 +1000
1.3 @@ -235,6 +235,9 @@
1.4 /* If we were running with the translator, update new_pc and in_delay_slot */
1.5 sh4r.new_pc = sh4r.pc+2;
1.6 sh4r.in_delay_slot = FALSE;
1.7 + if( sh4_translate_get_profile_blocks() ) {
1.8 + xlat_dump_cache_by_activity(30);
1.9 + }
1.10 }
1.11
1.12 }
.