The main purpose for clearing stats in the unserialize process is so
that the profiler can correctly set its start time to the unserialized
value of curTick.
m_network_ptr->printStats(out);
}
+void
+RubySystem::serialize(std::ostream &os)
+{
+
+}
+
+void
+RubySystem::unserialize(Checkpoint *cp, const string §ion)
+{
+ //
+ // The main purpose for clearing stats in the unserialize process is so
+ // that the profiler can correctly set its start time to the unserialized
+ // value of curTick
+ //
+ clearStats();
+}
+
void
RubySystem::clearStats() const
{
void print(std::ostream& out) const;
+ virtual void serialize(std::ostream &os);
+ virtual void unserialize(Checkpoint *cp, const std::string §ion);
+
private:
// Private copy constructor and assignment operator
RubySystem(const RubySystem& obj);