Skip to content
Snippets Groups Projects
Commit f3095296 authored by baewoojin's avatar baewoojin
Browse files

Update README.md

parent e683c74e
No related branches found
No related tags found
No related merge requests found
......@@ -266,5 +266,23 @@
- fuction that multiplies fa and fb and divides it by 2^32 is fatest.
- from the above result, it can be seen that there is a difference in call speed depending on how the shift operation is used.
- b. div
~~~
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ns/call ns/call name
78.05 3.45 3.45 __udivmoddi4
5.43 3.69 0.24 __aeabi_ldivmod
5.20 3.92 0.23 main
4.98 4.14 0.22 10000000 22.00 22.00 fx_s3132_longlong_div1
4.30 4.33 0.19 10000000 19.00 19.00 fx_s3132_longlong_div2
2.04 4.42 0.09 10000000 9.00 9.00 fx_s3132_longlong_div
~~~
- It can be seen that the speed is different for each fuction.
- fuction that multiply fa by 2^32 and divides fb is fatest.
- from the above result, it can be seen that there is a difference in call speed depending on how the shift operation is used.
- c. summary
- It can be seen that the speed of each function appears differently depending on the number calculated or other situations.
- If making good use of the shift operation, can create a function that is optimized for each situation.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment