From owner-p4-projects@FreeBSD.ORG Mon Sep 12 11:00:29 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7CCCE16A421; Mon, 12 Sep 2005 11:00:29 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DBC116A41F for ; Mon, 12 Sep 2005 11:00:29 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07C0743D46 for ; Mon, 12 Sep 2005 11:00:29 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8CB0SFL033985 for ; Mon, 12 Sep 2005 11:00:28 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8CB0SPP033982 for perforce@freebsd.org; Mon, 12 Sep 2005 11:00:28 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Mon, 12 Sep 2005 11:00:28 GMT Message-Id: <200509121100.j8CB0SPP033982@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 83453 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 11:00:30 -0000 http://perforce.freebsd.org/chv.cgi?CH=83453 Change 83453 by rwatson@rwatson_zoo on 2005/09/12 10:59:28 Prepend host information into the juggle csv output using uname(3). Affected files ... .. //depot/projects/netsmp/src/tools/netperf/juggle/juggle.c#2 edit Differences ... ==== //depot/projects/netsmp/src/tools/netperf/juggle/juggle.c#2 (text+ko) ==== @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -494,6 +495,22 @@ struct timespec juggle_results[LOOPS], process_results[LOOPS]; struct timespec thread_results[LOOPS]; int fd1, fd2, i, j, p; + struct utsname uts; + + if (uname(&uts) < 0) + err(-1, "utsname"); + printf("sysname, %s\n", uts.sysname); + printf("nodename, %s\n", uts.nodename); + printf("release, %s\n", uts.release); + printf("version, %s\n", uts.version); + printf("machine, %s\n", uts.machine); + printf("\n"); + + printf("MESSAGELEN, %d\n", MESSAGELEN); + printf("NUMCYCLES, %d\n", NUMCYCLES); + printf("LOOPS, %d\n", LOOPS); + printf("PIPELINE_MAX, %d\n", PIPELINE_MAX); + printf("\n\n"); printf("ipctype, test, pipeline_depth"); for (j = 0; j < LOOPS; j++)