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

Bug 355551

Summary: [LTTng] Statistics view - Correct calculation of cumulative CPU time
Product: z_Archived Reporter: Mathieu Denis <mathieu.denis>
Component: LinuxToolsAssignee: Bernd Hufmann <bernd.hufmann>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: normal    
Priority: P3 CC: bernd.hufmann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 301631    
Attachments:
Description Flags
Fix how the cumulative CPU time is updated bernd.hufmann: iplog+

Description Mathieu Denis CLA 2011-08-23 14:13:35 EDT
Build Identifier: 20110526-1053

The trace level node doesn't show the sum of the cumulative cpu time statistics for all CPU nodes.

Reproducible: Always

Steps to Reproduce:
1.Open a trace in the statistics view
2.Expand the first node (top-level node) of the trace and expand the CPU section
3.The sum of the cumulative CPU time statistics for all the CPU will not be equal to the cumulative CPU time of the top-level node
Comment 1 Mathieu Denis CLA 2011-08-23 14:17:26 EDT
This bug was transferred from the following bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=292408
Comment 2 mathieu.denis CLA 2011-08-24 20:01:01 EDT
Created attachment 202110 [details]
Fix how the cumulative CPU time is updated

This patch is applicable on the package org.eclipse.linuxtools.lttng.ui
Comment 3 Bernd Hufmann CLA 2011-08-29 15:11:59 EDT
Hi Mathieu

Your proposed change makes sense. I'm going to commit this fix.

Thanks, 
Bernd
Comment 4 Bernd Hufmann CLA 2011-08-30 08:27:05 EDT
Comment on attachment 202110 [details]
Fix how the cumulative CPU time is updated

Patch committed on master and stable-08.
Comment 5 Bernd Hufmann CLA 2011-08-30 08:28:33 EDT
Patch fixes the bug.
Comment 6 Francois Chouinard CLA 2011-09-28 17:39:55 EDT
Delivered with 0.8.1