Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1.  
  2. #include "Thread.h"
  3. #include "SwapThread.h"
  4.  
  5.  
  6. class PageDeduplication : public Thread
  7. {
  8. public:
  9. static PageDeduplication* instance();
  10. static PageDeduplication* instance_;
  11.  
  12. virtual ~PageDeduplication();
  13. virtual void kill();
  14. virtual void Run();
  15. bool deduplicate(size_t ppn, size_t v_page);
  16.  
  17. private:
  18. PageDeduplication();
  19.  
  20.  
  21. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement