def __init__(self, platform_backend):
     self._platform_backend = platform_backend
     self._platform_backend.SetPlatform(self)
     self._tracing_controller = tracing_controller.TracingController(
         self._platform_backend.tracing_controller_backend)
     self._profiling_controller = profiling_controller.ProfilingController(
         self._platform_backend.profiling_controller_backend)
Exemplo n.º 2
0
 def __init__(self, platform_backend):
     self._platform_backend = platform_backend
     self._platform_backend.InitPlatformBackend()
     self._platform_backend.SetPlatform(self)
     self._network_controller = network_controller.NetworkController(
         self._platform_backend.network_controller_backend)
     self._tracing_controller = tracing_controller.TracingController(
         self._platform_backend.tracing_controller_backend)