Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355551 - [LTTng] Statistics view - Correct calculation of cumulative CPU time
Summary: [LTTng] Statistics view - Correct calculation of cumulative CPU time
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Bernd Hufmann CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 301631
  Show dependency tree
 
Reported: 2011-08-23 14:13 EDT by Mathieu Denis CLA
Modified: 2022-01-13 14:53 EST (History)
1 user (show)

See Also:


Attachments
Fix how the cumulative CPU time is updated (7.29 KB, patch)
2011-08-24 20:01 EDT, mathieu.denis CLA
bernd.hufmann: iplog+
Details | Diff

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