summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-04-09 12:47:21 +0200
committerAlejandro Colomar <colomar.6.4.3@gmail.com>2020-04-09 12:47:21 +0200
commit368455bcab5cf3d2472bd4ec7be51d82b7d55d90 (patch)
treef1ed3a99982d61144a3be314d0922cc41612ddb7
parent32eb54f1c97ffca12f8e22a03c15d352997ee061 (diff)
Remove timing (the vps doesnt allow it)
-rw-r--r--src/main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main.c b/src/main.c
index 222ada4..fe70ffa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;