Sans instrumentation:
$ ./simple_static
START !
STOP !
res = -1243309312
1000000000 iterations in 2.654223 s (0.002654 Âµs per iteration)

$ ./simple_dynamic
START !
STOP !
res = -1243309312
1000000000 iterations in 2.650895 s (0.002651 Âµs per iteration)


avec DynamoRIO:

$ cd /home/trahay/Soft/opt/instrumentation/DynamoRIO-Linux-3.2.0-3
$ bin64/drrun -client samples/bin64/libcountcalls.so 0x1 "" /home/trahay/Documents/recherche/articles/PROPER_2012/programmes/simple/simple_dynamic 
Client countcalls is running
START !
STOP !
res = -1243309312
1000000000 iterations in 24.358811 s (0.024359 Âµs per iteration)
Thread 2792 exited - Instrumentation results:
  saw 1000000240 direct calls
  saw 43 indirect calls
  saw 1000000282 returns

Instrumentation results:
  saw 1000000240 direct calls
  saw 43 indirect calls
  saw 1000000282 returns
