Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Chi Hoang  >  PHP CPU Frequency Tuner  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: PHP CPU Frequency Tuner
Calculate approximate frequency of AMD CPU
Author: By
Last change:
Date: 7 months ago
Size: 567 bytes
 

Contents

Class file image Download
<?php
/* * ************************************************************* 
 * Copyright notice 
 * 
 * (c) 2014 Chi Hoang (info@chihoang.de) 
 *  All rights reserved 
 * **************************************************************/
  
require_once("main.php");
 
  
$cpu=array("1"=>16,"2"=>8);
  
$type="2";
  
$input=array("0"=> array("freq"=>"2400","vcore"=>"1.175"),
               
"1"=> array("freq"=>"2000","vcore"=>"1.175")
               );
  
  
$convert=new convertFreq($cpu,$type,$input);
  
$result=$convert->tofreq();
  
print_r($result);
?>