- Timestamp:
- Jun 2, 2020, 3:54:55 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 64e9fef
- Parents:
- 47a541d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/code/relaxed_list.cpp
r47a541d r16ee228 127 127 auto before = Clock::now(); 128 128 barrier.wait(0); 129 bool is_tty = isatty(STDOUT_FILENO); 129 130 130 131 while(true) { … … 136 137 break; 137 138 } 138 std::cout << "\r" << std::setprecision(4) << durr.count(); 139 std::cout.flush(); 139 if(is_tty) { 140 std::cout << "\r" << std::setprecision(4) << durr.count(); 141 std::cout.flush(); 142 } 140 143 } 141 144
Note: See TracChangeset
for help on using the changeset viewer.