Replies: 1 comment
-
Sorry, I'm not sure what your question is. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings!
I'm trying to figure out the optimal way to have a number of alloc / dealloc metrics.
For now, I have only idea, is make wrapper for system allocator and read atomic counter and "count" them before
PrometheusHandle::render
.But this is "unstable" way, because I can't just increase counter in
fn alloc() / dealloc()
because std allocator have a lot of conditions based on alignment and other stuffs. For now, result code will be like this:Beta Was this translation helpful? Give feedback.
All reactions