Changeset 61306 in vbox for trunk/src/VBox/ValidationKit/testmanager/core
- Timestamp:
- May 30, 2016 4:11:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/testbox.py
r61305 r61306 367 367 return None; 368 368 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 369 378 def getArchBitString(self): 370 379 """ Returns 32-bit, 64-bit, <none>, or sCpuArch. """ … … 378 387 379 388 def getPrettyCpuVendor(self): 380 """ Returns the CPU model for a x86 or amd64 testboxes."""389 """ Pretty vendor name.""" 381 390 if self.sCpuVendor is None: 382 391 return '<none>';
Note:
See TracChangeset
for help on using the changeset viewer.