[go: up one dir, main page]

0% found this document useful (0 votes)
16 views22 pages

Unit-5 HMI Analytics Profiling and Debugging

The document discusses HMI Analytics, Profiling, and Debugging, emphasizing the importance of data analytics in optimizing business performance and decision-making. It outlines various types of data analytics, the steps involved, and the value generated for stakeholders through actionable insights. Additionally, it covers profiling techniques for program optimization and debugging methods for error analysis and performance improvement.

Uploaded by

sunaybs.ee22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views22 pages

Unit-5 HMI Analytics Profiling and Debugging

The document discusses HMI Analytics, Profiling, and Debugging, emphasizing the importance of data analytics in optimizing business performance and decision-making. It outlines various types of data analytics, the steps involved, and the value generated for stakeholders through actionable insights. Additionally, it covers profiling techniques for program optimization and debugging methods for error analysis and performance improvement.

Uploaded by

sunaybs.ee22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

HMI ANALYTICS,

PROFILING AND
DEBUGGING
MS/EHM
15 Sep 21
HMI Analytics

What is
Data
Analytics?

 Science of analyzing raw data to make conclusions about that information.


 Mechanical processes and algorithms that work over raw data for human consumption.

2 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Data Analytics Steps

Understanding
Data
Business Data cleanup
Collection
Requirements

3 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

Descriptive Diagnostic
• This describes what has • This focuses more on why
happened over a given something happened.
period.

Types of Data
Analytics

Predictive Prescriptive
• This moves to what is likely • This suggests a course of
going to happen in the near action.
term.

4 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Why Is Data Analytics Important?


 Helps businesses optimize their performances.
 Helps reduce costs by identifying more efficient ways of doing business.
 To make better business decisions.
 Analyze customer trends and satisfaction,
 New—and better—products and services.

5 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Genesis and Problem Domain

HU / CM / IVI
Requirement

Product End Product


of Life Design

After Sales
Production
Service

… CM Car Multimedia
IVI In-Vehicle Infotainment
HU Head Unit

6 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Problem Corpus

Customer
Reported

Problem
Analysis

Customer
Support No
Used need
?? ??

Usage Unknown
Survey ??

7 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Solution Fundamental

Common
Local
Error Log Query Local Help
Analytics
History

User Statistical User


Log Mining Actions Modeling Survey

Failure System Runtime


Analytics
Pattern Data Insight

8 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Eco System

Head Unit Cloud Server

Connectivity

Remote Log
Error User
Log Action Configuration
Library
System Field Data
Data
Anonymization
Less Travel

9 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Use Case: App Usage Profiling

User Data User Statistical Usage


Actions Modeling Survey

Analytics

Survey
Information

10 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Use Case: UI Enhancement from Historic Data

User Data User Runtime


Analytics
Actions Insight

Analytics

Epoch Navi
MyPOIs Previous
0:00 6:59
Nearby Destinations
Favourite
7:00 11:59 POIs Nearby
Destinations
Previous
12:00 16:59 Address Input
Destinations
Favourite
16:59 0:00
Intuitive
Destinations
Address Input

App usage statistics (24 hours)

11 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Use Case: App Response Profiling

(U+S) Data User System Runtime


Analytics
Action Data Insight

Analytics

Runtime
Efficiency Model
Touch screen profile

12 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Use Case: Application of Log Mining

Log Failure
Error Log
Mining Pattern

Error Log
4-5 hour >> 3-4 sec
Sequence
Pattern Once per problem
Instances
• Complete Avoidable
• Incomplete

Sequence A step closer


Pattern
Model

Quicker
Analysis

13 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Values Generated

• More • Field
Intuitive Issues Create value
We focus on exciting our
Dev. Team customers and users with

• Local • Quicker
innovative and reliable products
along the customer journey.
Help Thus we are an appreciated
partner delivering valued
(ongoing) solutions.

• Instant
Fix
• Customer (future)
Support • Diverse
• Realistic
Stake • Less Cost
holders
• Pragmatic
• New
Model

• Smarter
• Less Cost

14 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Analytics

 Understand Products

Understand
Requirement Products
Analysis We create our products based
on understood customer/user
needs and requirements. We
fully understand our product
Field designs and production
processes, using suitable
Data models describing their
properties.

Actionable Goal Design


Insight Evolution Alignment

Analytics

Implementation
Testing
Log
Mining

15 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
Summary

 Data Analytics uses algorithms to make conclusions about the raw information.
 Understanding Business requirements, collecting the data and cleaning them up are the different
steps involved
 Data analytics may be of descriptive, diagnostic, predictive and prescriptive types.
 HMI Analytics helps in solving problems like deficit information provided by customer for issues,
problem analysis by developer, quick customer support and insights on usage.
 HMI Analytics provides solutions like Usage Survey, Runtime insights, Local help and Failure pattern
prediction.
 HMI Analytics adds value to Multiple Stake holders involved in the business, like User, Development
Team and OEM
 Actionable insights will be used as a feedback thus improving the system.

16 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Profiling

 What is Profiling?
 Dynamic program analysis for measuring system parameters
 Aids program optimization
 Helpful in performance engineering.
 Why it is important?
 For understanding program behavior
 Performance of Software architectures
 To identify critical sections of code

17 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Profiling

 How it’s done?


 By instrumenting either the program source code or its binary executable form using a tool called a profiler
 Profilers may use several techniques
‒ Event-based: Events are trapped for profiling
‒ Statistical: probes the target program's call stack at regular intervals using operating system interrupts.
‒ Instrumented: This technique effectively adds instructions to the target program to collect the required information.
‒ Simulation: Data collected interactively and selectively by running the unmodified program under simulation

18 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Profiling
1s

 Some of the interesting profiling parameters 3 fps


 FPS / Frame Rate: Number of frames rendered per
second.
 Frame Render Time: Time taken for a frame to render. 6 fps

 Camera Render Time: Time taken for a camera to render.


9 fps

 Memory Utilization: Measure of bytes that were read and


written to memory.
 VRAM Statistics: Defines how loaded the VRAM is.
 GPU Memory Consumption: Total number of VRAM bytes
used.

19 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Profiling

 Some of the interesting profiling parameters


 GPU Load: Defines how loaded the GPU is.
 GPU Idle cycles - Number of GPU cycles in idle state.
 Draw calls: Total number of draw calls submitted to GPU.

 CPU HMI Utilization - Clock cycles the HMI task was busy on any core.
 CPU HMI Swaps - Number of task swaps for the HMI task.
 CPU HMI Memory Usage - Number of heap bytes currently used by the HMI task.
 CPU HMI Memory peak - Peak usage of heap bytes of the HMI task.
 CPU HMI Stack Usage - Number of bytes used on the stack of the HMI task.
 CPU HMI Stack Peak - Peak usage of stack bytes of the HMI task.

20 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Debugging

 Postmortem debugging
 Error Memory
‒ Stores all occurred errors over lifetime of a system permanently.
‒ Stores all critical errors in a central backend to have an easier handling when reading and analyzing them
‒ To have a limited fix size of the error memory the entries are mostly written in a kind of ring buffer.
‒ Redirects the error memory output to a connected USB device or write it directly to the Bosch logging interface Trace/DLT.
 Tracing using external tool interfaced with PC
‒ Instrumented code will print the traces to trace buffer if tracing is enabled.
‒ Trace buffers can be read using USB or Ethernet interface which is then connected to PC.
‒ Traces can be filtered using different levels (like FATAL, Info, etc.) before logging.
‒ Generally used for debugging during development phase and not enabled in the release software.

21 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.
HMI Debugging

 Runtime Debugging
 Debugging can happen in both Host and Simulation environment
 Host based Tools : GDB(GNU Debugger), Lauterbach, etc.
 Simulation based tools: Microsoft Visual Studio, Eclipse, etc.
 Useful features to look for
‒ Breakpoints to pause the program execution on reaching a particular line of code
‒ Step by Step execution to check the internals of functions
‒ Watch variables and their values
‒ Backtracking to modify the value and rerun the executed code line.

22 Internal | MS/EHM | 20 Apr 23


© Bosch Global Software Technologies Private Limited 2023. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
.

You might also like