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.
    • Hello,

      Thank you for your inquiry.
      All needed information about SystemView integration can be found in the SystemView user guide UM08027.
      Specifically the integration guide of an OS can be used as reference even for non OS applications as most SystemView functions are not OS exclusive. The chapter will also give code examples for implementation.

      Best regards,
      Nino
      Please read the forum rules before posting: Forum Rules

      Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support contact us per e-mail.
      The following contact form can be used for this: Contact Us