diff options
author | Alejandro Colomar <colomar.6.4.3@gmail.com> | 2020-04-09 12:47:21 +0200 |
---|---|---|
committer | Alejandro Colomar <colomar.6.4.3@gmail.com> | 2020-04-09 12:47:21 +0200 |
commit | 368455bcab5cf3d2472bd4ec7be51d82b7d55d90 (patch) | |
tree | f1ed3a99982d61144a3be314d0922cc41612ddb7 | |
parent | 32eb54f1c97ffca12f8e22a03c15d352997ee061 (diff) |
Remove timing (the vps doesnt allow it)
-rw-r--r-- | src/main.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -9,7 +9,6 @@ ******************************************************************************/ #include <stddef.h> #include <stdio.h> -#include <time.h> #define ALX_NO_PREFIX #include <libalx/base/compiler.h> @@ -52,16 +51,12 @@ int main (void) { char fname[FILENAME_MAX]; img_s *img; - clock_t time_0; - clock_t time_1; - double time_tot; uint32_t code; int status; status = 1; if (init(fname, &img)) return 1; - time_0 = clock(); status++; if (load_templates()) @@ -98,10 +93,6 @@ int main (void) printf("0b%'.16b\n", code); } - time_1 = clock(); - time_tot = ((double) time_1 - time_0) / CLOCKS_PER_SEC; - dbg_printf(1, "Total time: %5.3lf s;\n", time_tot); - alx_cv_imwrite(img, "/tmp/wash.png"); status = 0; |