[Rock-dev] clang vs. typelib

Martin Zenzes martin.zenzes at dfki.de
Wed Jul 16 17:31:06 CEST 2014


I don't know where to continue in this thread ;-)

so, after another day we are at this stage:

./bin/extractor $ROCK_ROOT/base/types/base/Pose.hpp -- 
-I$ROCK_ROOT/base/types -I/usr/include/eigen3 -x c++
... (output see below)
15.47s user 0.05s system 99% cpu 15.519 total

which is the only downpoint at this stage -- 15seconds for one header... 
not sure where the time is spent, leaving out the ast_matcher (basically 
running an empty finder which does nothing) does not change the amount 
of time at all... well, this is for tomorrow...

only the declarations in the given header file are outputted. no json 
database is needed, the options after the double-dash are normal options 
passed to the compiler.

greetings
     martin

got 'struct' named 'base::PoseUpdateThreshold' in 
'/home/mzenzes/TransTerrA/rock/base/types/base/Pose.hpp:74:12'
Type base::PoseUpdateThreshold
   Size 16
   Members :
     Field base::PoseUpdateThreshold::distance
     Offset 0
     Decl Name distance
     Qual Type double

     Field base::PoseUpdateThreshold::angle
     Offset 64
     Decl Name angle
     Qual Type double

got 'struct' named 'base::Pose' in 
'/home/mzenzes/TransTerrA/rock/base/types/base/Pose.hpp:127:12'
Type base::Pose
   Size 56
   Members :
     Field base::Pose::position
     Offset 0
     Decl Name position
     Qual Type Position

     Field base::Pose::orientation
     Offset 192
     Decl Name orientation
     Qual Type Orientation

got 'struct' named 'base::Pose2D' in 
'/home/mzenzes/TransTerrA/rock/base/types/base/Pose.hpp:228:12'
Type base::Pose2D
   Size 24
   Members :
     Field base::Pose2D::position
     Offset 0
     Decl Name position
     Qual Type Position2D

     Field base::Pose2D::orientation
     Offset 128
     Decl Name orientation
     Qual Type Orientation2D


-- 
M.Sc. Martin Zenzes
Space Robotics

Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0) 421 178 45 - 6658
Fax: +49 (0) 421 178 45 - 4150
E-Mail: martin.zenzes at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------



More information about the Rock-dev mailing list