Actually, the profiling times show that memory-based tests can be
performed at around 3 secs per 1 billion checks (about 6 times slower than register-based counters).
This commit is contained in:
parent
67a850e712
commit
efae97a6e0
|
@ -3,6 +3,8 @@
|
||||||
_interrupt_mem:
|
_interrupt_mem:
|
||||||
movl 4(%esp), %eax
|
movl 4(%esp), %eax
|
||||||
L_loop1:
|
L_loop1:
|
||||||
|
subl $1, 0(%eax);
|
||||||
|
jz L_int1
|
||||||
subl $1, 0(%eax);
|
subl $1, 0(%eax);
|
||||||
jz L_int1
|
jz L_int1
|
||||||
jmp L_loop1
|
jmp L_loop1
|
||||||
|
|
BIN
lab/prof/main
BIN
lab/prof/main
Binary file not shown.
Loading…
Reference in New Issue