- Timestamp:
- Aug 16, 2022, 4:12:49 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- cd3fc46
- Parents:
- 71cf630
- Location:
- benchmark/readyQ
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/locality.cfa
r71cf630 raec2c022 273 273 } 274 274 275 setlocale( LC_NUMERIC, getenv( "LANG" ) ); 275 276 printf("Duration (ms) : %'lf\n", (end - start)`dms); 276 277 printf("Number of processors : %'d\n", nprocs); … … 278 279 printf("Total Operations(ops) : %'15llu\n", global_count); 279 280 printf("Work size (64bit words): %'15u\n", wsize); 281 printf("Data sharing : %s\n", share ? "On" : "Off"); 280 282 printf("Total Operations(ops) : %'15llu\n", global_count); 281 283 printf("Total G Migrations : %'15llu\n", global_gmigs); -
benchmark/readyQ/locality.cpp
r71cf630 raec2c022 283 283 printf("Number of spots : %'d\n", nspots); 284 284 printf("Work size (64bit words): %'15u\n", wsize); 285 printf("Data sharing : %s\n", share ? "On" : "Off"); 285 286 printf("Total Operations(ops) : %'15llu\n", global_count); 286 287 printf("Total G Migrations : %'15llu\n", global_gmigs); -
benchmark/readyQ/locality.go
r71cf630 raec2c022 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 (ms) : % f\n", delta.Milliseconds());288 p.Printf("Duration (ms) : %d\n", delta.Milliseconds()); 289 289 p.Printf("Number of processors : %d\n", nprocs); 290 290 p.Printf("Number of threads : %d\n", nthreads); 291 291 p.Printf("Work size (64bit words): %d\n", size); 292 if share { 293 p.Printf("Data sharing : On\n"); 294 } else { 295 p.Printf("Data sharing : Off\n"); 296 } 292 297 p.Printf("Total Operations(ops) : %15d\n", results.count) 293 298 p.Printf("Total G Migrations : %15d\n", results.gmigs) -
benchmark/readyQ/locality.rs
r71cf630 raec2c022 346 346 println!("Number of threads : {}", (nthreads).to_formatted_string(&Locale::en)); 347 347 println!("Work size (64bit words): {}", (wsize).to_formatted_string(&Locale::en)); 348 println!("Data sharing : {}", if share { "On" } else { "Off" }); 348 349 println!("Total Operations(ops) : {:>15}", (results.count).to_formatted_string(&Locale::en)); 349 350 println!("Total G Migrations : {:>15}", (results.gmigs).to_formatted_string(&Locale::en)); -
benchmark/readyQ/rq_bench.hfa
r71cf630 raec2c022 1 1 #include <clock.hfa> 2 2 #include <kernel.hfa> 3 #include <locale.h> 3 4 #include <parseargs.hfa> 4 5 #include <stdio.h> -
benchmark/readyQ/transfer.cfa
r71cf630 raec2c022 179 179 sout | "Threads parking on wait : " | (exhaust ? "yes" : "no"); 180 180 sout | "Rechecking : " | rechecks; 181 sout | " ns per transfer : " | (end - start)`dms / lead_idx;181 sout | "us per transfer : " | (end - start)`dus / lead_idx; 182 182 183 183 -
benchmark/readyQ/transfer.go
r71cf630 raec2c022 244 244 p.Printf("Threads parking on wait : %s\n", ws) 245 245 p.Printf("Rechecking : %d\n", rechecks ) 246 p.Printf(" ns per transfer : %f\n", float64(delta.Nanoseconds()) / float64(leader.idx) )247 } 246 p.Printf("ms per transfer : %f\n", float64(delta.Milliseconds()) / float64(leader.idx) ) 247 }
Note: See TracChangeset
for help on using the changeset viewer.