Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Priority queue refactoring #306

Merged
merged 16 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading