Changeset c921712 for doc/theses/thierry_delisle_PhD/code/relaxed_list.hpp
- Timestamp:
- Sep 27, 2019, 11:07:56 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- c3a2007
- Parents:
- 1e24d13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/code/relaxed_list.hpp
r1e24d13 rc921712 74 74 #ifndef NO_STATS 75 75 std::cout << "Difference : " 76 << s ize_t(double(intrusive_queue_t::stat::dif.value) / intrusive_queue_t::stat::dif.num ) << " avg\t"76 << ssize_t(double(intrusive_queue_t::stat::dif.value) / intrusive_queue_t::stat::dif.num ) << " avg\t" 77 77 << intrusive_queue_t::stat::dif.max << "max" << std::endl; 78 78 #endif … … 200 200 stat::dif.value+= s.diff; 201 201 stat::dif.num ++; 202 stat::dif.max = std:: max(stat::dif.max, s.diff);202 stat::dif.max = std::abs(stat::dif.max) > std::abs(s.diff) ? stat::dif.max : s.diff; 203 203 #endif 204 204 }
Note: See TracChangeset
for help on using the changeset viewer.