Skip to content

macOS ARM - incorrect process CPU times #79

Open
@andrewkroh

Description

@andrewkroh

Based on similar code in other projects it looks like the process CPU times may not be scaled correctly on Apple M1 / M2 hardware (and are off by a factor of 125/3).

status.CPU.User.Ticks = opt.UintWith(uint64(info.ptinfo.pti_total_user) / uint64(time.Millisecond))
status.CPU.System.Ticks = opt.UintWith(uint64(info.ptinfo.pti_total_system) / uint64(time.Millisecond))

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:Elastic-AgentLabel for the Agent teambugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions