serialize.hh (2797:b5f26b4eacef) | serialize.hh (2799:1c93aed5aa4a) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 227 unchanged lines hidden (view full) --- 236 // Export current checkpoint directory name so other objects can 237 // derive filenames from it (e.g., memory). The return value is 238 // guaranteed to end in '/' so filenames can be directly appended. 239 // This function is only valid while a checkpoint is being created. 240 static std::string dir(); 241 242 // Filename for base checkpoint file within directory. 243 static const char *baseFilename; | 1/* 2 * Copyright (c) 2002-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; --- 227 unchanged lines hidden (view full) --- 236 // Export current checkpoint directory name so other objects can 237 // derive filenames from it (e.g., memory). The return value is 238 // guaranteed to end in '/' so filenames can be directly appended. 239 // This function is only valid while a checkpoint is being created. 240 static std::string dir(); 241 242 // Filename for base checkpoint file within directory. 243 static const char *baseFilename; |
244 245 // Set up a checkpoint creation event or series of events. 246 static void setup(Tick when, Tick period = 0); | |
247}; 248 249#endif // __SERIALIZE_HH__ | 244}; 245 246#endif // __SERIALIZE_HH__ |