Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337692

Summary: [traceview] Physical times from trace are divided by 1000
Product: z_Archived Reporter: Ansgar Radermacher <ansgar.radermacher>
Component: GeclipseAssignee: Harald Kornmayer <harald>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Ansgar Radermacher CLA 2011-02-21 04:00:41 EST
The function readTime in OTFUtils (in package geclipse.eventgraph.tracereader.otf) divides time values by 1000. The result is that the physical view of traces which use the OTF default resolution of 1000 ticks per second becomes almost useless as the time resolution is cut to 1 second.

I guess, the division has been introduced to avoid problems with too big values (exceeding max int). Besides the proper fix of allowing the processing of long-int values, another workaround would be to make the divisor a property setting (but set it to no-scaling by default - since if I use a high resolution in my trace, I probably like to see this resolution in my viewer.