From 6c41109f13b27520b250eb74df09617dd8862eb8 Mon Sep 17 00:00:00 2001
From: 97gushan <97gustavh@gmail.com>
Date: Tue, 18 Feb 2020 13:46:53 +0100
Subject: [PATCH] bare 2

---
 examples/bare2.rs | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/examples/bare2.rs b/examples/bare2.rs
index ce6acb2..231e357 100644
--- a/examples/bare2.rs
+++ b/examples/bare2.rs
@@ -18,7 +18,7 @@ use panic_halt as _;
 use cortex_m::{iprintln, peripheral::DWT, Peripherals};
 use cortex_m_rt::entry;
 
-// burns CPU cycles by just looping `i` times
+// burns CPU cycles by just 5looping `i` times
 #[inline(never)]
 fn wait(i: u32) {
     for _ in 0..i {
@@ -77,18 +77,24 @@ fn main() -> ! {
 //
 //    What is the output in the ITM console?
 //
-//    ** your answer here **
-//
+//      bare2
+//      Start 2012359631
+//      End 2139359709
+//      Diff 127000078
+//    
 //    Rebuild and run in release mode
 //
 //    > cargo build --example bare2 --release
 //
-//    ** your answer here **
+//    bare2
+    // Start 3019839635
+    // End 3026839650
+    // Diff 7000015
 //
 //    Compute the ratio between debug/release optimized code
 //    (the speedup).
 //
-//    ** your answer here **
+//    18,1428 times faster
 //
 //    commit your answers (bare2_1)
 //
-- 
GitLab