Changeset 6dc2db9 for benchmark/readyQ
- Timestamp:
- Sep 15, 2021, 4:31:56 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- fa6233a
- Parents:
- b8454c6
- Location:
- benchmark/readyQ
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/locality.go
rb8454c6 r6dc2db9 286 286 // Print with nice 's, i.e. 1'000'000 instead of 1000000 287 287 p := message.NewPrinter(language.English) 288 p.Printf("Duration ( s) : %f\n", delta.Seconds());288 p.Printf("Duration (ms) : %f\n", delta.Milliseconds()); 289 289 p.Printf("Number of processors : %d\n", nprocs); 290 290 p.Printf("Number of threads : %d\n", nthreads); -
benchmark/readyQ/transfer.cfa
rb8454c6 r6dc2db9 167 167 } 168 168 169 sout | "Duration : " | ws(3, 3, unit(eng((end - start)`ds))) | 's';169 sout | "Duration (ms) : " | ws(3, 3, unit(eng((end - start)`dms))); 170 170 sout | "Number of processors : " | nprocs; 171 171 sout | "Number of threads : " | nthreads; -
benchmark/readyQ/transfer.cpp
rb8454c6 r6dc2db9 173 173 } 174 174 175 std::cout << "Duration : " << to_miliseconds(end - start) << "ms"<< std::endl;175 std::cout << "Duration (ms) : " << to_miliseconds(end - start) << std::endl; 176 176 std::cout << "Number of processors : " << nprocs << std::endl; 177 177 std::cout << "Number of threads : " << nthreads << std::endl; -
benchmark/readyQ/transfer.go
rb8454c6 r6dc2db9 215 215 ws = "no" 216 216 } 217 p.Printf("Duration ( s) : %f\n", delta.Seconds() )217 p.Printf("Duration (ms) : %f\n", delta.Milliseconds() ) 218 218 p.Printf("Number of processors : %d\n", nprocs ) 219 219 p.Printf("Number of threads : %d\n", nthreads ) -
benchmark/readyQ/yield.cfa
rb8454c6 r6dc2db9 80 80 } 81 81 82 printf("Duration (ms) : %'ld\n", (end - start)` ms);82 printf("Duration (ms) : %'ld\n", (end - start)`dms); 83 83 printf("Number of processors: %'d\n", nprocs); 84 84 printf("Number of threads : %'d\n", nthreads); -
benchmark/readyQ/yield.cpp
rb8454c6 r6dc2db9 154 154 155 155 auto dur_nano = duration_cast<std::nano>(duration); 156 auto dur_dms = duration_cast<std::milli>(duration); 156 157 157 std::cout << "Took " << duration << " s\n";158 printf("Duration (ms) : %'.2lf\n", dur_dms ); 158 159 printf("Total yields : %'15llu\n", global_counter ); 159 160 printf("Yields per procs : %'15llu\n", global_counter / nprocs );
Note: See TracChangeset
for help on using the changeset viewer.