aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-04-21 16:37:16 +0200
committerBjörn Gustavsson <[email protected]>2010-05-17 15:51:49 +0200
commite27516edd537045e1151dc8a95c821ba18aadf4f (patch)
tree438df7f9948785067dd9d4e7fa246a7fe0464ff4 /erts/emulator/beam/global.h
parentf06f499690ef1f5c8659128095a82d6c9b834d68 (diff)
downloadotp-e27516edd537045e1151dc8a95c821ba18aadf4f.tar.gz
otp-e27516edd537045e1151dc8a95c821ba18aadf4f.tar.bz2
otp-e27516edd537045e1151dc8a95c821ba18aadf4f.zip
Count reductions for process even when not trapping
Set loop factors to 10. Teach erts_debug:set_internal_state to limit loop factor for binary. Add random tests for matches and match with multiple searchstrings.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index f25b082049..4745aaf9f5 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1575,8 +1575,10 @@ extern int erts_cpu_timestamp;
void erts_init_bif_chksum(void);
/* erl_bif_re.c */
void erts_init_bif_re(void);
-void erts_init_bif_binary(void);
Sint erts_re_set_loop_limit(Sint limit);
+/* erl_bif_binary.c */
+void erts_init_bif_binary(void);
+Sint erts_binary_set_loop_limit(Sint limit);
/* erl_unicode.c */
void erts_init_unicode(void);
Sint erts_unicode_set_loop_limit(Sint limit);