Skip to content
Snippets Groups Projects
Commit 6dddd14d authored by Edvin Åkerfeldt's avatar Edvin Åkerfeldt
Browse files

timing_resources, Q14 & Q15, file all done

parent 8f7b9457
No related branches found
No related tags found
No related merge requests found
......@@ -322,6 +322,10 @@ It was safe because exti0 had the highest priority of the tasks accessing the re
// Motivate your answer (not just a number).
//
// [Your answer here]
/*
Ignoring the breakpoints in the function we're left with the locking/unlocking of the resource and entering/leaving the task.
Acording to the table this would take approx. 650+1522+260+170 = 2602 cycles (best case).
*/
//
// Notice, the Rust implementation is significantly faster than the C code version
// of Real-Time For the Masses back in 2013.
......@@ -332,3 +336,6 @@ It was safe because exti0 had the highest priority of the tasks accessing the re
// (Hint, what possible optimization can safely be applied by RTIC + Rust + LLVM.)
//
// [Your answer here]
/*
Because all optimization techniques from LLVM can be applied on the RTIC generated code without worries of anything breaking.
*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment