Beispiel #1
0
    def GetPlatformStats(self, usemetric=None):

        if not usemetric == None:
            bMetric = usemetric
        else:
            bMetric = self.UseMetric
        Platform = MyPlatform(self.log, bMetric)

        return Platform.GetInfo()
Beispiel #2
0
    def GetPlatformStats(self, usemetric=None):

        PlatformInfo = collections.OrderedDict()

        if not usemetric == None:
            bMetric = usemetric
        else:
            bMetric = self.UseMetric
        Platform = MyPlatform(self.log, bMetric)

        return Platform.GetInfo()