Skip to content

Commit

Permalink
add iperf src code and Android.mk
Browse files Browse the repository at this point in the history
1.iperf 2.0.5
2.Android.mk
  • Loading branch information
pip1998 committed Sep 9, 2017
1 parent 7b9359a commit 26f5344
Show file tree
Hide file tree
Showing 133 changed files with 39,720 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Created by https://www.gitignore.io/api/c++

### C++ ###
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib
libs/
obj/

# Executables
*.exe
*.out
*.app

# End of https://www.gitignore.io/api/c++
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#INFO
This is based on Iperf-2.0.5

#BUILD
cd $PROJECT
$NDK_ROOT/ndk-build

#Run
cd $PROJECT
adb push libs/armeabi/iperf /aPathInYouAndroidPhone
adb shell iperf --help
36 changes: 36 additions & 0 deletions iperf/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Mark Gates
Alex Warshavsky

* original authors

Ajay Tirumala

* general improvements

Jim Ferguson <ferguson@ncsa.uiuc.edu>

* Project management

Jon Dugan <jdugan@x1024.net>

* Project maintainer and release coordinator
* various patches and autoconf fixes, general maintenance

Feng Qin
Kevin Gibbs

* windows porting work

John Estabrook <jestabro@ncsa.uiuc.edu>

Andrew Gallatin <gallatin@gmail.com>
* threading fix and non Linux performance improvements

Stephen Hemminger <shemminger@linux-foundation.org>
* Linux congestion control selection and theading improvements

Nathan Jones <nmjones@users.sourceforge.net>
* patch for underflow when value specified in -n is not a multiple of -l

Gerrit Renker <grenker@users.sourceforge.net>
* replace costly gettimeofday() with nanonsleep()
40 changes: 40 additions & 0 deletions iperf/COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Copyright (c) 1999-2007, The Board of Trustees of the University of Illinois
All Rights Reserved.

Iperf performance test
Mark Gates
Ajay Tirumala
Jim Ferguson
Jon Dugan
Feng Qin
Kevin Gibbs
John Estabrook
National Laboratory for Applied Network Research
National Center for Supercomputing Applications
University of Illinois at Urbana-Champaign
http://www.ncsa.uiuc.edu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software (Iperf) and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimers.

Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimers in the documentation and/or
other materials provided with the distribution.

Neither the names of the University of Illinois, NCSA, nor the names of its
contributors may be used to endorse or promote products derived from this
Software without specific prior written permission. THE SOFTWARE IS PROVIDED
"AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTIBUTORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
102 changes: 102 additions & 0 deletions iperf/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
2010-07-08 Jon Dugan <jdugan@x1024.net>

* bumped default TCP send/recv buffer to 128K (this is not the kernel buffer
that controls the window, but rather the Iperf internal buffer)

2010-04-10 Jon Dugan <jdugan@x1024.net>

* update autoconf goo using Autoconf 2.65, this should help portability a bit

2010-04-02 Ralf L�bben

* honor -i flag when for a server (-s) when using TCP
* tracker issue 2836973

2010-04-01 Deny IP Any Any <denyipanyany@gmail.com>

* Exit rather than warn on connection failure
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518033

2010-03-31 Gerrit Renker <grenker@users.sourceforge.net>

* Gerrit Renker's version of Ingo's Molnar's patch to further reduce CPU usage
* tracker issue 2006708

2010-03-31 Gerrit Renker <grenker@users.sourceforge.net>

* "neater" output for some units, eg Kbps, Mbps, Gbps
* addresses some typos

2008-05-09 Gerrit Renker <grenker@users.sourceforge.net>

* replace costly gettimeofday() with nanonsleep() See:
https://sourceforge.net/tracker/index.php?func=detail&aid=1940009&group_id=128336&atid=711373

2008-05-09 Jon Dugan <jdugan@x1024.net>

* change currLen to unsigned to squelch warning generated by Nathan's patch

2008-05-09 Nathan Jones <nmjones@users.sourceforge.net>

* prevent underflow when the amount of data to be transmitted (-n) is not a
multiple of the buffer size (-l) Patch:
https://sourceforge.net/tracker/index.php?func=detail&aid=1943432&group_id=128336&atid=711373

2008-04-08 Jon Dugan <jdugan@x1024.net>

* print report headers only once
* use appropriate report header for UDP tests

2008-04-07 Jon Dugan <jdugan@x1024.net>

* Add man page to autoconf goo
* Bump the version in autoconf
* Add missing LICENSE file

2008-04-04 Jon Dugan <jdugan@x1024.net>

* Incorporate help string fixes from Claus Klein
* Incorporate patch to restore header line in stats output from Claus Klein
* Reworked help string code to remove redundancy
* Add initial man page

2008-03-19 Stephen Hemminger <shemminger@linux-foundation.org>

* Add new option to allow selecting the sender congestion control
algorithm. This is a Linux specific extension useful for testing
other congestion control algorithms.

2008-03-19 Stephen Hemminger <shemminger@linux-foundation.org>

* Use sched_yield rather than usleep(0) as it behaves better on Linux

2008-03-12 Jon Dugan <jdugan@x1024.net>

* Rework Client::RunTCP so to update the stats for every packet if -i is set.
If -i is not set then the stats are only updated at the end of the run. This
was fallout of Andrew's patch.

* Added -Wall to CXXFLAGS and CFLAGS. This generated a lot of noise in the
autotools generated files.

* Added initial AUTHORS file. This is incomplete, but it's a start.

2008-03-12 Andrew Gallatin <gallatin@gmail.com>

* Rework threading. This is done by having a condition variable for the reporting
thread rather than using sched_yield and/or usleep.

* Address performance issues on non Linux systems by avoiding system calls
which are expensive on platforms other than Linux.

* Fixes from FreeBSD ports: max_size_t is now 64 bits and not Iperf does not
exit on ENOBUFS.

2007-10-01 JSE <jestabro@ncsa.uiuc.edu>

* ChangeLog file added

2007-10-05 JSE <jestabro@ncsa.uiuc.edu>

* Thread.c (thread_stop): "pthread_cancel (oldTID )" should be
"pthread_cancel (thread->mTID)"
13 changes: 13 additions & 0 deletions iperf/INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$Id: INSTALL,v 1.1.1.1 2004/05/18 01:50:44 kgibbs Exp $

Platform Specific Notes

FreeBSD

If you use a cc or c++ other than the system one, threads may not be
detected properly. To work around this set the following environment
variables:

setenv CC /usr/bin/cc
setenv CXX /usr/bin/c++

Loading

0 comments on commit 26f5344

Please sign in to comment.