Changes in / [7edd5c1:00675a12]
- Location:
- benchmark/readyQ
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/churn.cpp
r7edd5c1 r00675a12 54 54 Fibre * threads[nthreads]; 55 55 for(unsigned i = 0; i < nthreads; i++) { 56 threads[i] = new Fibre( reinterpret_cast<void (*)(void *)>(churner_main), &thddata[i] ); 56 threads[i] = new Fibre(); 57 threads[i]->run(churner_main, &thddata[i]); 57 58 } 58 59 printf("Starting\n"); -
benchmark/readyQ/cycle.cpp
r7edd5c1 r00675a12 46 46 } 47 47 for(unsigned i = 0; i < tthreads; i++) { 48 threads[i] = new Fibre( reinterpret_cast<void (*)(void *)>(partner_main), &thddata[i] ); 48 threads[i] = new Fibre(); 49 threads[i]->run( partner_main, &thddata[i] ); 49 50 } 50 51 printf("Starting\n"); -
benchmark/readyQ/yield.cpp
r7edd5c1 r00675a12 10 10 unsigned long long count = 0; 11 11 for(;;) { 12 Fibre:: forceYield();12 Fibre::yield(); 13 13 count++; 14 14 if( clock_mode && stop) break; … … 35 35 Fibre * threads[nthreads]; 36 36 for(unsigned i = 0; i < nthreads; i++) { 37 threads[i] = new Fibre( reinterpret_cast<void (*)(void *)>(fibre_main), nullptr ); 37 threads[i] = new Fibre(); 38 threads[i]->run(fibre_main); 38 39 } 39 40 printf("Starting\n");
Note:
See TracChangeset
for help on using the changeset viewer.