Fennel: FileStatsTarget Class Reference (original) (raw)
Begins recording a snapshot.
Called before all writeCounter invocations for the snapshot.
Implements StatsTarget.
Definition at line 40 of file FileStatsTarget.cpp.
References filename, and snapshotStream.
00041 {
00042 assert(.empty());
00043 snapshotStream.open(filename.c_str(),std::ios::trunc);
00044
00045 // TODO: re-enable this. I disabled it since /tmp/fennel.stats
00046 // can't be opened on mingw; need to parameterize it better
00047 // (or put in Performance Monitor integration)
00048
00049 // assert(snapshotStream.good());
00050 }