From f3095296aad5e9b4af7642caa630aa37124ceb5a Mon Sep 17 00:00:00 2001 From: baewoojin <dnwls514@ajou.ac.kr> Date: Wed, 19 Aug 2020 13:38:31 +0900 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 7460fde..bc8d4e2 100644 --- a/README.md +++ b/README.md @@ -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. -- GitLab