| 1864 | |
| 1865 | |
| 1866 | int |
| 1867 | Domain::record(bool fromAnalysis) |
| 1868 | { |
| 1869 | int res = 0; |
| 1870 | |
| 1871 | // invoke record on all recorders |
| 1872 | for (int i=0; i<numRecorders; i++) |
| 1873 | if (theRecorders[i] != 0) |
| 1874 | res += theRecorders[i]->record(commitTag, currentTime); |
| 1875 | |
| 1876 | // update the commitTag |
| 1877 | commitTag++; |
| 1878 | |
| 1879 | return res; |
| 1880 | } |
| 1881 | |
| 1882 | int |
| 1883 | Domain::commit(void) |