From cbf7153a5c9715ea7c7a450ed150e791401fc36c Mon Sep 17 00:00:00 2001 From: samskivert Date: Mon, 4 May 2009 23:45:41 +0000 Subject: [PATCH] The base invoker no longer tracks units run. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2553 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/Invoker.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/java/com/samskivert/util/Invoker.java b/src/java/com/samskivert/util/Invoker.java index f90fad85..8dcc3f1b 100644 --- a/src/java/com/samskivert/util/Invoker.java +++ b/src/java/com/samskivert/util/Invoker.java @@ -184,9 +184,6 @@ public class Invoker extends LoopingThread if (PERF_TRACK) { // record the time spent on the queue as a special unit start = System.currentTimeMillis(); - synchronized (this) { - _unitsRun++; - } // record the time spent on the queue as a special unit recordMetrics("queue_wait_time", start - unit.queueStamp); } @@ -326,9 +323,6 @@ public class Invoker extends LoopingThread /** Tracks the counts of invocations by unit's class. */ protected HashMap _tracker = new HashMap(); - /** The total number of invoker units run since the last report. */ - protected int _unitsRun; - /** Default size of buckets to use when profiling unit times. */ protected int _profileBucketWidth = 50;