VirtualBox

Ignore:
Timestamp:
May 30, 2016 4:11:26 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107598
Message:

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

Location:
trunk/src/VBox/ValidationKit/testmanager/webui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuireport.py

    r61305 r61306  
    593593        sHtml += u'<td>%s</td>'    % (webutils.escapeElem(oTestBox.getArchBitString()),);
    594594        sHtml += u'<td>%s</td>'    % (webutils.escapeElem(oTestBox.getPrettyCpuVendor()),);
    595         sMarch = oTestBox.queryCpuMicroarch();
    596         if sMarch is not None:
    597             sHtml += u'<td>%s (%#x/%#x)' % (sMarch, oTestBox.getCpuModel(), oTestBox.getCpuStepping(),)
    598         else:
    599             sHtml += u'<td>fam%x %#x/%#x' % (oTestBox.getCpuFamily(), oTestBox.getCpuModel(), oTestBox.getCpuStepping(),)
     595        sHtml += u'<td>%s'         % (oTestBox.getPrettyCpuVersion(),);
    600596        if oTestBox.fCpuNestedPaging:   sHtml += u', np';
    601597        elif oTestBox.fCpuHwVirt:       sHtml += u', hw';
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuitestresult.py

    r61278 r61306  
    608608            aoTestBoxRows.append(['CPU Name', oTestBox.sCpuName.replace('  ', ' ')]);
    609609        if oTestBox.lCpuRevision is not None:
    610             # ASSUMING x86+AMD64 versioning scheme here.
    611             uFamily   = (oTestBox.lCpuRevision >> 24) & 0xff;
    612             uModel    = (oTestBox.lCpuRevision >>  8) & 0xffff;
    613             uStepping = oTestBox.lCpuRevision         & 0xff;
     610            sMarch = oTestBox.queryCpuMicroarch();
     611            if sMarch is not None:
     612                aoTestBoxRows.append( ('CPU Microarch', sMarch) );
     613            uFamily   = oTestBox.getCpuFamily();
     614            uModel    = oTestBox.getCpuModel();
     615            uStepping = oTestBox.getCpuStepping();
    614616            aoTestBoxRows += [
    615617                ( 'CPU Family',   '%u (%#x)' % ( uFamily,   uFamily, ) ),
Note: See TracChangeset for help on using the changeset viewer.

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