- Timestamp:
- Nov 10, 2020, 12:21:21 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0dd9a5e
- Parents:
- 16ba4a6f (diff), 75baaa3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- benchmark
- Files:
-
- 5 edited
-
readyQ/cycle.cfa (modified) (2 diffs)
-
readyQ/cycle.go (modified) (1 diff)
-
readyQ/rq_bench.hfa (modified) (1 diff)
-
readyQ/rq_bench.hpp (modified) (1 diff)
-
rmit.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/cycle.cfa
r16ba4a6f r18f0b70 84 84 } 85 85 86 printf("Duration (ms) : %'ld\n", (end - start)` ms);86 printf("Duration (ms) : %'ld\n", (end - start)`dms); 87 87 printf("Number of processors : %'d\n", nprocs); 88 88 printf("Number of threads : %'d\n", tthreads); … … 90 90 printf("Total Operations(ops): %'15llu\n", global_counter); 91 91 printf("Total blocks : %'15llu\n", global_blocks); 92 printf("Ops per second : %'18.2lf\n", ((double)global_counter) / (end - start)` s);93 printf("ns per ops : %'18.2lf\n", ( (double)(end - start)`ns)/ global_counter);92 printf("Ops per second : %'18.2lf\n", ((double)global_counter) / (end - start)`ds); 93 printf("ns per ops : %'18.2lf\n", (end - start)`dns / global_counter); 94 94 printf("Ops per threads : %'15llu\n", global_counter / tthreads); 95 95 printf("Ops per procs : %'15llu\n", global_counter / nprocs); 96 printf("Ops/sec/procs : %'18.2lf\n", (((double)global_counter) / nprocs) / (end - start)` s);97 printf("ns per ops/procs : %'18.2lf\n", ( (double)(end - start)`ns)/ (global_counter / nprocs));96 printf("Ops/sec/procs : %'18.2lf\n", (((double)global_counter) / nprocs) / (end - start)`ds); 97 printf("ns per ops/procs : %'18.2lf\n", (end - start)`dns / (global_counter / nprocs)); 98 98 fflush(stdout); 99 99 } -
benchmark/readyQ/cycle.go
r16ba4a6f r18f0b70 72 72 p.Printf("Cycle size (# thrds) : %d\n", ring_size); 73 73 p.Printf("Total Operations(ops): %15d\n", global_counter) 74 p.Printf(" Yields per second: %18.2f\n", float64(global_counter) / delta.Seconds())74 p.Printf("Ops per second : %18.2f\n", float64(global_counter) / delta.Seconds()) 75 75 p.Printf("ns per ops : %18.2f\n", float64(delta.Nanoseconds()) / float64(global_counter)) 76 76 p.Printf("Ops per threads : %15d\n", global_counter / uint64(tthreads)) -
benchmark/readyQ/rq_bench.hfa
r16ba4a6f r18f0b70 88 88 } 89 89 90 struct bench_sem {90 struct __attribute__((aligned(128))) bench_sem { 91 91 struct $thread * volatile ptr; 92 92 }; -
benchmark/readyQ/rq_bench.hpp
r16ba4a6f r18f0b70 75 75 } 76 76 77 class bench_sem {77 class __attribute__((aligned(128))) bench_sem { 78 78 Fibre * volatile ptr = nullptr; 79 79 public: -
benchmark/rmit.py
r16ba4a6f r18f0b70 173 173 # ================================================================================ 174 174 # Prepare to run 175 print(actions)176 175 177 176 # find expected time … … 226 225 d = [r[0], r[1]] 227 226 for k in headers[2:]: 228 d.append(r[2][k]) 227 try: 228 d.append(r[2][k]) 229 except: 230 d.append(0.0) 229 231 230 232 data.append(d)
Note:
See TracChangeset
for help on using the changeset viewer.