From f184f58231b9f39111c259ed0ef3bf6b33c2ad3e Mon Sep 17 00:00:00 2001 From: "github-merge-queue[bot]" Date: Sun, 3 Mar 2024 21:52:02 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=203a4e4?= =?UTF-8?q?4f42d30a0db1990a45edf93f5ad8d89266a=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- d7/d0e/reactor__common_8h.html | 32 ++ d7/d0e/reactor__common_8h.js | 1 + d7/d0e/reactor__common_8h_source.html | 102 +++--- dd/d37/reactor__common_8c.html | 32 ++ dd/d37/reactor__common_8c.js | 1 + globals_c.html | 2 +- globals_func_l.html | 1 + globals_l.html | 11 +- navtreedata.js | 12 +- navtreeindex3.js | 40 +-- navtreeindex4.js | 4 +- navtreeindex5.js | 4 +- navtreeindex6.js | 4 +- navtreeindex7.js | 54 +-- navtreeindex8.js | 12 +- navtreeindex9.js | 2 + search/all_13.js | 453 +++++++++++++------------- search/all_a.js | 117 ++++--- search/functions_9.js | 225 ++++++------- 19 files changed, 592 insertions(+), 517 deletions(-) diff --git a/d7/d0e/reactor__common_8h.html b/d7/d0e/reactor__common_8h.html index b9e4a03d0..240339a17 100644 --- a/d7/d0e/reactor__common_8h.html +++ b/d7/d0e/reactor__common_8h.html @@ -121,6 +121,9 @@ + + + @@ -665,6 +668,35 @@

+

◆ lf_combine_deadline_and_level()

+ +
+
+

Functions

index_t lf_combine_deadline_and_level (interval_t deadline, int level)
 Combine a deadline and a level into a single index for sorting in the reaction queue.
 
void lf_create_environments (void)
 Create and initialize the required number of environments for the program.
 
+ + + + + + + + + + +
index_t lf_combine_deadline_and_level (interval_t deadline,
int level )
+
+ +

Combine a deadline and a level into a single index for sorting in the reaction queue.

+

This shifts the deadline right by 16 bits and inserts the level in the low-order 16 bits. If the deadline is larger than ULLONG_MAX >> 16, then it is treated as the largest possible deadline. @oaran deadline THe deadline.

Parameters
+ + +
levelThe level in the reaction graph.
+
+
+
diff --git a/d7/d0e/reactor__common_8h.js b/d7/d0e/reactor__common_8h.js index 57d6cf763..8b367885a 100644 --- a/d7/d0e/reactor__common_8h.js +++ b/d7/d0e/reactor__common_8h.js @@ -15,6 +15,7 @@ var reactor__common_8h = [ "_lf_trigger_shutdown_reactions", "d7/d0e/reactor__common_8h.html#a282a342efac4fc3e198fb9656f0a9adc", null ], [ "_lf_trigger_startup_reactions", "d7/d0e/reactor__common_8h.html#afd3a0abded3adbc25ab7dbc261e7b16c", null ], [ "initialize_global", "d7/d0e/reactor__common_8h.html#a42d0bf55641d6ff4390081175de65496", null ], + [ "lf_combine_deadline_and_level", "d7/d0e/reactor__common_8h.html#a6876ddf559d9ecf14ae78f76e6ff2045", null ], [ "lf_create_environments", "d7/d0e/reactor__common_8h.html#af2a6b2663dca116472afc45b50040a3d", null ], [ "lf_free", "d7/d0e/reactor__common_8h.html#aa028b6b458854278bb2a2de486e40268", null ], [ "lf_get_new_event", "d7/d0e/reactor__common_8h.html#aeb163964110b0029fc4c460b2478ea4d", null ], diff --git a/d7/d0e/reactor__common_8h_source.html b/d7/d0e/reactor__common_8h_source.html index 70143e5b7..18c631929 100644 --- a/d7/d0e/reactor__common_8h_source.html +++ b/d7/d0e/reactor__common_8h_source.html @@ -135,62 +135,65 @@
64extern struct allocation_record_t* _lf_reactors_to_free;
65
67
-
72void lf_create_environments(void);
-
73
-
82void lf_free(struct allocation_record_t** head);
+
76index_t lf_combine_deadline_and_level(interval_t deadline, int level);
+
77
+
82void lf_create_environments(void);
83
-
89event_t* lf_get_new_event(environment_t* env);
-
90
-
98void lf_recycle_event(environment_t* env, event_t* e);
-
99
-
106void lf_replace_token(event_t* event, lf_token_t* token);
-
107
-
111void lf_set_default_command_line_options(void);
-
112
-
120void _lf_start_time_step(environment_t *env);
-
121
-
131void lf_terminate_execution(environment_t* env);
-
132
-
137void _lf_initialize_trigger_objects();
-
138
-
146void termination(void);
-
147
-
157void _lf_trigger_reaction(environment_t* env, reaction_t* reaction, int worker_number);
-
158
-
167void _lf_initialize_timer(environment_t* env, trigger_t* timer);
+
92void lf_free(struct allocation_record_t** head);
+
93
+
99event_t* lf_get_new_event(environment_t* env);
+
100
+
108void lf_recycle_event(environment_t* env, event_t* e);
+
109
+
116void lf_replace_token(event_t* event, lf_token_t* token);
+
117
+
121void lf_set_default_command_line_options(void);
+
122
+
130void _lf_start_time_step(environment_t *env);
+
131
+
141void lf_terminate_execution(environment_t* env);
+
142
+
147void _lf_initialize_trigger_objects();
+
148
+
156void termination(void);
+
157
+
167void _lf_trigger_reaction(environment_t* env, reaction_t* reaction, int worker_number);
168
-
173void _lf_initialize_timers(environment_t* env);
-
174
-
179void _lf_trigger_startup_reactions(environment_t* env);
-
180
-
185void _lf_trigger_shutdown_reactions(environment_t *env);
-
186
-
196event_t* _lf_create_dummy_events(
-
197 environment_t* env,
-
198 trigger_t* trigger,
-
199 instant_t time,
-
200 event_t* next,
-
201 microstep_t offset
-
202);
-
203
-
231trigger_handle_t _lf_schedule_at_tag(environment_t* env, trigger_t* trigger, tag_t tag, lf_token_t* token);
-
232
-
241trigger_handle_t _lf_insert_reactions_for_trigger(environment_t* env, trigger_t* trigger, lf_token_t* token);
+
177void _lf_initialize_timer(environment_t* env, trigger_t* timer);
+
178
+
183void _lf_initialize_timers(environment_t* env);
+
184
+
189void _lf_trigger_startup_reactions(environment_t* env);
+
190
+
195void _lf_trigger_shutdown_reactions(environment_t *env);
+
196
+
206event_t* _lf_create_dummy_events(
+
207 environment_t* env,
+
208 trigger_t* trigger,
+
209 instant_t time,
+
210 event_t* next,
+
211 microstep_t offset
+
212);
+
213
+
241trigger_handle_t _lf_schedule_at_tag(environment_t* env, trigger_t* trigger, tag_t tag, lf_token_t* token);
242
-
250void _lf_advance_logical_time(environment_t *env, instant_t next_time);
-
251
-
260void _lf_pop_events(environment_t *env);
+
251trigger_handle_t _lf_insert_reactions_for_trigger(environment_t* env, trigger_t* trigger, lf_token_t* token);
+
252
+
260void _lf_advance_logical_time(environment_t *env, instant_t next_time);
261
-
262void _lf_invoke_reaction(environment_t* env, reaction_t* reaction, int worker);
-
263void schedule_output_reactions(environment_t *env, reaction_t* reaction, int worker);
-
264int process_args(int argc, const char* argv[]);
-
265
-
269void initialize_global();
-
270
-
271#endif
+
270void _lf_pop_events(environment_t *env);
+
271
+
272void _lf_invoke_reaction(environment_t* env, reaction_t* reaction, int worker);
+
273void schedule_output_reactions(environment_t *env, reaction_t* reaction, int worker);
+
274int process_args(int argc, const char* argv[]);
+
275
+
279void initialize_global();
+
280
+
281#endif
Type definitions that are widely used across different parts of the runtime.
int trigger_handle_t
Definition lf_types.h:116
+
pqueue_pri_t index_t
Definition lf_types.h:131
Priority queue declarations for the event queue and reaction queue.
@@ -206,6 +209,7 @@
void _lf_initialize_trigger_objects()
Definition src_gen_stub.c:14
void _lf_initialize_timers(environment_t *env)
Initialize all the timers in the environment.
Definition reactor_common.c:409
void _lf_initialize_timer(environment_t *env, trigger_t *timer)
Initialize the given timer. If this timer has a zero offset, enqueue the reactions it triggers....
Definition reactor_common.c:366
+
index_t lf_combine_deadline_and_level(interval_t deadline, int level)
Combine a deadline and a level into a single index for sorting in the reaction queue.
Definition reactor_common.c:1329
void _lf_invoke_reaction(environment_t *env, reaction_t *reaction, int worker)
Definition reactor_common.c:805
instant_t duration
Definition reactor_common.c:85
int process_args(int argc, const char *argv[])
Definition reactor_common.c:1031
diff --git a/dd/d37/reactor__common_8c.html b/dd/d37/reactor__common_8c.html index 76a21cd32..8c173a439 100644 --- a/dd/d37/reactor__common_8c.html +++ b/dd/d37/reactor__common_8c.html @@ -192,6 +192,9 @@ void termination (void)  Perform final wrap-up on exit.
  +index_t lf_combine_deadline_and_level (interval_t deadline, int level) + Combine a deadline and a level into a single index for sorting in the reaction queue.
+  @@ -643,6 +646,35 @@

Returns
A pointer to the allocated memory.
+ + +
+

◆ lf_combine_deadline_and_level()

+ +
+
+

Variables

+ + + + + + + + + + +
index_t lf_combine_deadline_and_level (interval_t deadline,
int level )
+
+ +

Combine a deadline and a level into a single index for sorting in the reaction queue.

+

This shifts the deadline right by 16 bits and inserts the level in the low-order 16 bits. If the deadline is larger than ULLONG_MAX >> 16, then it is treated as the largest possible deadline. @oaran deadline THe deadline.

Parameters
+ + +
levelThe level in the reaction graph.
+
+
+
diff --git a/dd/d37/reactor__common_8c.js b/dd/d37/reactor__common_8c.js index a91c623d2..888debd2e 100644 --- a/dd/d37/reactor__common_8c.js +++ b/dd/d37/reactor__common_8c.js @@ -13,6 +13,7 @@ var reactor__common_8c = [ "_lf_trigger_startup_reactions", "dd/d37/reactor__common_8c.html#afd3a0abded3adbc25ab7dbc261e7b16c", null ], [ "initialize_global", "dd/d37/reactor__common_8c.html#a4b9fe00b97fa37e9602b85b7086acec1", null ], [ "lf_allocate", "dd/d37/reactor__common_8c.html#a1a5fdb69bc112879d4014bb0790e843c", null ], + [ "lf_combine_deadline_and_level", "dd/d37/reactor__common_8c.html#a6876ddf559d9ecf14ae78f76e6ff2045", null ], [ "lf_free", "dd/d37/reactor__common_8c.html#aa028b6b458854278bb2a2de486e40268", null ], [ "lf_free_all_reactors", "dd/d37/reactor__common_8c.html#adf76c4fc43b07691236fa6a483762481", null ], [ "lf_free_reactor", "dd/d37/reactor__common_8c.html#a2f0b7c8d624c2da93012538bd93568ad", null ], diff --git a/globals_c.html b/globals_c.html index 5ddfb51b5..15f8310c5 100644 --- a/globals_c.html +++ b/globals_c.html @@ -96,8 +96,8 @@

- c -