#performance #no-std

no-std ep-pin-toggle

embedded-profiling implementation using a GPIO toggle

8 releases

0.3.0 Jul 2, 2022
0.2.0 Dec 25, 2021
0.1.5 Dec 21, 2021

#367 in Profiling

23 downloads per month

MIT/Apache

29KB
339 lines

ep-pin-toggle

An implementation of the EmbeddedProfiler trait from embedded-profiling. Simply toggles the given GPIO rather than using a timer to profile. Useful when you want to quickly profile a function using a logic analyzer or oscilloscope in a resource constrained target.

Documentation

Example Usage

An example usage can be found in embedded-profiling-examples.

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.61 and up. It might compile with older versions but that may change in any new patch release.

License

This code is licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~230–445KB