system.cc (9187:fd9a83e5178a) system.cc (9292:e57c7d9736a5)
1/*
2 * Copyright (c) 2011-2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 327 unchanged lines hidden (view full) ---

336
337void
338System::serialize(ostream &os)
339{
340 if (FullSystem)
341 kernelSymtab->serialize("kernel_symtab", os);
342 SERIALIZE_SCALAR(pagePtr);
343 SERIALIZE_SCALAR(nextPID);
1/*
2 * Copyright (c) 2011-2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 327 unchanged lines hidden (view full) ---

336
337void
338System::serialize(ostream &os)
339{
340 if (FullSystem)
341 kernelSymtab->serialize("kernel_symtab", os);
342 SERIALIZE_SCALAR(pagePtr);
343 SERIALIZE_SCALAR(nextPID);
344 serializeSymtab(os);
344}
345
346
347void
348System::unserialize(Checkpoint *cp, const string &section)
349{
350 if (FullSystem)
351 kernelSymtab->unserialize("kernel_symtab", cp, section);
352 UNSERIALIZE_SCALAR(pagePtr);
353 UNSERIALIZE_SCALAR(nextPID);
345}
346
347
348void
349System::unserialize(Checkpoint *cp, const string &section)
350{
351 if (FullSystem)
352 kernelSymtab->unserialize("kernel_symtab", cp, section);
353 UNSERIALIZE_SCALAR(pagePtr);
354 UNSERIALIZE_SCALAR(nextPID);
355 unserializeSymtab(cp, section);
354}
355
356void
357System::regStats()
358{
359 for (uint32_t j = 0; j < numWorkIds ; j++) {
360 workItemStats[j] = new Stats::Histogram();
361 stringstream namestr;

--- 86 unchanged lines hidden ---
356}
357
358void
359System::regStats()
360{
361 for (uint32_t j = 0; j < numWorkIds ; j++) {
362 workItemStats[j] = new Stats::Histogram();
363 stringstream namestr;

--- 86 unchanged lines hidden ---