File: tests.txt

package info (click to toggle)
eztrace 2.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,012 kB
  • sloc: ansic: 37,703; sh: 1,246; cpp: 1,181; perl: 910; makefile: 738; fortran: 327; f90: 320; python: 124
file content (32 lines) | stat: -rw-r--r-- 854 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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