diff options
author | Sverker Eriksson <[email protected]> | 2018-10-11 23:34:49 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-10-23 12:36:28 +0200 |
commit | 129e61564807c0ad43faf9d0c36260c793501920 (patch) | |
tree | 26822017b645e14403c5e7989d9a4d536217e063 /erts/emulator/beam/erl_db_catree.h | |
parent | 375a1f5c29fd2d3b537e117149e78b0ac61e263f (diff) | |
download | otp-129e61564807c0ad43faf9d0c36260c793501920.tar.gz otp-129e61564807c0ad43faf9d0c36260c793501920.tar.bz2 otp-129e61564807c0ad43faf9d0c36260c793501920.zip |
erts: Add erts_debug feature 'ets_force_split'
to easier generate a routing tree for test
without having to spend cpu to provoke actual repeated lock conflicts.
Diffstat (limited to 'erts/emulator/beam/erl_db_catree.h')
-rw-r--r-- | erts/emulator/beam/erl_db_catree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db_catree.h b/erts/emulator/beam/erl_db_catree.h index e3d574589c..feb6f27980 100644 --- a/erts/emulator/beam/erl_db_catree.h +++ b/erts/emulator/beam/erl_db_catree.h @@ -120,6 +120,8 @@ TreeDbTerm** catree_find_last_root(CATreeRootIterator*); void erts_lcnt_enable_db_catree_lock_count(DbTableCATree *tb, int enable); #endif +void db_catree_force_split(DbTableCATree*, int on); + typedef struct { Uint route_nodes; Uint base_nodes; |