Skip to content
Snippets Groups Projects
Commit c6bd08fc authored by Henrik Theolin's avatar Henrik Theolin
Browse files

bare2_1

parent 3b4a1cd9
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ rustflags = [
# "-C", "link-arg=-nostartfiles",
# uncomment for unchecked wrapping arithmetics also in dev mode
"-Z", "force-overflow-checks=off",
# "-Z", "force-overflow-checks=off",
]
[build]
......
......@@ -71,18 +71,26 @@ fn main() -> ! {
//
// What is the output in the ITM console?
//
// ** your answer here **
// **
// [2019-02-21T12:23:01.072Z] bare2
// [2019-02-21T12:23:29.117Z] Start 42606
// [2019-02-21T12:23:29.118Z] End 448042815
// **
//
// Rebuild and run in release mode
//
// > cargo build --example bare2 --release
//
// ** your answer here **
// **
// [2019-02-21T12:30:44.941Z] bare2
// [2019-02-21T12:30:45.142Z] Start 3057860134
// [2019-02-21T12:30:45.142Z] End 3061860142
// **
//
// Compute the ratio between debug/release optimized code
// (the speedup).
//
// ** your answer here **
// ** 448000209 / 4000008 = 111,99982825 times **
//
// commit your answers (bare2_1)
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment