**Describe the refactoring action** Change ProcessTraceEvent.getDuration() to return long or Duration. **Expected benefit** Currently, it returns an int which might be truncated.