Wednesday, May 23rd 2018, 7:34am UTC+2

You are not logged in.

  • Login
  • Register

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?