8000 Please create a counter for ALL spent cycles · Issue #5117 · dfinity/motoko · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Please create a counter for ALL spent cycles #5117

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

Open
vporton opened this issue May 4, 2025 · 2 comments
Open

Please create a counter for ALL spent cycles #5117

vporton opened this issue May 4, 2025 · 2 comments

Comments

@vporton
Copy link
vporton commented May 4, 2025

Please create IC.performanceCounter(2) that will count all spent cycles, including such operations as canister creation (and cycles copied to the created canister).

See example of non-compliance to my idea of IC.performanceCounter(1).

@ggreif
Copy link
Contributor
ggreif commented May 4, 2025

Well, isn't this what you propose just the delta of the cycle balance over longer timespans (modulo the accepted cycles from messages)?

@vporton
Copy link
Author
vporton commented May 4, 2025

Well, isn't this what you propose just the delta of the cycle balance over longer timespans (modulo the accepted cycles from messages)?

Delta but not taking into account changes in the value caused by other fibers of execution and not taking into account cycle transfers by icrc Cycle Ledger API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0