Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable speed based on cpu usage? #1

Closed
steve02081504 opened this issue Dec 17, 2021 · 6 comments · Fixed by #2
Closed

Variable speed based on cpu usage? #1

steve02081504 opened this issue Dec 17, 2021 · 6 comments · Fixed by #2
Assignees
Labels
enhancement New feature or request

Comments

@steve02081504
Copy link

Like https://github.com/Kyome22/RunCat_for_windows, it would be interesting to add a pattern like this
And it would be nice to have a button to quickly set "always on top"!

@nikolat nikolat added the enhancement New feature or request label Dec 17, 2021
@nikolat nikolat self-assigned this Dec 17, 2021
nikolat added a commit that referenced this issue Dec 17, 2021
nikolat added a commit that referenced this issue Dec 17, 2021
@nikolat
Copy link
Owner

nikolat commented Dec 17, 2021

I was actually inspired by the Party Parrot CPU meter.
https://forest.watch.impress.co.jp/docs/serial/yajiuma/1251932.html

The speed of the icon changes depending on the cpu usage.
But it's choppy, sorry.
I used ccpuid.dll from CSAORI to get the CPU usage rate, but thanks anyway.

@steve02081504
Copy link
Author

What I was trying to achieve was to make the shell's animation speed vary according to cpu usage, haha
I'm still reading the source code of this ghost, maybe it's a bit difficult to implement this feature

Anyway, thanks

@steve02081504
Copy link
Author

I would like to know what causes the lagging of the icon animation?
Does it sometimes lag on and off because ssp doesn't have a precise wait time?

@nikolat
Copy link
Owner

nikolat commented Dec 17, 2021

The OnSecondChange event used to perform the constant speed operation, but it is processed in a separate thread now.
This may have had an adverse effect.

@steve02081504
Copy link
Author

Thanks, I understand
Good night!

@nikolat nikolat linked a pull request Dec 17, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants