diff options
author | Rickard Green <[email protected]> | 2010-08-16 19:38:33 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2010-08-18 18:00:34 +0200 |
commit | 1b273b618002d65159453fdfb9520a9476e4423a (patch) | |
tree | 1bb787ea400e726e575237274e347bd928787e84 /erts/emulator/beam/erl_process.h | |
parent | bdfd2aaa1d402b3dd393a7820432f8f76e248ee1 (diff) | |
download | otp-1b273b618002d65159453fdfb9520a9476e4423a.tar.gz otp-1b273b618002d65159453fdfb9520a9476e4423a.tar.bz2 otp-1b273b618002d65159453fdfb9520a9476e4423a.zip |
Make it possible to reread and update detected CPU information
Calling erlang:system_info/1 with the new argument 'update_cpu_info'
will make the runtime system reread and update the internally stored
CPU information. For more information see the documentation of
erlang:system_info(update_cpu_info).
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r-- | erts/emulator/beam/erl_process.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index c3fef6d38e..0cc4a715ad 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -1025,6 +1025,7 @@ int erts_init_scheduler_bind_type(char *how); #define ERTS_INIT_CPU_TOPOLOGY_MISSING 9 int erts_init_cpu_topology(char *topology_str); +int erts_update_cpu_info(void); void erts_pre_init_process(void); void erts_late_init_process(void); |