ProfileUtilAustin
implementation of the profile utilities for the Austin profiler
MySimpleAustin
Canonical path: TestHelper.ProfileUtilAustin.MySimpleAustin
Bases: SimpleAustin
implementation of the simple Austin class
__init__
__init__(
austin_running_event: Event,
test_running_event: Event,
terminate_event: Event,
process_id: str,
result_file_name: str,
)
initialize
Parameters:
-
austin_running_event(Event) –signals the running austin
-
test_running_event(Event) –signals the running test
-
terminate_event(Event) –signals the profile termination
-
process_id(str) –process ID of the profess to profile
-
result_file_name(str) –name of the result file
on_ready
function description
Parameters:
-
_process(Any) –process
-
_child_process(Any) –child process
-
_command_line(str) –command line
-
_data(Any, default:None) –data
on_sample_received
receive the sample result
Parameters:
-
text(str) –sample result
austin_process
austin_process(
austin_running_event: Event,
test_running_event: Event,
terminate_event: Event,
finish_event: Event,
process_id: str,
result_file_name: str,
)
start the Austin process
Parameters:
-
austin_running_event(Event) –signals the running austin
-
test_running_event(Event) –signals the running test
-
terminate_event(Event) –signals the profile termination
-
finish_event(Event) –signals the profile thread finish
-
process_id(str) –process id to profile
-
result_file_name(str) –name of the result file
Placeholder