Commit graph

43 commits

Author SHA1 Message Date
4432178af9 Bugfix for newline exit
When stdin is close instead of pressing enter
2018-09-10 02:40:38 +02:00
5929efa54b Reducing nop in allignement 2018-09-10 02:30:44 +02:00
8b63d50095 Argument parsing code enhancement
Using call & ret (but that's maybe not necessary...)
Reducing instruction size
2018-09-10 02:20:23 +02:00
36abef3e4e More main_loop and _start code enhancement 2018-09-10 02:19:32 +02:00
a675c1fd79 main_loop and _start proc enhancement
main_loop alignement and size reduction under 32 bytes
Size reduction of _start code
2018-09-09 19:01:01 +02:00
8b427138e0 Allign proc_print_time loops 2018-09-09 17:30:53 +02:00
511afacfe9 Add write error checks 2018-09-09 16:56:05 +02:00
0da7000028 Bugfix in sleep time calculation 2018-09-09 16:54:51 +02:00
9009013637 Reducing proc_print_time size
Using smaller operations
2018-09-09 16:53:29 +02:00
a6f66401cb Moved TIMESPEC data out of BSS 2018-09-09 16:44:09 +02:00
891f720dbc Set hours string in a single memory access 2018-09-09 07:36:32 +02:00
cfa1a72edb Factorize timestr initialisation 2018-09-09 05:11:00 +02:00
52da8734d0 Bugfix in timestrlen 2018-09-09 04:42:01 +02:00
fca12d227a Avoid multiple memory access in print_proc_time
For nano sec, sec and min printing
2018-09-09 04:33:11 +02:00
3ec7ad3968 Enhancement in lap handler 2018-09-09 02:53:55 +02:00
862666d41e Enhancement in file header
Moved the macro before .data section
Add a .bss section
Reorganisation of .data section
2018-09-09 02:51:13 +02:00
18814e64ce Renamed labels 2018-09-08 19:29:44 +02:00
e5d5f69a35 Enhancement in proc_print_time
Better comments and op suppression
2018-09-08 18:25:36 +02:00
aaf7fcac2b Removed \r from lap messages 2018-09-08 18:14:39 +02:00
22bc403872 Enhancement in proc_print_time arguments 2018-09-08 17:59:05 +02:00
a12fa7fc53 proc_print_time enhancement 2018-09-08 17:17:28 +02:00
31a4276fa3 Factorisation + enhancement in proc_print_time
Writing a proc_nl function to print a newline on a given fd
Enhancement in argument passing to proc_print_time
2018-09-08 15:28:21 +02:00
9e8417b7fb Updated comments, Makefile and REAMDE.txt 2018-09-08 13:59:47 +02:00
254c71f687 Add spport for -rX options 2018-09-08 13:38:47 +02:00
faaf5d2791 Now the sleep time depends on the time_res value 2018-09-08 13:25:57 +02:00
055357bfb8 Add argument parsing 2018-09-08 13:08:38 +02:00
4f74b3540c Add a variable time_res 2018-09-08 13:06:52 +02:00
921b7586d6 Add a Readme.txt and a Makefile 2018-08-21 23:45:16 +02:00
58ea0f523d Restoring stdin fcntl flags before exit 2018-08-21 23:05:01 +02:00
3c459352c6 Small fix 2018-08-21 22:56:19 +02:00
96a5a823e2 Fixing typo in build instructions 2018-08-21 22:27:23 +02:00
2b53f54d4b Code clean Makefile enhancement + start message 2018-08-21 18:08:04 +02:00
5091c3a0d5 Add a lap counter 2018-08-21 17:51:38 +02:00
5fda46d4e9 SIGINT now trigger new lap on stdout 2018-08-21 16:06:50 +02:00
868ddc81f1 Add sigaction registering 2018-08-21 15:22:01 +02:00
540c840d87 Using struc for timespec + move data section 2018-08-21 10:04:35 +02:00
bd1319d18f Optimisation & commenting 2018-08-21 09:39:30 +02:00
b6d5aa2829 Indenting mainloop 2018-08-21 09:34:10 +02:00
7e7135f57c Delete debuging tests 2018-08-21 09:09:32 +02:00
987ad76cd9 Bugfix on fcntl O_NONBLOCK value 2018-08-21 09:08:35 +02:00
cd05d15207 Add exit on enter press 2018-08-21 08:50:44 +02:00
ebf594fabc Now displays hours, minutes, seconds and miliseconds 2018-08-21 08:36:19 +02:00
eafb19672c First commit for asm implementation 2018-08-21 07:48:37 +02:00