2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=NetPIPE-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.scl.ameslab.gov
/netpipe
/code
16 PKG_MD5SUM
:=cc458a9154f6b8c6da9fae16627beec4
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/NetPIPE-
$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/netpipe
25 TITLE
:=A Network Protocol Independent Performance Evaluator
26 URL
:=http
://www.scl.ameslab.gov
/netpipe
/
29 define Package
/netpipe
/description
30 NetPIPE is a protocol independent performance tool that visually
31 represents the network performance under a variety of conditions. It
32 performs simple ping-pong tests
, bouncing messages of increasing size
33 between two processes
, whether across a network or within an SMP
34 system. Message sizes are chosen at regular intervals
, and with slight
35 perturbations
, to provide a complete
test of the communication system.
36 Each data point involves many ping-pong tests to provide an accurate
37 timing. Latencies are calculated by dividing the round trip time in
38 half for small messages
( < 64 Bytes
).
41 define Build
/Configure
44 define Package
/netpipe
/install
45 $(INSTALL_DIR
) $(1)/usr
/bin
46 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/NPtcp
$(1)/usr
/bin
/
49 $(eval
$(call BuildPackage
,netpipe
))