Ignore:
Timestamp:
Nov 18, 2020, 4:34:08 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
7c9ac4a
Parents:
3ea8ad1
Message:

Some fixes to cycle benchmark and added a pthread version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/cycle.go

    r3ea8ad1 r69d1748  
    6363        global_counter := uint64(0)
    6464        for i := 0; i < tthreads; i++ {
     65                select {
     66                case channels[i] <- 0:
     67                default:
     68                }
    6569                global_counter += <- result
    6670        }
Note: See TracChangeset for help on using the changeset viewer.