Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Measuring packet tracing


Chronological Thread 
  • From: "James Bigler" < >
  • To:
  • Subject: [Manta] Re: Measuring packet tracing
  • Date: Fri, 26 Sep 2008 10:20:19 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TuM4/MMwvT0Xt7vYOGy04v5CpqI1QrQAKgig9i55eY+jKUGTOcTaB0zQwVTCKP0IgY eQf9+drrAKenHa72YtM42aIqa+mWghdFb2jgtYQuRRVFSC9Q61nwPNLGMrgLGsBCOsxm PhUQDJUsV6W3x/ToqpFDQmWLt1s34lFYSaEo8=

Have a look at Engine/PixelSampler/TimeViewSampler.cc

This computes the time to render a group of pixels.  You could
probably use something similar for the SingleSampler or the
JitterSampler to compute the color only for a packet.  Note that you
should use the CPUTime::currentSeconds, so that it will scale across
multiple processors.

James

On Fri, Sep 26, 2008 at 9:46 AM, Biagio Cosenza 
< >
 wrote:
> Hi!
> I would like to know if it's possible to measure how much time does it take
> to trace a packet?
>
> I am looking for  single-packet timing  (not just on average) spent in
> tracing.
>
> I tried with both Manta/Utils classes and clock (measuring clock cycles)
> function, without success. The problem is that this time is too small.
>
> Did you have any experience with this kind of problem?
>
> Thanks, Biagio
>
>
>
> ---
> Biagio Cosenza
> ISISLab, Dip. di Informatica ed Applicazioni "Renato M. Capocelli"
> Universita' degli Studi di Salerno
> http://www.dia.unisa.it/~cosenza
>
>



Archive powered by MHonArc 2.6.16.

Top of page