"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libsysinfo-0.2.2/Irix/sysinfo_irix.c" between
linux_logo-5.11.tar.gz and linux_logo-6.0.tar.gz

About: Linux_Logo - an ANSI Color Penguin Logo that can be run at bootup. Also shows some system info.

sysinfo_irix.c  (linux_logo-5.11):sysinfo_irix.c  (linux_logo-6.0)
skipping to change at line 66 skipping to change at line 66
/* Cpu: MIPS R12000 */ /* Cpu: MIPS R12000 */
fff=popen("hinv -t cpu","r"); fff=popen("hinv -t cpu","r");
fscanf(fff,"%*s %32s %64s",cpu_info->chip_vendor,cpu_info->chip_type); fscanf(fff,"%*s %32s %64s",cpu_info->chip_vendor,cpu_info->chip_type);
pclose(fff); pclose(fff);
cpu_info->bogomips=external_bogomips(); cpu_info->bogomips=external_bogomips();
return 0; return 0;
} }
double get_cpu_mhz(void) {
struct cpu_info_type cpu_info;
get_cpu_info(&cpu_info);
return (double)cpu_info.megahertz;
}
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)