VirtualBox

Ignore:
Timestamp:
May 30, 2016 4:11:26 PM (9 years ago)
Author:
vboxsync
Message:

show march in testbox hover on the results page too. (untested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/testbox.py

    r61305 r61306  
    367367        return None;
    368368
     369    def getPrettyCpuVersion(self):
     370        """ Pretty formatting of the family/model/stepping with microarch optimizations. """
     371        if self.lCpuRevision is None or self.sCpuVendor is None:
     372            return u'<none>';
     373        sMarch = self.queryCpuMicroarch();
     374        if sMarch is not None:
     375            return '%s m%02x s%02x' % (sMarch, self.getCpuModel(), self.getCpuStepping());
     376        return 'fam%02x m%02x s%02x' % (self.getCpuFamily(), self.getCpuModel(), self.getCpuStepping());
     377
    369378    def getArchBitString(self):
    370379        """ Returns 32-bit, 64-bit, <none>, or sCpuArch. """
     
    378387
    379388    def getPrettyCpuVendor(self):
    380         """ Returns the CPU model for a x86 or amd64 testboxes."""
     389        """ Pretty vendor name."""
    381390        if self.sCpuVendor is None:
    382391            return '<none>';
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette