Commit graph

8 commits

Author SHA1 Message Date
Claudio Felber
2fd06df8de Add support for flipped QR-codes in inspect and qrtest tools 2020-09-22 12:18:23 +02:00
Dmitrij D. Czarkoff
3266bbaf39 Consistant typing for test timing variables 2016-08-15 10:24:01 +02:00
Dmitrij D. Czarkoff
1de1a466b8 Store time in milliseconds 2016-08-15 00:28:24 +02:00
Dmitrij D. Czarkoff
c13db788bb Use clock_gettime() instead of clock()
clock() provides approximation of processor time used, measured in "clocks".
Amount of clock per second varies between 100 (Minix, NetBSD, OpenBSD), 128
(DragonFly BSD, FreeBSD, older versions of MacOS X), 1000 (Windows) and 1000000
(Linux, newer versions of MacOS X, Solaris).  The range of these numbers make
conversion to milliseconds (the unit of display in `qrtest`) problematic.
clock_gettime() with its nanosecond time base appears to be a better and more
portable alternative to clock().
2016-08-13 23:14:55 +02:00
Alexandre Perrin
549f5b2c4d png support for inspect and qrtest. 2016-07-12 09:34:11 +02:00
Daniel Beer
bc253ec3ea qrtest: fix filename extension check. 2013-05-29 10:23:23 +12:00
Daniel Beer
b7a6827b54 Fixed possible division by zero in qrtest. 2012-11-13 10:43:36 +13:00
Daniel Beer
a3142bc6b4 Initial commit: version 1.0. 2012-05-04 12:58:42 +12:00