Changeset 749 for trunk/platforms/tsar_generic_xbar/top.cpp
- Timestamp:
- Jul 11, 2014, 6:07:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_xbar/top.cpp
r706 r749 1034 1034 else { 1035 1035 int64_t n = 0; 1036 while (!stop_called ) {1036 while (!stop_called && n != ncycles) { 1037 1037 if (gettimeofday(&t1, NULL) != 0) { 1038 1038 perror("gettimeofday"); 1039 1039 return EXIT_FAILURE; 1040 1040 } 1041 int64_t nb_cycles = m ax_cycles;1041 int64_t nb_cycles = min(max_cycles, ncycles - n); 1042 1042 if (do_reset_counters) { 1043 1043 nb_cycles = min(nb_cycles, reset_counters - n);
Note: See TracChangeset
for help on using the changeset viewer.