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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 4/18/14 11:23

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 4/18/14 11:23
Michael Larabel  
phodevi: Add GPU usage... 
Wed 12/31/69 19:00
5cc96094d0ca5ff618655eed3c3f7e242634789d  
Merge pull request #20... 
Wed 4/16/14 13:04
Michael Larabel  
pts-core: Allow a range... 
Tue 4/15/14 20:56
Michael Larabel  
phoromatic: Add setting... 
Tue 4/15/14 20:06
Michael Larabel  
phoromatic: Making more... 
Tue 4/15/14 16:36
Michael Larabel  
pts-core: Enough for new... 
 
> --git a/pts-core/objects/phodevi/sensors/sys_power.php b/pts-core/objects/phodevi/sensors/sys_power.php
index ff2ffd8
..778411e 100644
--- a/pts-core/objects/phodevi/sensors/sys_power.php
+++ b/pts-core/objects/phodevi/sensors/sys_power.php
@@ -194,+194,@@ class sys_power implements phodevi_sensor
             
{
                 
$voltage_now pts_file_io::file_get_contents('/sys/class/power_supply/BAT0/voltage_now') / 1000;
                 
$current_now pts_file_io::file_get_contents('/sys/class/power_supply/BAT0/current_now') / 1000;
-                
$power_now $voltage_now $current_now 1000;
+                
$power_now $voltage_now $current_now 1000;

                 if(
$power_now 1)
                 {
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2014 by Phoronix Media