Monday, May 21st 2018, 1:06pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

blasagna

Beginner

Date of registration: May 8th 2018

Posts: 2

1

Wednesday, May 9th 2018, 3:27pm

Record user events with No OS

Are there any examples or snippets of how to measure/record user application events or subroutines on a bare metal system? I'm able to use

C/C++ Source code

1
SEGGER_SYSVIEW_OnUserStart()
and

C/C++ Source code

1
SEGGER_SYSVIEW_OnUserStop()
, but the User Start and User Stop events are recorded under the Idle context. Ultimately I'd like to get a more accurate undestanding of the CPU utilization of my firmware, so I'd like to be able to attribute certain amounts of processing to a context that is not Idle.

blasagna

Beginner

Date of registration: May 8th 2018

Posts: 2

2

Wednesday, May 16th 2018, 5:27pm

Could anyone tell me if this is possible for a bare metal solution using SystemView?