-/* Copyright (c) 2007-2014. The SimGrid Team.
+/* Copyright (c) 2007-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#include "mc_forward.h"
#include "mc_process.h"
-#include "mc_page_store.h"
+#include "PageStore.hpp"
#include "mc_protocol.h"
namespace simgrid {
* on the model-checker heap, we avoid those issues.
*/
class ModelChecker {
- // This is the parent snapshot of the current state:
- mc_pages_store_t page_store_;
- int fd_clear_refs_;
- xbt_dynar_t record_;
- s_mc_process_t process_;
/** String pool for host names */
// TODO, use std::unordered_set with heterogeneous comparison lookup (C++14)
xbt_dict_t /* <hostname, NULL> */ hostnames_;
+ // This is the parent snapshot of the current state:
+ s_mc_pages_store_t page_store_;
+ s_mc_process_t process_;
public:
ModelChecker(ModelChecker const&) = delete;
ModelChecker& operator=(ModelChecker const&) = delete;
{
return process_;
}
- s_mc_pages_store_t& page_store()
+ PageStore& page_store()
{
- return *page_store_;
+ return page_store_;
}
const char* get_host_name(const char* name);
};