8000 Moving Avg · Issue #3 · orkblutt/MinerLamp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Moving Avg #3
Open
Open
@Malapha

Description

@Malapha

I tried to implement a moving avg. But I don't know c++ so I ran from error to error - damn oldschool basic...

Idea would be to calculate a moving avg for the Hashrate without the Need to store values:

Loop (
k++
avg_hashrate=avg_hashrate+ (new_hashrate - avg_hashrate)/k
)

this would enter a state of near Equilibrium over time without the need to store values. One could have a check like
?mod(k)=20 or 50;k=0;k

or just let k constant at 20 to have some tiny but noticable changes (i like this one most)

What do u think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0