From c1540ffa28c8215269c19440aa7245b666659d2b Mon Sep 17 00:00:00 2001 From: Vitor Fernandes Date: Tue, 7 Jul 2020 16:35:57 +0100 Subject: [PATCH] Clean files --- time.cpp | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 time.cpp diff --git a/time.cpp b/time.cpp deleted file mode 100644 index a801003..0000000 --- a/time.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include -#include -#include - -#include -#include - -void errExit(const char *msg){ - printf("ERROR: %s",msg); - exit(1); -} - -static void displayProcessTimes(const char *msg){ - struct tms t; - clock_t clockTime; - static long clockTicks = 0; - - if(msg != NULL) - printf("%s",msg); - - if(clockTicks==0){ - clockTicks=sysconf(_SC_CLK_TCK); - - if(clockTicks==-1) errExit("sysconf"); - } - - clockTime=clock(); - if(clockTime==-1) errExit("clockTime"); - - printf("clock() returns %ld clocks-per-sec (%.2f secs)\n",(long) clockTime,(double) clockTime); -}; - -int main(int argc,char* argv[], char* env[]){ - printf("Kie kie\n"); - -} \ No newline at end of file