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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=NetPIPE-
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.scl.ameslab.gov
/netpipe
/code
17 PKG_MD5SUM
:=cc458a9154f6b8c6da9fae16627beec4
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/NetPIPE-
$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/netpipe
26 TITLE
:=A Network Protocol Independent Performance Evaluator
27 URL
:=http
://www.scl.ameslab.gov
/netpipe
/
30 define Package
/netpipe
/description
31 NetPIPE is a protocol independent performance tool that visually
32 represents the network performance under a variety of conditions. It
33 performs simple ping-pong tests
, bouncing messages of increasing size
34 between two processes
, whether across a network or within an SMP
35 system. Message sizes are chosen at regular intervals
, and with slight
36 perturbations
, to provide a complete
test of the communication system.
37 Each data point involves many ping-pong tests to provide an accurate
38 timing. Latencies are calculated by dividing the round trip time in
39 half for small messages
( < 64 Bytes
).
42 define Build
/Configure
45 define Package
/netpipe
/install
46 $(INSTALL_DIR
) $(1)/usr
/bin
47 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/NPtcp
$(1)/usr
/bin
/
50 $(eval
$(call BuildPackage
,netpipe
))