Changeset fcd65ca


Ignore:
Timestamp:
Sep 23, 2021, 1:19:02 PM (2 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
master
Children:
24e321c
Parents:
089d30c
Message:

Fixed incorrect access into lanes.help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/ready_queue.cfa

    r089d30c rfcd65ca  
    382382                                unsigned target = proc->rdq.target;
    383383                                proc->rdq.target = -1u;
    384                                 lanes.help[target].tri++;
     384                                lanes.help[target / READYQ_SHARD_FACTOR].tri++;
    385385                                if(moving_average(ctsc - lanes.tscs[target].tv, lanes.tscs[target].ma) > cutoff) {
    386386                                        thread$ * t = try_pop(cltr, target __STATS(, __tls_stats()->ready.pop.help));
Note: See TracChangeset for help on using the changeset viewer.