From 6bad94bb8546a3a5595d340e7a2d809635e3bd5d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 21 Aug 2015 05:19:56 +0200 Subject: Keep frame pointers --- CMakeLists.txt | 2 +- docs/ToDo | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 337a366..b6fce9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ endif (NOT DISABLE_PCITOOL) check_include_files(stdatomic.h HAVE_STDATOMIC_H) -add_definitions("-fPIC --std=c99 -Wall -O2 -gdwarf-2 -g3") +add_definitions("-fPIC --std=c99 -Wall -O2 -gdwarf-2 -g3 -fno-omit-frame-pointer") #add_definitions("-fPIC --std=c99 -Wall -O2") include(cmake/version.cmake) diff --git a/docs/ToDo b/docs/ToDo index f9f14e6..ea3c18e 100644 --- a/docs/ToDo +++ b/docs/ToDo @@ -17,3 +17,8 @@ Low Priority (only as generalization for other projects) 5. Use pthread_condition_t instead of polling 6. Support FIFO reads/writes from/to registers 7. We managed kmem performance using next kmem prediction, but it is still wise to provide additionally a binary tree for faster search + +Performance +=========== + 1. Even with fully algined data, glibc defaults to __memcpy_sse2_unaligned (called from ipecamera_data_callback and fastwriter_push). Can we do something? + \ No newline at end of file -- cgit v1.2.3