vm: stub out windows sampling timer implementation
AFAIK Windows has no equivalent to setitimer. We'll probably need to use a thread that periodically pauses and samples the main VM thread.db4
parent
f5cdfaeb2a
commit
125c46c10f
|
@ -301,4 +301,14 @@ void factor_vm::open_console()
|
||||||
SetConsoleCtrlHandler(factor::ctrl_handler, TRUE);
|
SetConsoleCtrlHandler(factor::ctrl_handler, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void factor_vm::start_sampling_profiler_timer()
|
||||||
|
{
|
||||||
|
general_error(ERROR_NOT_IMPLEMENTED, false_object, false_object);
|
||||||
|
}
|
||||||
|
|
||||||
|
void factor_vm::end_sampling_profiler_timer()
|
||||||
|
{
|
||||||
|
general_error(ERROR_NOT_IMPLEMENTED, false_object, false_object);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue