Ignore:
Timestamp:
Jul 11, 2014, 6:07:47 PM (10 years ago)
Author:
meunier
Message:
  • Updating tsar_generic_xbar topcell so that the -NCYCLES option be considered even when debug is deactivated
  • Updating the simulation scripts to reflect benchmarks evolutions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_xbar/top.cpp

    r706 r749  
    10341034   else {
    10351035      int64_t n = 0;
    1036       while (!stop_called) {
     1036      while (!stop_called && n != ncycles) {
    10371037         if (gettimeofday(&t1, NULL) != 0) {
    10381038            perror("gettimeofday");
    10391039            return EXIT_FAILURE;
    10401040         }
    1041          int64_t nb_cycles = max_cycles;
     1041         int64_t nb_cycles = min(max_cycles, ncycles - n);
    10421042         if (do_reset_counters) {
    10431043            nb_cycles = min(nb_cycles, reset_counters - n);
Note: See TracChangeset for help on using the changeset viewer.