def __init__(self, run_object):
run_obj_type = self.get_run_object_type(run_object)<EOL>if run_obj_type == '<STR_LIT>':<EOL><INDENT>self.init_module(run_object)<EOL><DEDENT>elif run_obj_type == '<STR_LIT>':<EOL><INDENT>self.init_package(run_object)<EOL><DEDENT>else:<EOL><INDENT>self.init_function(run_object)<EOL><DEDENT>
Initializes profiler.

        Args:
            run_object: object to be profiled.