Pol  Revision:cb584c9
Pol::Core::StateManager Class Reference

#include <state.h>

+ Inheritance diagram for Pol::Core::StateManager:

Public Member Functions

 StateManager ()
 
 ~StateManager ()
 
void deinitialize ()
 
size_t estimateSize () const
 

Public Attributes

u32 charserialnumber
 
std::atomic< int > checkin_clock_times_out_at
 
size_t cycles_per_decay_worldzone
 
size_t cycles_until_decay_worldzone
 
struct {
   Clib::OnlineStatistics   active_decay
 
   Clib::OnlineStatistics   decayed
 
   u32   temp_count_active
 
   u32   temp_count_decayed
 
decay_statistics
 
bool gflag_enforce_container_limits
 
bool gflag_in_system_load
 
bool gflag_in_system_startup
 
u32 itemserialnumber
 
const char * last_checkpoint
 
std::atomic< clock_t > polclock_paused_at
 
PolSig polsig
 
ProfileVars profilevars
 
unsigned int stored_last_char_serial
 
unsigned int stored_last_item_serial
 
UObjCount uobjcount
 

Detailed Description

Definition at line 24 of file state.h.

Constructor & Destructor Documentation

Pol::Core::StateManager::StateManager ( )

Definition at line 10 of file state.cpp.

Referenced by estimateSize().

Pol::Core::StateManager::~StateManager ( )

Definition at line 30 of file state.cpp.

Member Function Documentation

void Pol::Core::StateManager::deinitialize ( )

Definition at line 33 of file state.cpp.

size_t Pol::Core::StateManager::estimateSize ( ) const

Definition at line 35 of file state.cpp.

References StateManager().

Referenced by Pol::Core::MemoryUsage::log().

Member Data Documentation

Clib::OnlineStatistics Pol::Core::StateManager::active_decay

Definition at line 59 of file state.h.

Referenced by Pol::Core::decay_single_thread().

std::atomic<int> Pol::Core::StateManager::checkin_clock_times_out_at

Definition at line 64 of file state.h.

Referenced by Pol::Core::polclock_checkin(), and Pol::Core::threadstatus_thread().

size_t Pol::Core::StateManager::cycles_per_decay_worldzone

Definition at line 35 of file state.h.

Referenced by Pol::Core::decay_items(), and Pol::Core::update_rpm().

size_t Pol::Core::StateManager::cycles_until_decay_worldzone

Definition at line 36 of file state.h.

Referenced by Pol::Core::decay_items(), and Pol::Core::update_rpm().

struct { ... } Pol::Core::StateManager::decay_statistics
Clib::OnlineStatistics Pol::Core::StateManager::decayed

Definition at line 58 of file state.h.

Referenced by Pol::Core::decay_single_thread().

bool Pol::Core::StateManager::gflag_enforce_container_limits
bool Pol::Core::StateManager::gflag_in_system_load
bool Pol::Core::StateManager::gflag_in_system_startup

Definition at line 40 of file state.h.

Referenced by Pol::xmain_inner().

const char* Pol::Core::StateManager::last_checkpoint

Definition at line 33 of file state.h.

Referenced by Pol::Core::checkpoint(), Pol::xmain_inner(), and Pol::xmain_outer().

std::atomic<clock_t> Pol::Core::StateManager::polclock_paused_at
unsigned int Pol::Core::StateManager::stored_last_char_serial

Definition at line 45 of file state.h.

Referenced by Pol::Core::read_data(), and Pol::Core::read_system_vars().

unsigned int Pol::Core::StateManager::stored_last_item_serial

Definition at line 44 of file state.h.

Referenced by Pol::Core::read_data(), and Pol::Core::read_system_vars().

u32 Pol::Core::StateManager::temp_count_active

Definition at line 61 of file state.h.

Referenced by Pol::Core::decay_single_thread(), and Pol::Core::decay_worldzone().

u32 Pol::Core::StateManager::temp_count_decayed

Definition at line 60 of file state.h.

Referenced by Pol::Core::decay_single_thread(), and Pol::Core::decay_worldzone().


The documentation for this class was generated from the following files: