time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

makefile (318B)


      1 build: 
      2 	gcc xorshift-pointer.c -o out/xorshift-pointer
      3 	gcc xorshift-struct.c -o out/xorshift-struct
      4 
      5 run-pointer:
      6 	./out/xorshift-pointer
      7 
      8 run-struct:
      9 	./out/xorshift-struct
     10 
     11 time-pointer:
     12 	/bin/time -f "Time: %es" ./out/xorshift-pointer && echo
     13 
     14 time-struct:
     15 	/bin/time -f "Time: %es" ./out/xorshift-struct && echo