diff options
author | Cary Clark <> | 2009-03-24 21:14:25 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-24 21:14:25 -0700 |
commit | 5ec837f49e9c57d4394ce64b853fd86269c8b340 (patch) | |
tree | de89879b3a2cb0d713abc3c1fac766cb17706245 /WebKitTools/Scripts/num-cpus | |
parent | 02ba42cb469e2f0e26216fe434dbb912cf48d248 (diff) | |
download | external_webkit-5ec837f49e9c57d4394ce64b853fd86269c8b340.zip external_webkit-5ec837f49e9c57d4394ce64b853fd86269c8b340.tar.gz external_webkit-5ec837f49e9c57d4394ce64b853fd86269c8b340.tar.bz2 |
Automated import from //branches/master/...@141953,141953
Diffstat (limited to 'WebKitTools/Scripts/num-cpus')
-rwxr-xr-x | WebKitTools/Scripts/num-cpus | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/WebKitTools/Scripts/num-cpus b/WebKitTools/Scripts/num-cpus deleted file mode 100755 index c5f28a1..0000000 --- a/WebKitTools/Scripts/num-cpus +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; - -use Win32API::Registry 0.21 qw( :ALL ); - - -my $key; -my $i = 0; -while (RegOpenKeyEx(HKEY_LOCAL_MACHINE, "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\$i", 0, KEY_READ, $key)) { - $i++; - RegCloseKey($key); -} - -print "$i\n"; |