projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Wed 4/23/14 13:00

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Wed 4/23/14 13:00
Michael Larabel  
system_monitor: Don't... 
Tue 4/22/14 15:29
Michael Larabel  
pts-core: Fix for NOT... 
Mon 4/21/14 12:36
Michael Larabel  
pts-core: More new... 
Sat 4/19/14 18:06
Michael Larabel  
phoromatic: Continued... 
Sat 4/19/14 12:56
Michael Larabel  
phoromatic: Add groups... 
Fri 4/18/14 11:23
Michael Larabel  
phodevi: Add GPU usage... 
 
> --git a/pts-core/objects/phodevi/components/phodevi_memory.php b/pts-core/objects/phodevi/components/phodevi_memory.php
index 4697824..1adcb69 100644
--- a/pts-core/objects/phodevi/components/phodevi_memory.php
+++ b/pts-core/objects/phodevi/components/phodevi_memory.php
@@ -191,12 +191,12 @@ class phodevi_memory extends phodevi_device_interface

                 $product_string 
null;

-                if(!empty(
$mem_manufacturer) && stripos($mem_manufacturer'manufacturer') === false && isset($mem_manufacturer[2]) && ctype_alpha($mem_manufacturer))
+                if(!empty(
$mem_manufacturer) && stripos($mem_manufacturer'manufacturer') === false && stripos($mem_manufacturer'module') === false && isset($mem_manufacturer[2]) && ctype_alpha($mem_manufacturer))
                 {
                     
$product_string .= ' ' $mem_manufacturer;
                 }

-                if(!empty(
$mem_part) && stripos($mem_manufacturer'part') === false && substr($mem_part02) != '0x' && !isset($mem_part[24]))
+                if(!empty(
$mem_part) && stripos($mem_part'part') === false && stripos($mem_part'module') === false && substr($mem_part02) != '0x' && !isset($mem_part[24]))
                 {
                     
$product_string .= ' ' $mem_part;
                 }
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2014 by Phoronix Media