| 2135 | |
| 2136 | |
| 2137 | int |
| 2138 | Domain::record(bool fromAnalysis) |
| 2139 | { |
| 2140 | int res = 0; |
| 2141 | |
| 2142 | // invoke record on all recorders |
| 2143 | for (int i=0; i<numRecorders; i++) |
| 2144 | if (theRecorders[i] != 0) |
| 2145 | res += theRecorders[i]->record(commitTag, currentTime); |
| 2146 | |
| 2147 | // update the commitTag |
| 2148 | commitTag++; |
| 2149 | |
| 2150 | return res; |
| 2151 | } |
| 2152 | |
| 2153 | int |
| 2154 | Domain::commit(void) |