process.hh (7488:cf7c4345ea82) | process.hh (7532:3f6413fc37a2) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 65 unchanged lines hidden (view full) --- 74class Process : public SimObject 75{ 76 public: 77 78 /// Pointer to object representing the system this process is 79 /// running on. 80 System *system; 81 | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 65 unchanged lines hidden (view full) --- 74class Process : public SimObject 75{ 76 public: 77 78 /// Pointer to object representing the system this process is 79 /// running on. 80 System *system; 81 |
82 bool checkpointRestored; 83 | |
84 // thread contexts associated with this process 85 std::vector<int> contextIds; 86 87 // number of CPUs (esxec contexts, really) assigned to this process. 88 unsigned int numCpus() { return contextIds.size(); } 89 90 // record of blocked context 91 struct WaitRec --- 33 unchanged lines hidden (view full) --- 125 126 Stats::Scalar num_syscalls; // number of syscalls executed 127 128 129 protected: 130 // constructor 131 Process(ProcessParams * params); 132 | 82 // thread contexts associated with this process 83 std::vector<int> contextIds; 84 85 // number of CPUs (esxec contexts, really) assigned to this process. 86 unsigned int numCpus() { return contextIds.size(); } 87 88 // record of blocked context 89 struct WaitRec --- 33 unchanged lines hidden (view full) --- 123 124 Stats::Scalar num_syscalls; // number of syscalls executed 125 126 127 protected: 128 // constructor 129 Process(ProcessParams * params); 130 |
133 // post initialization startup 134 virtual void startup(); | 131 virtual void initState(); |
135 136 protected: 137 /// Memory object for initialization (image loading) 138 TranslatingPort *initVirtMem; 139 140 public: 141 PageTable *pTable; 142 --- 191 unchanged lines hidden --- | 132 133 protected: 134 /// Memory object for initialization (image loading) 135 TranslatingPort *initVirtMem; 136 137 public: 138 PageTable *pTable; 139 --- 191 unchanged lines hidden --- |