MCPcopy Index your code
hub / github.com/nodejs/node / GetPlatform

Method GetPlatform

deps/v8/tools/run_perf.py:857–861  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

855
856 @staticmethod
857 def GetPlatform(args):
858 if Platform.ReadBuildConfig(args).get('is_android', False):
859 return AndroidPlatform(args)
860 else:
861 return DesktopPlatform(args)
862
863 def _Run(self, runnable, count, secondary=False, post_process=True):
864 raise NotImplementedError() # pragma: no cover

Callers 1

MainFunction · 0.80

Calls 4

AndroidPlatformClass · 0.85
DesktopPlatformClass · 0.85
ReadBuildConfigMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected