/barrelfish-2018-10-04/usr/tests/xomptest/ |
H A D | bomp_main.c | 21 static inline cycles_t calculate_time(cycles_t tsc_start, argument 25 if (tsc_end < tsc_start) { 26 result = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 28 result = (tsc_end - tsc_start - bench_tscoverhead()); 54 cycles_t tsc_start, tsc_end; local 70 tsc_start = bench_tsc(); 73 result = calculate_time(tsc_start, tsc_end); 86 tsc_start = bench_tsc(); 89 result = calculate_time(tsc_start, tsc_end);
|
H A D | processing.c | 62 static inline cycles_t calculate_time(cycles_t tsc_start, argument 66 if (tsc_end < tsc_start) { 67 result = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 69 result = (tsc_end - tsc_start - bench_tscoverhead()); 103 cycles_t tsc_start, tsc_end; local 123 tsc_start = bench_tsc(); 130 result = calculate_time(tsc_start, tsc_end); 151 tsc_start = bench_tsc(); 154 result = calculate_time(tsc_start, tsc_end);
|
/barrelfish-2018-10-04/usr/bench/xomp_bench/ |
H A D | share_bench.c | 57 cycles_t tsc_start, tsc_end, elapsed; local 71 tsc_start = bench_tsc(); 78 elapsed = bench_time_diff(tsc_start, tsc_end); 91 cycles_t tsc_start = bench_tsc(); local 94 timer_xompinit = bench_time_diff(tsc_start, tsc_end); 157 cycles_t tsc_start = bench_tsc(); local 163 timer_xompinit = bench_time_diff(tsc_start, tsc_end); 235 cycles_t tsc_start, tsc_end; local 248 tsc_start = bench_tsc(); 252 t_share = bench_time_diff(tsc_start, tsc_en [all...] |
H A D | work_bench.c | 57 cycles_t tsc_start = bench_tsc(); local 60 timer_xompinit = bench_time_diff(tsc_start, tsc_end); 122 cycles_t tsc_start = bench_tsc(); local 128 timer_xompinit = bench_time_diff(tsc_start, tsc_end); 139 cycles_t tsc_start, tsc_end; local 227 tsc_start = bench_tsc(); 230 timer_omp = bench_time_diff(tsc_start, tsc_end);
|
H A D | spawn_bench.c | 47 cycles_t tsc_start = bench_tsc(); local 50 timer_xompinit = bench_time_diff(tsc_start, tsc_end); 112 cycles_t tsc_start = bench_tsc(); local 118 timer_xompinit = bench_time_diff(tsc_start, tsc_end);
|
/barrelfish-2018-10-04/usr/tests/xeon_phi_test/ |
H A D | benchmark.c | 85 cycles_t tsc_start, tsc_end; local 106 tsc_start = bench_tsc(); 109 if (tsc_end < tsc_start) { 110 result[0] = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 112 result[0] = (tsc_end - tsc_start - bench_tscoverhead()); 117 tsc_start = bench_tsc(); 122 if (tsc_end < tsc_start) { 123 result[1] = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 125 result[1] = (tsc_end - tsc_start - bench_tscoverhead()); 131 tsc_start 167 calculate_time(cycles_t tsc_start, cycles_t tsc_end) argument 183 cycles_t tsc_start, tsc_end; local 229 cycles_t tsc_start, tsc_end; local 280 cycles_t tsc_start, tsc_end; local 460 cycles_t tsc_start, tsc_end; local 521 cycles_t tsc_start, tsc_end; local 644 cycles_t tsc_start; local [all...] |
/barrelfish-2018-10-04/usr/bench/xeon_phi_ump/ |
H A D | benchmark.c | 26 static inline cycles_t calculate_time(cycles_t tsc_start, argument 30 if (tsc_end < tsc_start) { 31 result = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 33 result = (tsc_end - tsc_start - bench_tscoverhead()); 80 cycles_t tsc_start, tsc_end; local 112 tsc_start = bench_tsc(); 119 result = calculate_time(tsc_start, tsc_end); 139 cycles_t tsc_start, tsc_end; 176 tsc_start = bench_tsc(); 223 result = calculate_time(tsc_start, tsc_en [all...] |
/barrelfish-2018-10-04/usr/bench/vspace/ |
H A D | vspace_map_bench.c | 42 cycles_t tsc_start, tsc_end, elapsed; local 54 tsc_start = bench_tsc(); 58 elapsed = bench_time_diff(tsc_start, tsc_end);
|
/barrelfish-2018-10-04/lib/dma/ |
H A D | dma_bench.c | 42 static inline cycles_t calculate_time(cycles_t tsc_start, argument 46 if (tsc_end < tsc_start) { 47 result = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 49 result = (tsc_end - tsc_start - bench_tscoverhead()); 197 cycles_t tsc_start, tsc_end; local 218 tsc_start = bench_tsc(); 241 result = calculate_time(tsc_start, tsc_end); 248 result = calculate_time(tsc_start, tsc_end); 267 cycles_t tsc_start, tsc_end; local 288 tsc_start [all...] |
/barrelfish-2018-10-04/lib/bench/ |
H A D | bench.c | 76 * \param tsc_start timestamp of start 81 cycles_t bench_time_diff(cycles_t tsc_start, cycles_t tsc_end) argument 88 if (tsc_end < tsc_start) { 89 result = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 91 result = (tsc_end - tsc_start - bench_tscoverhead());
|
/barrelfish-2018-10-04/usr/block_server/ |
H A D | net_benchmark.c | 248 cycles_t tsc_start; local 266 tsc_start = rdtsc(); 289 results[0] = rdtsc() - tsc_start; 293 results[1] = rdtsc() - tsc_start; 313 tsc_start = rdtsc(); 331 results[0] = rdtsc() - tsc_start; 336 results[1] = rdtsc() - tsc_start;
|
/barrelfish-2018-10-04/usr/tests/proc_mgmt_test/ |
H A D | main.c | 64 static inline cycles_t calculate_time(cycles_t tsc_start, cycles_t tsc_end) argument 67 if (tsc_end < tsc_start) { 68 result = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 70 result = (tsc_end - tsc_start - bench_tscoverhead()); 132 cycles_t tsc_start, tsc_end; local 151 tsc_start = bench_tsc(); 156 result = calculate_time(tsc_start, tsc_end);
|
/barrelfish-2018-10-04/usr/bench/bomp_mm/ |
H A D | mm.c | 312 cycles_t tsc_start = bench_tsc(); local 315 timer_xompinit = bench_time_diff(tsc_start, tsc_end); 375 cycles_t tsc_start = bench_tsc(); local 381 timer_xompinit = bench_time_diff(tsc_start, tsc_end); 383 tsc_start = bench_tsc(); 386 timer_share = bench_time_diff(tsc_start, tsc_end); 397 cycles_t tsc_start, tsc_end; local 438 tsc_start = bench_tsc(); 441 cycles_t timer_alloc = bench_time_diff(tsc_start, tsc_end); 446 tsc_start [all...] |
/barrelfish-2018-10-04/usr/bench/mem_latency/ |
H A D | memlatency.c | 120 static inline cycles_t calculate_time(cycles_t tsc_start, argument 124 if (tsc_end < tsc_start) { 125 result = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 127 result = (tsc_end - tsc_start - bench_tscoverhead()); 130 if (result < (tsc_end - tsc_start)) { 135 tsc_end - tsc_start, bench_tscoverhead()); 235 cycles_t tsc_start = bench_tsc(); local 255 return calculate_time(tsc_start, tsc_end) / (LOOP_ITERATIONS * LOOP_UNROLLING);
|
/barrelfish-2018-10-04/usr/bench/bulk_transfer/ |
H A D | micro_throughput.c | 97 cycles_t tsc_start; local 167 tsc_start = rdtsc(); 178 results[0] = rdtsc() - tsc_start; 184 results[1] = rdtsc() - tsc_start;
|
H A D | micro_rtt.c | 101 cycles_t tsc_start, result; local 155 tsc_start = rdtsc(); 164 result = rdtsc() - tsc_start;
|
/barrelfish-2018-10-04/include/bench/ |
H A D | bench.h | 35 cycles_t bench_time_diff(cycles_t tsc_start, cycles_t tsc_end);
|
/barrelfish-2018-10-04/lib/net/ |
H A D | netif.c | 270 cycles_t tsc_start = rdtsc(); local 278 bench_devq_enq_rx += rdtsc() - tsc_start; 354 cycles_t tsc_start = rdtsc(); local 361 bench_devq_enq_tx += rdtsc() - tsc_start; 412 cycles_t tsc_start = rdtsc(); local 423 bench_devq_deq_tx += end - tsc_start; 433 bench_devq_deq_rx += end - tsc_start;
|
/barrelfish-2018-10-04/usr/drivers/xeon_phi/ |
H A D | sysmem_caps.c | 129 * \param tsc_start start time stamp 134 static inline cycles_t sysmem_bench_calculate_time(cycles_t tsc_start, argument 138 if (tsc_end < tsc_start) { 139 result = (LONG_MAX - tsc_start) + tsc_end - bench_tscoverhead(); 141 result = (tsc_end - tsc_start - bench_tscoverhead()); 247 cycles_t tsc_start = bench_tsc(); local 267 return sysmem_bench_calculate_time(tsc_start, tsc_end) / (LOOP_ITERATIONS * LOOP_UNROLLING);
|
/barrelfish-2018-10-04/kernel/arch/x86/ |
H A D | timing.c | 43 uint64_t tsc_start, tsc_end; local 50 tsc_start = rdtsc(); 74 *systime_freq = tsc_end - tsc_start;
|