Sha256: c9ca7b39daf8aae246e6272e54b21c2a75772ada215718fbfa552399f685e8bf

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

Stored size: 404 Bytes

Contents

    
    // Stop the timer for the measurement of the kernel execution time
    gettimeofday(&bones_end_time2, NULL);
    bones_timer2 += 0.001 * (1000000*(bones_end_time2.tv_sec-bones_start_time2.tv_sec)+bones_end_time2.tv_usec-bones_start_time2.tv_usec);
  }
  
  // Print the measurement data
  printf(">>>\t\t Execution time [kernel <algorithm_basename>]: %.3lf ms \n", bones_timer2/((float)ITERS));

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
bones-compiler-1.6.0 skeletons/CPU-OPENMP/common/timer_2_stop.c
bones-compiler-1.6.0 skeletons/CPU-C/common/timer_2_stop.c
bones-compiler-1.3.1 skeletons/CPU-OPENMP/common/timer_2_stop.c
bones-compiler-1.3.1 skeletons/CPU-C/common/timer_2_stop.c