Skip to content

tMin_ resets when an iteration has 0 us duration. #1636

@rikba

Description

@rikba

The timing class resets tMin_ when tMin_==0. I guess this was set because tMin_ initializes with 0 . However, it is well possible that during runtime a timing iteration will only last 0 micro seconds. Then tMin_ keeps resetting.

An easy fix would probably be to initialize tMin_(SIZE_MAX) or whatever the maximum size for this variable is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions