Skip to content

Commit e29890a

Browse files
Implement NVTXW export
1 parent bb995da commit e29890a

File tree

4 files changed

+532
-0
lines changed

4 files changed

+532
-0
lines changed

Cargo.lock

+116
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ rust-version = "1.74"
1818
default = []
1919
client = ["dep:reqwest", "dep:url"]
2020
server = ["dep:actix-cors", "dep:actix-web"]
21+
nvtxw = ["dep:nvtxw"]
2122

2223
[dependencies]
2324
egui = "0.25.0"
@@ -53,6 +54,8 @@ url = { version = "2", optional = true }
5354
actix-web = { version = "4", optional = true }
5455
actix-cors = { version = "0.6", optional = true }
5556

57+
# nvtxw:
58+
nvtxw = { git = "https://github.com/NVIDIA/NVTX.git", branch = "nvtxw-rs", optional = true }
5659

5760
# native:
5861
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ pub mod deferred_data;
99
pub mod file_data;
1010
pub mod http;
1111
pub mod merge_data;
12+
#[cfg(feature = "nvtxw")]
13+
pub mod nvtxw;
1214
#[cfg(not(target_arch = "wasm32"))]
1315
pub mod parallel_data;
1416
pub mod timestamp;

0 commit comments

Comments
 (0)