Skip to content

Goo-Leo/Mico-eye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mico-eye

Person detect ,based on CNN ,running on Cortex-M7 platform

LTO

Since GCC10's release, -fltooption have became available, we can use it to compress binnary file's size.And the larger your project is, the bigger difference will be made.

How to enable LTO(link-time optimization)in a cmake project?

-G Ninja -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" 
-DLLVM_TARGETS_TO_BUILD=X86 
-DCMAKE_C_FLAGS=”-flto” 
-DCMAKE_CXX_FLAGS=”-flto”

add this to your cmake option.
More info :https://blog.jetbrains.com/clion/2022/05/testing-3-approaches-performance-cpp_apps/#Conclusions

About

Person detect ,based on CNN ,running on Cortex-M7 platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages