diff --git a/examples/rtt_timing.rs b/examples/rtt_timing.rs index b0af83412922a2e60bd2f6ecd5abda39b7354124..a0fadd628021fc28dc61b1721f9ee5507a3a8636 100644 --- a/examples/rtt_timing.rs +++ b/examples/rtt_timing.rs @@ -112,15 +112,15 @@ fn timed_loop() -> (u32, u32) { // C.1) What is the cycle count for the loop? // > cargo run --example rtt_timing --release --features nightly // -// [Your answer here] +// [909736501 - 909732500 = 4001] // // C.2) How many cycles per iteration? // -// [Your answer here] +// [4001/1000 = 4] // // What is the speedup (A/C)? // -// [Your answer here] +// [4790/4 = 1198 times] // // ------------------------------------------------------------------------ // D) Now lets have a closer look at the generated assembly.