WTFStopW : a simple stopwatch
Find a file
Yann Weber 4432178af9 Bugfix for newline exit
When stdin is close instead of pressing enter
2018-09-10 02:40:38 +02:00
Makefile Updated comments, Makefile and REAMDE.txt 2018-09-08 13:59:47 +02:00
README.txt Updated comments, Makefile and REAMDE.txt 2018-09-08 13:59:47 +02:00
wtfstopw.asm Bugfix for newline exit 2018-09-10 02:40:38 +02:00

WTFStopW : a simple stopwatch
=============================

Build :
-------
	make
or
	nasm -felf64 wtfstopw.asm
	ld -s -melf_x86_64 wtfstopw.o -o wtfstopw

Usage :
-------
	./wtfstopw [-h] [-r NDIGITS]
Options :
---------
	-h print an help message and exit
	-r number of digits bellow seconds to display, default is 2

Interactions :
--------------
	press enter to exit or close stdin
	send SIGINT (with kill -2 or ctrl + c) for new lap on stdout
	elapsed time is sent on stderr and laps infos on stdout


Build with debugging symbols :
------------------------------
	nasm -g -F dwarf -felf64 -l wtfstopw.lst wtfstopw.asm
	ld -melf_x86_64 wtfstopw.o -o wtfstopw