Changeset 65 for sources/src/sc_port.cc


Ignore:
Timestamp:
Oct 23, 2019, 12:53:07 PM (5 years ago)
Author:
bouyer
Message:

Various performance improvements for the parallel systemcass: cache-aligned
data structures, write only when needed, disable some unneeded barriers.

Fix bug in the non-openmp case: a pointer was not initialized

various style updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_port.cc

    r63 r65  
    5050#endif
    5151
     52
    5253extern "C" {
    5354    extern char unstable;
     
    228229            << " internal pending writings) ";
    229230#endif
    230         unsigned int i;
    231         for (i = 0; i < *pending_write_vector_nb; ++i) {
     231        unsigned int i;
     232        for (i = 0; i < *pending_write_vector_nb; ++i) {
     233#if 0
     234                cerr << "pending_write[" << i << "] : " << pending_write_vector[i];
     235#endif
    232236#define iter (sc_core::pending_write_vector[i])
    233237#ifdef CONFIG_DEBUG
Note: See TracChangeset for help on using the changeset viewer.