Skip to content

Extreme CPU usage by the function findAndConnectToBoard() #3

Closed

Description

@placeholdername43

Describe the bug
3 Billion Cycles - same as updatelog()

To Reproduce
Steps to reproduce the behavior:

  1. Launch the program
  2. View cpu cycle usage in process explorer

Expected behavior
No excess usage of cpu cycles

Additional context
Caused by findAndConnectToBoard() constantly looping unnecessarily

Activity

  1. andymanic commented on Aug 22, 2023

    @andymanic
    Contributor

    I wanted to update this as I had a brief look last night after finally getting Visual Studio's performance logger working again. The same code in the OSRTT software is functionally 0% CPU usage, but in OSLTT it's insane. Happily I found the problem and I'll have this one fixed in the next update - it drops CPU usage by 10% on my system. I'll close this once the update is live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions