Skip to content
Snippets Groups Projects
Commit 6a59f26e authored by Josef Utbult's avatar Josef Utbult
Browse files

bare3_3

parent 96c86181
Branches
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ const APP: () = { ...@@ -28,7 +28,7 @@ const APP: () = {
// notice all printing outside of the section to measure! // notice all printing outside of the section to measure!
hprintln!("Start {:?}", start).ok(); hprintln!("Start {:?}", start).ok();
hprintln!("End {:?}", end).ok(); hprintln!("End {:?}", end).ok();
hprintln!("Diff {:?}", Instant::duration_since(&end, start).as_cycles()).ok(); hprintln!("Diff {:?}", start.elapsed().as_cycles()).ok();
} }
}; };
...@@ -100,7 +100,9 @@ fn wait(i: u32) { ...@@ -100,7 +100,9 @@ fn wait(i: u32) {
// //
// What is now the output in the Adapter Output console? // What is now the output in the Adapter Output console?
// //
// ** your answer here ** // Start Instant(2374747659)
// End Instant(2378747675)
// Diff 4001549
// //
// Commit your answers (bare3_3) // Commit your answers (bare3_3)
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment