Skip to content
Snippets Groups Projects
Commit 1b9deadc authored by Hammarkvast's avatar Hammarkvast
Browse files

bare2_1

parent 1487961e
No related branches found
No related tags found
No related merge requests found
...@@ -78,18 +78,25 @@ fn main() -> ! { ...@@ -78,18 +78,25 @@ fn main() -> ! {
// What is the output in the ITM console? // What is the output in the ITM console?
// //
// ** your answer here ** // ** your answer here **
// Start 1298588265
// End 1435588355
// Diff 137000090
// //
// Rebuild and run in release mode // Rebuild and run in release mode
// //
// > cargo build --example bare2 --release // > cargo build --example bare2 --release
// //
// ** your answer here ** // ** your answer here **
// // bare2
// Start 3473919707
// End 3477919715
//Diff 4000008
// Compute the ratio between debug/release optimized code // Compute the ratio between debug/release optimized code
// (the speedup). // (the speedup).
// //
// ** your answer here ** // ** your answer here **
// // 137000090/4000008 = 34.25 times faster
// commit your answers (bare2_1) // commit your answers (bare2_1)
// //
// 3. *Optional // 3. *Optional
......
source [find interface/stlink.cfg] #source [find interface/stlink.cfg]
# deprecated # deprecated
# source [find interface/stlink-v2-1.cfg] source [find interface/stlink-v2-1.cfg]
transport select hla_swd transport select hla_swd
# increase working area to 64KB # increase working area to 64KB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment