aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2012-10-08 21:34:53 +0200
committerRickard Green <[email protected]>2012-10-09 15:44:15 +0200
commitfadea2d7e37295a0f18ce2b4ddce88d374861615 (patch)
tree01606a9e16211efb1a29b67091b8aae85ae3babe /erts/emulator/beam/erl_process.h
parent952db27ba0a5b87a2a47f3a7034a9bf92e3651e5 (diff)
downloadotp-fadea2d7e37295a0f18ce2b4ddce88d374861615.tar.gz
otp-fadea2d7e37295a0f18ce2b4ddce88d374861615.tar.bz2
otp-fadea2d7e37295a0f18ce2b4ddce88d374861615.zip
Use reduction limit in order to determine when to do wakeup
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r--erts/emulator/beam/erl_process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index 9e7a5a5c74..7c481a91dd 100644
--- a/erts/emulator/beam/erl_process.h
+++ b/erts/emulator/beam/erl_process.h
@@ -439,6 +439,7 @@ typedef struct {
#endif
#ifdef ERTS_SMP
struct {
+ Uint64 next;
int *sched2jix;
int jix;
ErtsDelayedAuxWorkWakeupJob *job;
@@ -481,6 +482,7 @@ struct ErtsSchedulerData_ {
ErtsSchedAllocData alloc_data;
+ Uint64 reductions;
ErtsSchedWallTime sched_wall_time;
#ifdef ERTS_DO_VERIFY_UNUSED_TEMP_ALLOC