summaryrefslogtreecommitdiff
path: root/sysutils/xosview/patches
diff options
context:
space:
mode:
authorperry <perry@pkgsrc.org>2004-04-21 18:45:09 +0000
committerperry <perry@pkgsrc.org>2004-04-21 18:45:09 +0000
commitc6f6364cf6333842398e4dcc51616652ffdd3794 (patch)
tree32d72f15d18c60a49acda94d6dc85f3a3641af79 /sysutils/xosview/patches
parentc2cbd754ec8e0b4c7920bc10262b8f70a07caf47 (diff)
downloadpkgsrc-c6f6364cf6333842398e4dcc51616652ffdd3794.tar.gz
Kludgily fix a bug where the IRQ meter overran on machines with high HZ.
Diffstat (limited to 'sysutils/xosview/patches')
-rw-r--r--sysutils/xosview/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/xosview/patches/patch-ab b/sysutils/xosview/patches/patch-ab
new file mode 100644
index 00000000000..602e69b09a6
--- /dev/null
+++ b/sysutils/xosview/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.9 2004/04/21 18:45:09 perry Exp $
+
+--- bsd/intratemeter.cc.orig 2003-10-09 00:20:06.000000000 -0400
++++ bsd/intratemeter.cc 2004-04-21 14:32:07.000000000 -0400
+@@ -48,7 +48,7 @@
+ dodecay_ = parent_->isResourceTrue("irqrateDecay");
+ useGraph_ = parent_->isResourceTrue("irqrateGraph");
+ SetUsedFormat (parent_->getResource("irqrateUsedFormat"));
+- total_ = 100;
++ total_ = 2000;
+
+ // Now, grab a sample. I don't know if this is needed here. BCG
+ BSDGetIntrStats (lastirqs_);