Skip to content

Commit

Permalink
[eclipse-iceoryx#535] Add bazel files
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenpiff committed Dec 1, 2024
1 parent fc7e493 commit 0129e7d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ filegroup(
]) + [
"//benchmarks/event:all_srcs",
"//benchmarks/publish-subscribe:all_srcs",
"//benchmarks/queue:all_srcs",
"//iceoryx2:all_srcs",
"//iceoryx2-bb/container:all_srcs",
"//iceoryx2-bb/derive-macros:all_srcs",
Expand Down
1 change: 1 addition & 0 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ maybe(
"//:Cargo.toml",
"//:benchmarks/event/Cargo.toml",
"//:benchmarks/publish-subscribe/Cargo.toml",
"//:benchmarks/queue/Cargo.toml",
"//:examples/Cargo.toml",
"//:iceoryx2/Cargo.toml",
"//:iceoryx2-bb/container/Cargo.toml",
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ cargo run --bin benchmark-event --release -- --help
## Queue

The queue quantifies the latency between pushing an element into a queue and
acquiring the element in another thread. In the setup, a bidirectional connection is
established from process `a` to `b` (queue name `queue_a2b`) and back (queue name
acquiring the element in another thread. In the setup, a bidirectional connection
is established from process `a` to `b` (queue name `queue_a2b`) and back (queue name
`queue_b2a`). The thread that acquires the queue's element employs a multithreaded
busy waiting and promptly respond upon data retrieval. This process repeats `n`
times, and the average latency is subsequently computed.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/queue/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ rust_binary(
name = "benchmark-queue",
srcs = glob(["src/**/*.rs"]),
deps = [
"//iceoryx2-bb/log:iceoryx2-bb-lock-free",
"//iceoryx2-bb/lock-free:iceoryx2-bb-lock-free",
"//iceoryx2-bb/posix:iceoryx2-bb-posix",
"@crate_index//:clap",
],
Expand Down

0 comments on commit 0129e7d

Please sign in to comment.