Skip to content

Commit

Permalink
Merge pull request #306 from lf-lang/pqueue-refactoring
Browse files Browse the repository at this point in the history
Priority queue refactoring
  • Loading branch information
lhstrh authored Nov 25, 2023
2 parents 1d710c6 + f0e41ce commit 53c0bf7
Show file tree
Hide file tree
Showing 11 changed files with 1,075 additions and 628 deletions.
2 changes: 2 additions & 0 deletions core/federated/RTI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ add_executable(
${CoreLib}/utils/util.c
${CoreLib}/tag.c
${CoreLib}/federated/net_util.c
${CoreLib}/utils/pqueue_base.c
${CoreLib}/utils/pqueue_tag.c
${CoreLib}/utils/pqueue.c
message_record/message_record.c
)
Expand Down
3 changes: 0 additions & 3 deletions core/tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ instant_t lf_time_logical(void *env) {
return ((environment_t *) env)->current_tag.time;
}

/**
* Return the elapsed logical time in nanoseconds since the start of execution.
*/
interval_t lf_time_logical_elapsed(void *env) {
return lf_time_logical(env) - start_time;
}
Expand Down
2 changes: 1 addition & 1 deletion core/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(UTIL_SOURCES vector.c pqueue.c util.c semaphore.c)
set(UTIL_SOURCES vector.c pqueue_base.c pqueue_tag.c pqueue.c util.c semaphore.c)

list(APPEND INFO_SOURCES ${UTIL_SOURCES})

Expand Down
Loading

0 comments on commit 53c0bf7

Please sign in to comment.