Esempio n. 1
0
    def run(self, arglist=[]):
        TCTimeVMStarts.run(self, arglist)
        # Give the VMs time to settle for a bit.  (In accordance with
        # the definition of the metric.)
        xenrt.TEC().logverbose("Leaving the VMs to settle for %d seconds..." % self.settlingTime)
        time.sleep(self.settlingTime)
        TCCPUload.run(self, arglist)

        params = libperf.createLogName ("tc_cpuload_parameters")
        log = """#numdesktops
%s
""" % self.numdesktops
        libperf.outputToResultsFile(params, log, addNewline=False)
Esempio n. 2
0
    def run(self, arglist=[]):
        TCTimeVMStarts.run(self, arglist)
        # Give the VMs time to settle for a bit.  (In accordance with
        # the definition of the metric.)
        xenrt.TEC().logverbose("Leaving the VMs to settle for %d seconds..." %
                               self.settlingTime)
        time.sleep(self.settlingTime)
        TCCPUload.run(self, arglist)

        params = libperf.createLogName("tc_cpuload_parameters")
        log = """#numdesktops
%s
""" % self.numdesktops
        libperf.outputToResultsFile(params, log, addNewline=False)