#include "incls/_os.cpp.incl"
Include dependency graph for os.cpp:
Go to the source code of this file.
Functions | |
void | intercept_for_single_step () |
static double | fileTimeAsDouble (FILETIME *time) |
static void | initialze_performance_counter () |
char * | exception_name (int code) |
void | trace_stack_at_exception (int *sp, int *fp, char *pc) |
void | suspend_process_at_stack_overflow (int *sp, int *fp, char *pc) |
LONG WINAPI | topLevelExceptionFilter (struct _EXCEPTION_POINTERS *exceptionInfo) |
void | process_settings_file (char *file_name, bool quiet) |
BOOL WINAPI | HandlerRoutine (DWORD dwCtrlType) |
void | real_time_tick (int delay_time) |
DWORD WINAPI | WatcherMain (LPVOID lpvParam) |
void | os_init () |
void | os_exit () |
Variables | |
static HANDLE | main_process |
static HANDLE | main_thread |
static int | main_thread_id |
static HANDLE | watcher_thread |
static FILETIME | process_creation_time |
static FILETIME | process_exit_time |
static FILETIME | process_user_time |
static FILETIME | process_kernel_time |
static int | has_performance_count = 0 |
static long_int | initial_performance_count (0, 0) |
static long_int | performance_frequency (0, 0) |
HINSTANCE | hInstance = NULL |
HINSTANCE | hPrevInstance = NULL |
int | nCmdShow = 0 |
int | bootstrapping |
static CONTEXT | context |
bool | WizardMode |
static int | number_of_ctrl_c = 0 |
bool | EnableTasks |
LARGE_INTEGER | counter |
CRITICAL_SECTION | ThreadSection |
static double fileTimeAsDouble | ( | FILETIME * | time | ) | [inline, static] |
Definition at line 49 of file os.cpp.
Referenced by os::currentTime(), os::system_time_for(), os::systemTime(), os::user_time_for(), and os::userTime().
BOOL WINAPI HandlerRoutine | ( | DWORD | dwCtrlType | ) |
Definition at line 396 of file os.cpp.
References intercept_for_single_step(), and lprintf().
Here is the call graph for this function:
static void initialze_performance_counter | ( | ) | [static] |
Definition at line 159 of file os.cpp.
References initial_performance_count, and performance_frequency.
void intercept_for_single_step | ( | ) |
void process_settings_file | ( | char * | file_name, | |
bool | quiet | |||
) |
Definition at line 60 of file arguments.cpp.
References process_token().
Referenced by parse_arguments().
Here is the call graph for this function:
void real_time_tick | ( | int | delay_time | ) |
Definition at line 42 of file task.cpp.
References bootstrapping, Process::external_resume_current(), Process::external_suspend_current(), num_tasks, pending_tasks(), PeriodicTask::task(), and tasks.
Referenced by WatcherMain().
Here is the call graph for this function:
void suspend_process_at_stack_overflow | ( | int * | sp, | |
int * | fp, | |||
char * | pc | |||
) |
Definition at line 1201 of file process.cpp.
LONG WINAPI topLevelExceptionFilter | ( | struct _EXCEPTION_POINTERS * | exceptionInfo | ) |
void trace_stack_at_exception | ( | int * | sp, | |
int * | fp, | |||
char * | pc | |||
) |
Definition at line 1185 of file process.cpp.
References last_Delta_fp, last_Delta_sp, and vframe::new_vframe().
Here is the call graph for this function:
DWORD WINAPI WatcherMain | ( | LPVOID | lpvParam | ) |
Definition at line 418 of file os.cpp.
References real_time_tick().
Here is the call graph for this function:
int bootstrapping |
Definition at line 29 of file universe.cpp.
Referenced by main(), oopDesc::oopDesc(), real_time_tick(), and report_error().
LARGE_INTEGER counter |
int has_performance_count = 0 [static] |
HINSTANCE hPrevInstance = NULL |
long_int initial_performance_count(0, 0) [static] |
Referenced by os::elapsedTime(), and initialze_performance_counter().
HANDLE main_process [static] |
Definition at line 37 of file os.cpp.
Referenced by os::system_time_for(), os::updateTimes(), and os::user_time_for().
HANDLE main_thread [static] |
int main_thread_id [static] |
int number_of_ctrl_c = 0 [static] |
long_int performance_frequency(0, 0) [static] |
Referenced by os::elapsed_frequency(), os::elapsedTime(), and initialze_performance_counter().
FILETIME process_creation_time [static] |
FILETIME process_exit_time [static] |
FILETIME process_kernel_time [static] |
FILETIME process_user_time [static] |
CRITICAL_SECTION ThreadSection |
HANDLE watcher_thread [static] |
Definition at line 390 of file os.cpp.
Referenced by debug(), decode_method(), PrintObjectClosure::do_object(), MethodPrinterClosure::indent(), Universe::method_holder_of(), PRIM_DECL_2(), vframe::print(), Universe::print(), space::print(), oldGeneration::print(), newGeneration::print(), Universe::scavenge(), and urs_ps().