Skip to content

Commit

Permalink
Update context_switches.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
gz authored Jun 3, 2019
1 parent b468f73 commit 858415b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/context_switches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn main() {

pc.start().expect("Can not start the counter");
std::thread::sleep(std::time::Duration::new(1,0));
pc.stop().expect("Can not stop the counter");;
pc.stop().expect("Can not stop the counter");

println!("Context Switches/s: {:?}", pc.read().expect("Can not read counter"));
pc.reset().expect("Can not reset the counter");
Expand Down

0 comments on commit 858415b

Please sign in to comment.