[PATCH] Retrace: Add per frame timing

José Fonseca jose.r.fonseca at gmail.com
Mon Oct 31 17:46:38 PDT 2011


On Sat, Oct 29, 2011 at 1:26 AM, Anuj Phogat <anuj.phogat at gmail.com> wrote:
>
>>On Mon, Oct 24, 2011 at 5:44 AM, José Fonseca <jose.r.fonseca at gmail.com>
>> wrote:
>>Yes.  I was planning to refactor the last patch that Yuanhan Liu
>>posted to this list such that the recording was done in glretrace
>>instead of apitrace, but been busy with other stuff.
> Here is the patch for cpu/gpu time logging during retracing. Used Yuanhan
> Liu's patch as a reference.

Anuj,

Thanks for doing this.

The patch got munged by your email client or gmail. Could you please
resend as an attachment?

> This patch logs the cpu and gpu time duration per gl call. cpu time is still
> skewed by snappy decompression.
> I guess It can be fixed by moving the decompression to a separate thread.

Yes. Zack has a branch for that threaded-trace. It got deferred
because there were bigger bottlenecks elsewhere but they have been
addressed now.

Jose


More information about the apitrace mailing list