coz/.gitignore

38 lines
999 B
Plaintext
Raw Normal View History

2015-04-09 00:31:18 +03:00
deps
libcoz/libcoz.so
libcoz/obj
2014-10-03 19:13:12 +04:00
benchmarks/*/obj
benchmarks/*/profile.coz
benchmarks/histogram/histogram
benchmarks/kmeans/kmeans
benchmarks/linear_regression/linear_regression
benchmarks/matrix_multiply/matrix_multiply
benchmarks/pbzip2/pbzip2
benchmarks/pca/pca
benchmarks/producer_consumer/producer_consumer
benchmarks/string_match/string_match
2020-01-02 20:46:44 +03:00
benchmarks/sqlite/sqlite-bench
benchmarks/sqlite-modified/sqlite-bench
benchmarks/toy/toy
benchmarks/word_count/word_count
benchmarks/histogram/histogram_datafiles
benchmarks/linear_regression/linear_regression_datafiles
benchmarks/matrix_multiply/.input_large
benchmarks/matrix_multiply/.input_small
benchmarks/matrix_multiply/matrix_file_A.txt
benchmarks/matrix_multiply/matrix_file_B.txt
benchmarks/matrix_multiply/matrix_file_out_pthreads.txt
benchmarks/pbzip2/data
benchmarks/pbzip2/bzip2-1.0.6
benchmarks/string_match/string_match_datafiles
benchmarks/word_count/word_count_datafiles
2016-11-23 04:04:24 +03:00
2021-10-28 23:38:35 +03:00
build/
2016-11-23 04:04:24 +03:00
viewer/node_modules
Add a Rust implementation of `coz.h` After seeing a recording of Emery's recent talk at Strange Loop I was super impressed with `coz` and immediately wanted to try it out with Rust code! I was curious to see if `coz` could help us out with profiling either Cargo, Rust's build system, or perhaps the compiler itself, `rustc`. In any case I ended up creating https://github.com/alexcrichton/coz-rs as a repository to house an implementation of `coz.h` for Rust so `coz` could be used to easily work with Rust executables. I toyed around a bit and Emery [mentioned] that this would be good support to have upstream once it's working, and I think it's working now! I haven't been able to get a ton of useful results myself yet, but I'm still figuring out the best way to ask `coz` questions and the best way to instrument programs myself. Nonetheless I think that the Rust support here is correct in the sense that it's a faithful translation of `coz.h`, and now it's just a problem with me learning how best to instrument programs. This commit adds a new `rust` directory with a crate (Rust parlance for "library") which provides macros that allow using `coz` instrumentation similar as you would in C, except in idiomatic Rust style. I've published the crate on Rust's package registry, crates.io, as [`coz`][crate], and I don't mind keeping it there or transferring it to y'all, whichever you'd prefer! I also don't mind being on the hook for reviewing any Rust-related changes, or if y'all need to jettison the Rust support in the future I don't mind that either and can give it a home! [mentioned]: https://github.com/alexcrichton/coz-rs/issues/2 [crate]: https://crates.io/crates/coz
2019-09-23 19:07:51 +03:00
rust/Cargo.lock
rust/target