Sha256: 6e8abdd9e7d8839c82be95e1f316db2cc3562d171fdba799ab8de66244c657e6

Contents?: true

Size: 370 Bytes

Versions: 3

Compression:

Stored size: 370 Bytes

Contents

  
  // Stop the timer for the measurement of the original code's execution time
  struct timeval bones_end_time;
  gettimeofday(&bones_end_time, NULL);
  float bones_timer = 0.001 * (1000000*(bones_end_time.tv_sec-bones_start_time.tv_sec)+bones_end_time.tv_usec-bones_start_time.tv_usec);
  printf(">>>\t\t\t Execution time [original     ]: %.3lf ms.\n", bones_timer);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bones-compiler-1.6.0 skeletons/verification/timer_stop.c
bones-compiler-1.3.1 skeletons/verification/timer_stop.c
bones-compiler-1.1.0 skeletons/verification/timer_stop.c