Record user events with No OS

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • 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 Source Code

      1. SEGGER_SYSVIEW_OnUserStart()
      and

      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.