gprofng-gui-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When is TSTAMP==0?


From: Vladimir Mezentsev
Subject: Re: When is TSTAMP==0?
Date: Thu, 1 Jun 2023 16:45:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0



On 6/1/23 14:19, Peter Kessler OS via Gprofng-gui-devel wrote:

When does gprofng start counting time for TSTAMP filters?


0 — the beginning of the experiment.


I have a program that reports the times at which certain program phases start and stop.  Is there a way to coordinate those program times with the TSTAMP filters available in gprofng? 


TSTAMP is in nanoseconds.
For example, to see experiment between 1 and 2 seconds:
   gprofng display text  -filter '(TSTAMP > 100000000) && (TSTAMP < 200000000)' -func  test.1.er


If you use gprofng-gui:
  go to the 'Timeline' view.
  Select time range
  Right click
  Select filter.


Point mouse on the filter (lower left corner). You will see the current filter. This filter you can use in `gprofng display text -filter`


-Vladimir


 

I see, for example, "Start Time    : Wed May 31 12:27:02 2023" in the experiment overview, but that doesn't have nearly the resolution I think I need to write accurate TSTAMP filters.  Maybe this is a feature request: Could the overview print out the Unix epoch time (e.g., milliseconds since of TSTAMP==0?  Then I could use Unix epoch time available in my application to find values to put in gprofng filters.

 

Thanks for considering this request.

 

                                                ... peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]