plasma-umass / coz

Coz: Causal Profiling
Other
4.04k stars 160 forks source link

coz fails to find optimizations #137

Open jesperpedersen opened 4 years ago

jesperpedersen commented 4 years ago

When profiling the following programs coz will fail to find optimizations of the methods; showing a slowdown when optimizing -- in most cases.

Compile with

gcc -O0 -fno-omit-frame-pointer -gdwarf-4 -ldl -o linear linear.c
gcc -O0 -fno-omit-frame-pointer -gdwarf-4 -lpthread -ldl -o threads threads.c

Furthermore the profile.coz file won't contain all progress point definitions, and in the case of linear.c the c() data won't even show up.

linear.txt threads.txt