Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337692 - [traceview] Physical times from trace are divided by 1000
Summary: [traceview] Physical times from trace are divided by 1000
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Geclipse (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Harald Kornmayer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 04:00 EST by Ansgar Radermacher CLA
Modified: 2014-01-09 16:00 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.