Skip to content

Commit

Permalink
Change the side exit warmup instead
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtbucher committed Sep 10, 2024
1 parent f67fedc commit 8d668dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Include/internal/pycore_backoff.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ backoff_counter_triggers(_Py_BackoffCounter counter)
/* Initial JUMP_BACKWARD counter.
* This determines when we create a trace for a loop.
* Backoff sequence 16, 32, 64, 128, 256, 512, 1024, 2048, 4096. */
#define JUMP_BACKWARD_INITIAL_VALUE 64
#define JUMP_BACKWARD_INITIAL_BACKOFF 6
#define JUMP_BACKWARD_INITIAL_VALUE 16
#define JUMP_BACKWARD_INITIAL_BACKOFF 4
static inline _Py_BackoffCounter
initial_jump_backoff_counter(void)
{
Expand All @@ -122,8 +122,8 @@ initial_jump_backoff_counter(void)
* otherwise when a side exit warms up we may construct
* a new trace before the Tier 1 code has properly re-specialized.
* Backoff sequence 64, 128, 256, 512, 1024, 2048, 4096. */
#define SIDE_EXIT_INITIAL_VALUE 64
#define SIDE_EXIT_INITIAL_BACKOFF 6
#define SIDE_EXIT_INITIAL_VALUE 512
#define SIDE_EXIT_INITIAL_BACKOFF 9

static inline _Py_BackoffCounter
initial_temperature_backoff_counter(void)
Expand Down

0 comments on commit 8d668dd

Please sign in to comment.