summaryrefslogtreecommitdiff
path: root/gpsprof
Commit message (Collapse)AuthorAgeFilesLines
* Makes "future imports" and Python version comments consistent.Fred Wright2016-04-101-2/+3
| | | | | | | | | | | | | | | | | | | | This makes the "future import" statements consistently specify absolute_import, print_function, and division, for maximum consistency between Python 2 and Python 3. Although absolute_import is probably a don't care for top-level programs, if unit tests were ever implemented for the programs they would be imported as modules, making the module import behavior relevant. Note that previous Python 3 fixes are a prerequisite for this change. Also makes the "polyglot comment" consistent across sources. TESTED: Using a version of SConstruct patched to use the target Python for build helpers, ran "scons build-all check valgrind-audit www/hardware.html" with all six supported Python versions. Also ran gegps, gpscat, gpsprof, xgps, and xgpsspeed with both Python 2 and Python 3.
* Restore language about 2.6 portability, clean up Python imports.Eric S. Raymond2016-03-271-0/+2
|
* Fixes gpsprof to work with Python 2.6.Fred Wright2016-03-271-2/+2
| | | | | | | | | | | | The dict-without-values construct as a set initializer doesn't work in Python 2.6, though the usual set constructor does. This is not a recent bug. TESTED: Verified that gpsprof now works in Python 2.6, 2.7, 3.3, 3.4, and 3.5, at least in the TPV mode. Unable to test the PPS cases since gpsd doesn't recognize my PPS source (but the syntax is identical).
* Forward-port gps/ Python client code to run polyglot under Python 2 or 3.Eric S. Raymond2016-03-221-5/+6
| | | | | | | Verified by testing gpsprof under both versions. leapecond.py is also OK. Not yet polyglot: gegps, gpscap.py, gpscat, gpsfake, jsongen.py, maskaudit.py, test_maidenhead.py, valgrind_audit.py, xgps, xgpsspeed.
* Forward-port Python utilities to run polyglot under either Python 2 or 3.Eric S. Raymond2016-03-221-3/+3
| | | | | | For the moment most shebang lines still say 'python2' rather than just 'python'. This is because the client code in gps/ hasn't been touched yet; the internal imports break under Python 3 and that needs to be fixed.
* [pep8] autopep8 whitespace cleanupJon Schlueter2016-02-091-0/+2
| | | | | large scale autopep8 cleanup of several pep8 whitespace warnings
* Fix Append to string of serial parametersNuno Gonçalves2015-08-291-1/+1
| | | | | | Before it didn't print any serial parameters. Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
* In gpsprof, usefully ID a plot for non-serial devices.Eric S. Raymond2015-08-231-4/+9
|
* Change Python hashbang lines to invoke 'python2'Eric S. Raymond2015-07-191-1/+1
| | | | | | We've learned that Ubuntu 15.10 will have python3 as default. The ugly transition gas befun; our only recourse is to hape that all our deployment targets have 'pyton2' do the right thing. Works on 14.10.
* Clarify units for y axis for the tile delta plotSanjeev Gupta2015-04-051-1/+1
|
* Comment typo fix.Eric S. Raymond2015-04-051-1/+1
|
* gpsprof: pylint cleanup. Live-tested.Eric S. Raymond2015-02-221-10/+10
|
* pep8 whitespace cleanup in gpsprofJon Schlueter2015-02-131-28/+72
|
* More splint and pylint cleanups.Eric S. Raymond2013-11-151-10/+10
| | | | All regression tests pass with pps=tru or pps=false, PPS is live.
* Fix up gpsprof's dime difference calculation and add a mtching C macro.Eric S. Raymond2013-11-031-1/+1
| | | | All regression tests pass. PPS is live.
* gpsprof can now make plots of time deta from PPS.Eric S. Raymond2013-11-021-1/+7
| | | | I think it is revealing problems in the PPS instrumentation...
* Generic replotting code.Eric S. Raymond2013-11-021-1/+1
|
* gpsprof can collect timeplot data, but not yet plot it.Eric S. Raymond2013-11-011-3/+30
| | | | Not yet documented, either.
* Correct an error message.Eric S. Raymond2013-10-231-1/+1
|
* Version bump, pychecker fixes and installation-procedure tweaks.Eric S. Raymond2011-10-251-1/+1
|
* In gpsprof, added [server[:port[:device]]] options.Michael Tatarinov2011-10-121-13/+31
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Add -r option to gpsplot.Eric S. Raymond2011-10-101-14/+33
|
* Implement SIGUSR1 behavior in gpspprof, and change the way samples are counted.Eric S. Raymond2011-10-081-3/+8
|
* Clean up some variable names.Eric S. Raymond2011-10-071-4/+4
|
* Small improvement in profile logging.Eric S. Raymond2011-10-061-2/+3
|
* New -f option of gpspsprof to save JSON input.Eric S. Raymond2011-10-061-5/+15
|
* Attempted fix for space plot in gpsprof.Eric S. Raymond2011-10-061-1/+7
|
* In gpsprof, repair instrumented profile plot after the sat column was added.Michael Tatarinov2011-10-051-1/+1
| | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Emit a count of used satellites in the extra timing attributes.Eric S. Raymond2011-10-051-3/+4
| | | | | We'll use this to check Gary's Miller's suspicion that time to compute a fix varies significantly with the number of sats in the skyview.
* GPSes give us at most 1ms of time precision. Don't plot as if we have more.Eric S. Raymond2011-10-041-2/+2
|
* Fix an error in the whole-cycle visualizations.Eric S. Raymond2011-09-301-1/+1
|
* Avoid failure on very long gpsprof runs.Eric S. Raymond2011-09-291-2/+2
|
* Fix bug in data() method for spaceplotting.Eric S. Raymond2011-09-291-9/+8
|
* Add whole-cycle profiling to show vendor binary orotocols don't cut latency.Eric S. Raymond2011-09-241-4/+4
|
* Change the semantics of gpsprof -d so we can both dump and plot in one run.Eric S. Raymond2011-09-241-14/+18
|
* Refactor gpsprof to put most plotting machinery in a common base class.Eric S. Raymond2011-09-241-149/+142
|
* Improved captioning in the plots.Eric S. Raymond2011-09-231-22/+28
|
* Restore gpsprof's -T option.Eric S. Raymond2011-09-231-4/+9
|
* If the profiling code isn't compiled in, timing policy bit must be forced off.Eric S. Raymond2011-09-231-1/+1
|
* Dump (-d) option for gpsprof, and updated documentation.Eric S. Raymond2011-09-221-27/+35
|
* Add a useful header.Eric S. Raymond2011-09-221-3/+4
|
* Plot bars in a more useful order.Eric S. Raymond2011-09-221-6/+7
|
* Profiling can isolate RS232 transmission time.Eric S. Raymond2011-09-221-2/+4
|
* Refactor so the data method has access to device parameters.Eric S. Raymond2011-09-221-7/+7
|
* Prfile numbers now include a per-cycle chracter count.Eric S. Raymond2011-09-221-3/+4
|
* Describe the latency components.Eric S. Raymond2011-09-211-8/+15
|
* Refactor the raw plot to make adding new numbers easier.Eric S. Raymond2011-09-211-6/+6
|
* Add decode time to the profiling.Eric S. Raymond2011-09-211-5/+7
|
* Polis h the profiling code.Eric S. Raymond2011-09-211-2/+2
|
* Restore raw plot capability.Eric S. Raymond2011-09-211-2/+41
|