To Do A.11 - Integrate API status into WineHQ
hatkyinc at yahoo.com
Wed Mar 24 14:08:10 CST 2004
It looks complicated but it's all 3 mysql commands to
get a complete table
with whatever data you want from the winapi stats data
in a nice table...
Take the attached file (it just strips some text) ,
create user as mysql user that has a db called winapi
with CREATE TEMPORARY
TABLE and select rights
php winapi_stats.php > winapi_stats,dat
CREATE TEMPORARY TABLE `winapi` (
Â `module` VARCHAR( 255 ) NOT NULL ,
Â `stubs` INT NOT NULL ,
Â `total_func` INT NOT NULL ,
Â `real_stub` INT NOT NULL ,
Â `psedo_stubs` INT NOT NULL ,
Â `forwards` INT NOT NULL ,
Â PRIMARY KEY ( `module` )
LOAD DATA LOCAL INFILE "winapi_stats,dat" REPLACE INTO
FIELDS TERMINATED BY "~"
LINES TERMINATED BY "\n";
SELECT "Total" "Library", sum(total_func) "API Count",
(sum(total_func) - sum(stubs)) / sum(total_func) *100
sum(stubs) "Total Stubs", sum(real_stub),
SELECT module "Library", total_func "API Count", (
total_func - stubs
) / total_func *100 "% implemented", stubs "Total
' -u user -D winapi -H
p.s. sorry for the yahoo and the linewrap mess my mail
dosn't send latly...
Worshiper of wine (http://www.winehq.org/ or
Impossible is only an opinion.
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 563 bytes
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040324/3cd9bc0d/winapi_stats.bin
More information about the wine-devel