Search
lxdream.org :: lxdream/src/sh4/sh4trans.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4trans.h
changeset 1182:b38a327ad8fa
prev1125:9dd5dee45db9
next1186:2dc47c67bb93
author nkeynes
date Sun Nov 27 18:20:21 2011 +1000 (8 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/sh4trans.h Mon Sep 13 10:13:42 2010 +1000
1.2 +++ b/src/sh4/sh4trans.h Sun Nov 27 18:20:21 2011 +1000
1.3 @@ -103,6 +103,16 @@
1.4 void sh4_translate_set_fastmem( gboolean flag );
1.5
1.6 /**
1.7 + * Enable/disable basic block profiling
1.8 + */
1.9 +void sh4_translate_set_profile_blocks( gboolean flag );
1.10 +
1.11 +/**
1.12 + * Get the boolean flag indicating whether block profiling is on.
1.13 + */
1.14 +gboolean sh4_translate_get_profile_blocks();
1.15 +
1.16 +/**
1.17 * Set the address spaces for the translated code.
1.18 */
1.19 void sh4_translate_set_address_space( struct mem_region_fn **priv, struct mem_region_fn **user );
.