[netperf-dev] netperf4 commit notice r50 - trunk/src
raj at netperf.org
raj at netperf.org
Wed Jan 25 17:02:07 PST 2006
Author: raj
Date: 2006-01-25 17:02:05 -0800 (Wed, 25 Jan 2006)
New Revision: 50
Added:
trunk/src/netlib_none.c
trunk/src/netsysstats_none.c
Modified:
trunk/src/netconfidence.h
trunk/src/netcpu.h
trunk/src/netlib_hpux.c
trunk/src/netlib_linux.c
trunk/src/netmsg.h
trunk/src/netperf.h
trunk/src/netperf_hist.h
trunk/src/netsysstats.h
trunk/src/nettest_bsd.h
trunk/src/nettest_dns.c
trunk/src/nettest_dns.h
trunk/src/nettest_vst.c
trunk/src/nettest_vst.h
Log:
Make sure "Id" keyword property is set on src/*.[ch] and add mumble_none.c
files for netsysstat and netlib to be a bit more graceful on new platforms.
Property changes on: trunk/src/netconfidence.h
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/netcpu.h
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/netlib_hpux.c
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/netlib_linux.c
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/src/netlib_none.c
===================================================================
--- trunk/src/netlib_none.c 2006-01-26 00:23:52 UTC (rev 49)
+++ trunk/src/netlib_none.c 2006-01-26 01:02:05 UTC (rev 50)
@@ -0,0 +1,57 @@
+static char netlib_specific_id[]="\
+@(#)(c) Copyright 2006, Hewlett-Packard Company, $Id$";
+
+/*
+
+This file is part of netperf4.
+
+Netperf4 is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+Netperf4 is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
+
+In addition, as a special exception, the copyright holders give
+permission to link the code of netperf4 with the OpenSSL project's
+"OpenSSL" library (or with modified versions of it that use the same
+license as the "OpenSSL" library), and distribute the linked
+executables. You must obey the GNU General Public License in all
+respects for all of the code used other than "OpenSSL". If you modify
+this file, you may extend this exception to your version of the file,
+but you are not obligated to do so. If you do not wish to do so,
+delete this exception statement from your version.
+
+*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "netperf.h"
+
+int
+set_thread_locality(test_t *test, char *loc_type, char *loc_value)
+{
+
+ NETPERF_DEBUG_ENTRY(test->debug,test->where);
+
+ if (test->debug) {
+ fprintf(test->where,
+ "No call to set CPU affinity available, request ignored.\n");
+ fflush(test->where);
+ }
+
+ NETPERF_DEBUG_EXIT(test->debug,test->where);
+
+ return(NPE_SUCCESS);
+}
+
Property changes on: trunk/src/netlib_none.c
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/netmsg.h
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/netperf.h
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/netperf_hist.h
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/netsysstats.h
___________________________________________________________________
Name: svn:keywords
+ Id
Added: trunk/src/netsysstats_none.c
===================================================================
--- trunk/src/netsysstats_none.c 2006-01-26 00:23:52 UTC (rev 49)
+++ trunk/src/netsysstats_none.c 2006-01-26 01:02:05 UTC (rev 50)
@@ -0,0 +1,62 @@
+char netsysstats_none[]="\
+@(#)(c) Copyright 2006, Hewlett-Packard Company, $Id$";
+
+/*
+
+This file is part of netperf4.
+
+Netperf4 is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+Netperf4 is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
+
+In addition, as a special exception, the copyright holders give
+permission to link the code of netperf4 with the OpenSSL project's
+"OpenSSL" library (or with modified versions of it that use the same
+license as the "OpenSSL" library), and distribute the linked
+executables. You must obey the GNU General Public License in all
+respects for all of the code used other than "OpenSSL". If you modify
+this file, you may extend this exception to your version of the file,
+but you are not obligated to do so. If you do not wish to do so,
+delete this exception statement from your version.
+
+*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "netperf.h"
+#include "netsysstats.h"
+
+int
+sys_cpu_util_init(test_t *test)
+{
+
+ NETPERF_DEBUG_ENTRY(test->debug,test->where);
+
+ NETPERF_DEBUG_EXIT(test->debug, test->where);
+ return NPE_SUCCESS;
+}
+
+void
+get_cpu_time_counters(cpu_time_counters_t *res,
+ struct timeval *time,
+ test_t *test)
+{
+
+ NETPERF_DEBUG_ENTRY(test->debug,test->where);
+
+ NETPERF_DEBUG_EXIT(test->debug, test->where);
+
+}
Property changes on: trunk/src/netsysstats_none.c
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/nettest_bsd.h
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/nettest_dns.c
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/nettest_dns.h
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/nettest_vst.c
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: trunk/src/nettest_vst.h
___________________________________________________________________
Name: svn:keywords
+ Id
More information about the netperf-dev
mailing list