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

Add simple example of using the timer API #2

Open
SilverPoker opened this issue Oct 11, 2019 · 4 comments
Open

Add simple example of using the timer API #2

SilverPoker opened this issue Oct 11, 2019 · 4 comments
Labels
P-high Priority: high T-documentation Type: doc improvements

Comments

@SilverPoker
Copy link

when running the following command for profiling

cargo build --features timer

The error appears:

Package `marlin v0.1.0 (/home/zy/Desktop/github/marlin)` does not have these features: `timer`

How to add this feature in the package? It seems that only modifying Cargo.toml is enough, but I am not familiar with rust.....

@Pratyush
Copy link
Member

Oops, sorry! The README is outdated; the timer feature was renamed to print-trace, so the command is actually cargo build --features print-trace. However, the repo currently doesn't contain an example end-to-end binary that would print out the trace. I'll add one soon, so that you can get a sense of the heavy components.

@SilverPoker
Copy link
Author

Ok, thanks for your reply. Hope to see the end-to-end example very much !

@Pratyush
Copy link
Member

I've fixed the README, and will soon add a small example to the repo.

@ssahai
Copy link

ssahai commented Feb 24, 2020

Any updates for the example?

@Pratyush Pratyush added P-high Priority: high T-documentation Type: doc improvements labels Sep 9, 2021
@Pratyush Pratyush changed the title features: timer is not in the package Add simple example of using the timer API Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-high Priority: high T-documentation Type: doc improvements
Projects
Development

No branches or pull requests

3 participants