profiling GTA4. question about polling

Raphael fenix at club-internet.fr
Mon Nov 22 18:49:00 CST 2004


On Thursday 18 November 2004 01:29, Brian Gunlogson wrote:
> >
> > But, as Jason is currently doing a lot of work on splitting/moving code
> > to wined3d, we'll have to wait to commit it (and i should help him, when
> > i'll have time).
>
> Is this a tedious task or does it require knowledge of the codebase? I
> might be able to help.

Only boring tasks, knowledge must be required when moving the drawing code

> > Anyway, can you test what GTA4 want to use: diffuse, psize or/and
> > blending ? I'll try to send you a patched version of d3d8 to test after
> > that :)
>
> GTA uses diffuse color exclusively.
> This was after playing the game for about 3 minutes on highest settings:
> pixel size: 0
> diffuse: 745455
> blending weights: 0

Ok, good news.
It should work well with my version :)

> > Regards,
> > Raphael
> >
> > PS:
> > how have you done to use oprofile on wine ?
> > i'm very interested :)
>
> Just download the latest CVS from http://oprofile.sourceforge.net/download/
> and see the README. I assume you know how to get it compiled and installed
> :)
>
> As root:
> # opcontrol --start
> # opcontrol --reset
> '--reset' clears out any old unwanted profiling data
> # opcontrol --separate=kernel
> '--separate=kernel' Seperates output by library and kernel [this is the
> hardest option to understand].

It should be easier to use it as user :(

> Profiling is on, run the application to profile and do not do anything
> else.
>
> When done:
> # opcontrol --dump
> '--dump' flushes remaining data to disk
> # opreport -l >./myreport.log
> Stores the flat profile in a file called myreport.log.


Thx, i'll play with that (after fixing stupid install problems)

> Brian G

Regards,
Raphael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20041123/f24dd1dd/attachment.pgp


More information about the wine-devel mailing list