Current Path : /usr/local/lib/perl5/site_perl/5.8.9/mach/sys/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/perl5/site_perl/5.8.9/mach/sys/cpu.ph |
require '_h2ph_pre.ph'; no warnings 'redefine'; unless(defined(&_SYS_CPU_H_)) { eval 'sub _SYS_CPU_H_ () {1;}' unless defined(&_SYS_CPU_H_); require 'sys/eventhandler.ph'; eval 'sub CPU_IVAR_PCPU () {1;}' unless defined(&CPU_IVAR_PCPU); eval 'sub CPU_IVAR_NOMINAL_MHZ () {2;}' unless defined(&CPU_IVAR_NOMINAL_MHZ); eval 'sub pcpu { eval q(* &cpu_get_pcpu( &device_t &dev) { &uintptr_t &v = 0; &BUS_READ_IVAR( &device_get_parent( &dev), &dev, &CPU_IVAR_PCPU, &v); ( &v); }); }' unless defined(&pcpu); eval 'sub cpu_get_nominal_mhz { my($dev) = @_; eval q({ &uintptr_t &v = 0; &if ( &BUS_READ_IVAR( &device_get_parent($dev), $dev, &CPU_IVAR_NOMINAL_MHZ, &v) != 0) (-1); (( &int32_t) &v); }); }' unless defined(&cpu_get_nominal_mhz); eval 'sub MAX_SETTINGS () {24;}' unless defined(&MAX_SETTINGS); eval 'sub CPUFREQ_VAL_UNKNOWN () {(-1);}' unless defined(&CPUFREQ_VAL_UNKNOWN); eval 'sub CPUFREQ_TYPE_MASK () {0xffff;}' unless defined(&CPUFREQ_TYPE_MASK); eval 'sub CPUFREQ_TYPE_RELATIVE () {(1<<0);}' unless defined(&CPUFREQ_TYPE_RELATIVE); eval 'sub CPUFREQ_TYPE_ABSOLUTE () {(1<<1);}' unless defined(&CPUFREQ_TYPE_ABSOLUTE); eval 'sub CPUFREQ_FLAG_INFO_ONLY () {(1<<16);}' unless defined(&CPUFREQ_FLAG_INFO_ONLY); eval 'sub CPUFREQ_PRIO_HIGHEST () {1000000;}' unless defined(&CPUFREQ_PRIO_HIGHEST); eval 'sub CPUFREQ_PRIO_KERN () {1000;}' unless defined(&CPUFREQ_PRIO_KERN); eval 'sub CPUFREQ_PRIO_USER () {100;}' unless defined(&CPUFREQ_PRIO_USER); eval 'sub CPUFREQ_PRIO_LOWEST () {0;}' unless defined(&CPUFREQ_PRIO_LOWEST); eval 'sub CPUFREQ_CMP { my($x, $y) = @_; eval q(( &abs(($x) - ($y)) < 25)); }' unless defined(&CPUFREQ_CMP); } 1;