From 4420e06e4e9459af04c094d01b7b1a7e5378949c Mon Sep 17 00:00:00 2001 From: ccremers Date: Fri, 27 Aug 2004 19:15:24 +0000 Subject: [PATCH] - Ignore choose actions when determining Arachne trace length. --- src/arachne.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/arachne.c b/src/arachne.c index 728d820..036856a 100644 --- a/src/arachne.c +++ b/src/arachne.c @@ -346,7 +346,8 @@ get_trace_length () if (sys->runs[run].protocol != INTRUDER) { // Non-intruder run: count length - length = length + sys->runs[run].length; + // Subtract 'firstReal' to ignore chooses. + length = length + sys->runs[run].length - sys->runs[run].firstReal; } run++; }