From efae97a6e08fdc2e6f01bccc312ba494d8827246 Mon Sep 17 00:00:00 2001 From: Abdulaziz Ghuloum Date: Thu, 21 Dec 2006 16:32:45 +0300 Subject: [PATCH] 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). --- lab/prof/int.s | 2 ++ lab/prof/main | Bin 13444 -> 13444 bytes 2 files changed, 2 insertions(+) diff --git a/lab/prof/int.s b/lab/prof/int.s index 66240f1..181a7fd 100644 --- a/lab/prof/int.s +++ b/lab/prof/int.s @@ -3,6 +3,8 @@ _interrupt_mem: movl 4(%esp), %eax L_loop1: + subl $1, 0(%eax); + jz L_int1 subl $1, 0(%eax); jz L_int1 jmp L_loop1 diff --git a/lab/prof/main b/lab/prof/main index e4a985581c57f47e5574cc013f12e2324c0c6a06..0f9b8af605521e67f160ab83dd87da3971e6c983 100755 GIT binary patch delta 246 zcmZq4Y{{IkhEqnCfuV$nfk9^D*7?kgGMhtLj&n>_;9bHPIQb~AIiuX|_SZ4pt~|{LSh^W{Cl^ls$(PQ_(VW4+SijGtKOja~_EEz1%z|aSDK0i=44al~FvMVRc W8jAB;0rkcL)q`YZHai+RGXns6MfPvw^s(=EJ^Iug2NQHJj4Q_rT@?sMs14D1~A)u;mf!;|QfChED za&)?=aP&4$0!jf{ES(}MFV+DS9A{Da4+JkJ1KB|B;bA}nd|nhzZsAjB%$&T2&qA;Q zsQqzw)IsGrj&XIh9|3^CbQ<1xX7z1_ooGGC82(UO?x&K-oHz s6%8Ish68=l2lO64P&Ng~wt}*2C(9a&^V$LR#sbxYWED0$8agur0LxWL%m4rY