--- /home/vilas/downloads/m5-2.0b2/src/base/statistics.hh	2007-03-06 12:09:52.055140903 -0500
+++ statistics.hh	2007-03-06 12:10:07.095593440 -0500
@@ -2147,8 +2147,13 @@
     }
 
     Result total() const {
-	Op op;
-	return op(l->total(), r->total());
+	VResult res = this->result();
+        Result tmp = 0;
+        for (int i = 0; i < size(); i++)
+        {
+            tmp += res[i];
+        }
+        return tmp;
     }
 
     virtual size_t size() const {
