Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

OS Class Reference

#include <os.h>

List of all members.

Public Members

int optind
int optopt

Static Public Members

void init ()
void terminate (int)
void handle_suspend_and_resume (bool stopping)
bool is_directed_allocation_supported ()
char* allocate_page_aligned (int32 &size, char* name, caddr_t desiredAddr= 0, bool mustAllocate= true)
void allocate_failed (char* what)
char* page_start (void *, unsigned int pg_sz= page_size)
char* page_end (void *, unsigned int pg_sz= page_size)
const char* mode_for_binary (const char*)
void FRead ( void* buffer, int32 size, FILE* stream)
void FWrite ( const void* buffer, int32 size, FILE* stream)
void read_or_seek ( void* buffer, int32 size, FILE* stream)
void FRead_mem (void* buffer_start, void *buffer_end, FILE* stream)
void FWrite_mem (void* buffer_start, void *buffer_end, FILE* stream)
void Mmap (void* start, void *end, FILE* stream)
void do_not_buffer (FILE* stream)
char* map_or_read_source_file (FILE* source_file, int32 length)
void unmap_source_file (caddr_t first, int length)
bool expand_dir (const char* in, char* out)
bool is_non_unix_path (const char*)
bool setup_snapshot_to_run (char*)
void set_log_buf (FILE* f, char* buf, int bs)
char* log_file_name ()
void set_args (int& argc, char**& argv)
int getopt (int argc, char* const* argv, char* optstring)
char* get_environment_variable (char* name)
bool get_swap_space_info (int &totalK, int &freeK)
void core_dump ()
FILE* start_compressing_snapshot (char* compression_f, char* fullFileName, SignalBlocker*& sb)
int end_compressing_snapshot (FILE* snapFile)
FILE* start_decompressing_snapshot (FILE* snap, char* decompression_filter)
void end_decompressing_snapshot ()
void snapshot_failed (FILE* snapFile, bool is_compressed, SignalBlocker* sb)
void set_access_before_writing_space (void* objs_bottom, void* objs_top, void* bytes_bottom, void* bytes_top)
void reset_access_after_writing_space (void* objs_bottom, void* objs_top, void* bytes_bottom, void* bytes_top)
void set_sequential_access_before_writing_snapshot ()
void set_normal_access_after_writing_snapshot ()
void discard_pages (char* start, char* end)
int get_page_size ()
int min_core (caddr_t addr, size_t len, char *vec)
void random_access (char* start, char* end)
void sequential_access (char* start, char* end)
void normal_access (char* start, char* end)
void set_bytes (char* start, char* end, int filler)
void will_need_pages (char* start, char* end)
void dont_need_pages (char* start, char* end)
void profile (bool flag)
smi user_time ()
smi system_time ()
smi cpu_time ()
void real_time (smi* buf)
void date_time (smi day, smi msec, smi* buf)
bool time_to_day_and_ms (objVectorOop timeVector, smi* msAndDays)
char* current_time_string ()
char* strdup (const char* s)
char* get_host_name ()
char* get_operating_system ()
char* get_user_name ()
char* get_manufacturer_name ()
void print_memory ()
void check_events ()
char* optarg
int opterr
unsigned int real_mem_size

Friends

char* ExpandDir_prim (const char* in, void* FH)


Detailed Description


Member Function Documentation

void OS::init () [static]

void OS::terminate (int code) [static]

void OS::handle_suspend_and_resume (bool stopping) [static]

bool OS::is_directed_allocation_supported () [static]

char * OS::allocate_page_aligned (int32 & size, char * name, caddr_t desiredAddress = 0, bool mustAllocate = true) [static]

void OS::allocate_failed (char * what) [static]

char * OS::page_start (void * p, unsigned int pg_sz = page_size) [static]

char * OS::page_end (void * p, unsigned int pg_sz = page_size) [static]

const char * OS::mode_for_binary (const char * m) [static]

void OS::FRead (void * buffer, int32 size, FILE * stream) [static]

void OS::FWrite (const void * buffer, int32 size, FILE * stream) [static]

void OS::read_or_seek (void * ptr, int32 size, FILE * f) [static]

void OS::FRead_mem (void * buffer_start, void * buffer_end, FILE * stream) [inline, static]

void OS::FWrite_mem (void * buffer_start, void * buffer_end, FILE * stream) [inline, static]

void OS::Mmap (void * start, void * fin, FILE * file) [static]

void OS::do_not_buffer (FILE * stream) [static]

char * OS::map_or_read_source_file (FILE * source_file, int32 length) [static]

void OS::unmap_source_file (caddr_t first, int length) [static]

bool OS::expand_dir (const char * in, char * out) [static]

bool OS::is_non_unix_path (const char * s) [static]

bool OS::setup_snapshot_to_run (char * fileName) [static]

void OS::set_log_buf (FILE * f, char * buf, int bs) [static]

char * OS::log_file_name () [static]

void OS::set_args (int & argc, char **& argv) [static]

int OS::getopt (int argc, char *const * argv, char * optstring) [static]

char * OS::get_environment_variable (char * name) [inline, static]

bool OS::get_swap_space_info (int & totalK, int & freeK) [static]

void OS::core_dump () [static]

FILE * OS::start_compressing_snapshot (char * compression_f, char * fullFileName, SignalBlocker *& sb) [static]

int OS::end_compressing_snapshot (FILE * f) [static]

FILE * OS::start_decompressing_snapshot (FILE * snap, char * decompression_filter) [static]

void OS::end_decompressing_snapshot () [static]

void OS::snapshot_failed (FILE * snapFile, bool compressed_snapshot, SignalBlocker * sb) [static]

void OS::set_access_before_writing_space (void * objs_bottom, void * objs_top, void * bytes_bottom, void * bytes_top) [static]

void OS::reset_access_after_writing_space (void * objs_bottom, void * objs_top, void * bytes_bottom, void * bytes_top) [static]

void OS::set_sequential_access_before_writing_snapshot () [static]

void OS::set_normal_access_after_writing_snapshot () [static]

void OS::discard_pages (char * start, char * end) [static]

int OS::get_page_size () [static]

int OS::min_core (caddr_t addr, size_t len, char * vec) [static]

void OS::random_access (char * start, char * end) [static]

void OS::sequential_access (char * start, char * end) [static]

void OS::normal_access (char * start, char * end) [static]

void OS::set_bytes (char * start, char * end, int filler) [static]

void OS::will_need_pages (char * start, char * end) [static]

void OS::dont_need_pages (char * start, char * end) [static]

void OS::profile (bool flag) [inline, static]

smi OS::user_time () [static]

smi OS::system_time () [static]

smi OS::cpu_time () [static]

void OS::real_time (smi * buf) [static]

void OS::date_time (smi day, smi msec, smi * buf) [static]

bool OS::time_to_day_and_ms (objVectorOop timeVector, smi * msAndDays) [static]

char * OS::current_time_string () [static]

char * OS::strdup (const char * s) [static]

char * OS::get_host_name () [static]

char * OS::get_operating_system () [static]

char * OS::get_user_name () [static]

char * OS::get_manufacturer_name () [static]

void OS::print_memory () [static]

void OS::check_events () [static]


Friends And Related Function Documentation

char* ExpandDir_prim (const char * in, void * FH) [friend]


Member Data Documentation

int OS::optind

int OS::optopt

char* OS::optarg [static]

int OS::opterr [static]

unsigned int OS::real_mem_size [static]


The documentation for this class was generated from the following files:
Generated at Tue Jun 27 12:08:27 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999