def subprocessprofileb3(profiler, mainfunction, output): #b3thread = KThread(target=profileb3_timer) #b3thread.start() profiler.run(mainfunction)