action, clockvector: add 'has_synchronized_with()' functions
authorBrian Norris <banorris@uci.edu>
Thu, 23 Aug 2012 19:31:08 +0000 (12:31 -0700)
committerBrian Norris <banorris@uci.edu>
Fri, 24 Aug 2012 03:50:19 +0000 (20:50 -0700)
commit53748c53db55c1230d4b191caf0e4016a2b9c0a6
treef05e2347750cce2f53b9bf36cf1b3352c92b2341
parent80617a5bb7ad550ac821b68e81dce05b5c906309
action, clockvector: add 'has_synchronized_with()' functions

These functions will check whether a ClockVector (or corresponding ModelAction)
is *completely* synchronized with another already. This is different from
simply "happens before," because I may need to update and propagate a clock
vector after initial execution as more information becomes available, and so
this function helps determine whether a particular pair of vectors is worth
merging (and then - expensively - propagating) before actually performing the
synchronization.

[Not documented properly yet...]
action.cc
action.h
clockvector.cc
clockvector.h