32 namespace rambrainglobals
37 infomsgf (
"Greetings from Rambrain!\n\tRambrain is still in an early stage of development. Please report any strange behaviour!\n\tRambrain was compiled from git %s\tWhen reporting problems, please include this commit number.",
gitCommit );
73 if ( c.
swap.
value ==
"managedDummySwap" ) {
75 }
else if ( c.
swap.
value ==
"managedFileSwap" ) {
void resizeMemory(global_bytesize memory)
Simple setter.
void resizeSwap(global_bytesize memory)
Simple setter.
const configuration & getConfig()
Simple getter.
configLine< swapPolicy > policy
configLine< bool > enableDMA
~rambrainConfig()
Destructs the throught the config initiated swap and manager.
An implementation of managedSwap that is capable of kernel asynchronousIO.
configLine< string > swapfiles
configuration & getConfig()
Simple getter.
Main struct to save configuration variables.
rambrainConfig()
Construct a new config handling class.
const unsigned char gitCommit[]
void setReread()
Simple setter.
void reinit(bool reread=true)
Reinitialises the system.
configLine< global_bytesize > memory
configLine< string > swap
a dummy managed Memory that basically does nothing and throws on everything.
scheduler working with a double linked cycle. Details see paper.
virtual swapPolicy setSwapPolicy(swapPolicy newPolicy)
bool setMemoryLimit(global_bytesize size)
dynamically adjusts allowed ram usage
configLine< string > memoryManager
A dummy swap that just copies swapped out chunks to a different location in ram.
configLine< global_bytesize > swapMemory