Sha256: bedd98e3cb423b7bba7b690f25fe7e246e1d752071cd343a2e4f6b00f0ec649a
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
// Flush the CPU cache (for measurement purposes only) const int bones_flush_size = 4*1024*1024; // (16MB) int bones_flush_i; int bones_flush_j; char *bones_flush_c = (char *)malloc(bones_flush_size); for (bones_flush_i=0; bones_flush_i<10; bones_flush_i++) { for (bones_flush_j=0; bones_flush_j<bones_flush_size; bones_flush_j++) { bones_flush_c[bones_flush_j] = bones_flush_i*bones_flush_j; } } free(bones_flush_c);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bones-compiler-1.1.0 | skeletons/CPU-OPENMP/common/timer_1_start.c |