[netperf-dev] netperf2 commit notice r282 - trunk/src
raj at netperf.org
raj at netperf.org
Fri Jul 25 11:00:43 PDT 2008
Author: raj
Date: 2008-07-25 11:00:42 -0700 (Fri, 25 Jul 2008)
New Revision: 282
Modified:
trunk/src/netcpu_kstat10.c
Log:
Sun have added a new cpu_nsec which we must alas ignore because it appears to do nothing for us
Modified: trunk/src/netcpu_kstat10.c
===================================================================
--- trunk/src/netcpu_kstat10.c 2008-07-03 00:25:56 UTC (rev 281)
+++ trunk/src/netcpu_kstat10.c 2008-07-25 18:00:42 UTC (rev 282)
@@ -151,6 +151,13 @@
found++;
counters[cpu_num].kernel = knp->value.ui64;
}
+ else if (!strcmp("cpu_nsec_intr",knp->name)) {
+ if (debug >= 2) {
+ fprintf(where,
+ "Found a cpu_nsec_intr but it doesn't do what we want\n");
+ fflush(where);
+ }
+ }
else if (strstr(knp->name,"nsec")) {
/* finding another nsec here means Sun have changed
something and we need to warn the user. raj 2005-01-28 */
More information about the netperf-dev
mailing list