summaryrefslogtreecommitdiffstats
path: root/usr.bin/ministat/ministat.c
Commit message (Collapse)AuthorAgeFilesLines
* Compute the median of the data set as the midpoint between the two middlearaujo2015-11-241-2/+4
| | | | | | | | | values when the data set has an even number of elements. PR: 201582 Submitted by: Marcus Reid <marcus@blazingdot.com> Reviewed by: imp Approved by: bapt (mentor)
* fix error message... errx since errno may not be set (if we didn'tjmg2015-07-151-1/+1
| | | | | | | parse the full field), and err and errx add their own newline at the end... Sponsored by: Netflix, Inc.
* ministat(1): replace malloc + memset with calloc.pfg2015-02-171-4/+2
| | | | Reviewed by: phk
* Make ministat CRNL tolerant by stripping all isspace() from the tailphk2014-03-121-2/+3
| | | | end of input lines.
* Add option to suppress just the plot in ministat while still retainingeadler2012-11-151-3/+8
| | | | | | | the relative comparison (i.e., useful part). Approved by: cperciva MFC after: 3 days
* Add missing static keywords to ministat(1)ed2011-11-061-2/+2
|
* Fix some warns - mainly signedness and unused variables.dwmalone2009-03-171-5/+3
|
* Free old arrays if we increase them.phk2008-10-161-0/+1
| | | | Pointed out by: mlaier
* Make ministat(1) vastly faster on huge datasets.phk2008-10-161-49/+34
|
* WARNS fixes: remove two unused variables and add some constness.dwmalone2008-02-081-4/+3
|
* Improve input parsing:phk2006-08-281-14/+36
| | | | | | | | Add "-C <column>" and "-d <delims>" options to chop up input lines. Make '#' a comment character, rest of line is ignored. Submitted by: Dmitry Morozovsky <marck@rinet.ru>
* Avoid coredumps if stddev cannot be computed (if all datapoints are identical)phk2006-05-021-12/+16
| | | | Small cleanup of label printing.
* Fix the way in which median is calculated. If the data source has evenwkoszek2006-02-231-7/+18
| | | | | | | number of data points, value should be calculated by adding two middle elements and dividing them by 2. Approved by: cognet (mentor)
* Add option -w to specify graph width.mdodd2006-02-221-3/+24
| | | | | | Use COLUMNS, terminal width for default graph width. Reviewed by: rwatson
* In 2003, a -s flag was added to ministat to separate thephk2005-07-211-5/+7
| | | | | | | | | | avg/median/stddev bars onto separate lines for readability if the ranges overlapped. In 2005, ministat was extended to support more than 2 datasets, but the -s code was not updated. It will coredump if run with -s and >2 sets. PR: 82909 Submitted by: Dan Nelson <dnelson@allantgroup.com>
* dd a '-n' option to ministat, which causes it to display only summaryrwatson2005-05-271-9/+17
| | | | | statistics, not graph and statistical test output. Useful for automated processing.
* Add support for more than two datasets. Currently limited to 7 thoughmdodd2005-04-131-29/+29
| | | | | | | | | the limit is only the number of meaningful graph symbols available. Statistical comparison is performed between the first dataset and any further datasets. No objection by: phk
* Attached is a small patch to ministat that separates thephk2003-10-311-19/+47
| | | | | | | avg/median/stddev bars onto two lines. Useful for datasets that overlap. Submitted by: Dan Nelson <dnelson@allantgroup.com>
* In case of zero span data supress the histogram plot.phk2003-08-181-0/+6
|
* A small statistics tool for gauging the statistical significancephk2003-08-131-0/+544
of data from benchmarks etc. Implements "Student's t" for various confidence levels, defaults to 95%. If your benchmarks are not significant at the 95% confidence level, we don't want to hear about it.
OpenPOWER on IntegriCloud