mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-08 04:18:42 +03:00
move process info into primitives
This commit is contained in:
parent
08a01d26dc
commit
69cb30a874
5 changed files with 248 additions and 169 deletions
|
@ -58,6 +58,15 @@ size_t _mi_prim_numa_node(void);
|
|||
// Return the number of logical NUMA nodes
|
||||
size_t _mi_prim_numa_node_count(void);
|
||||
|
||||
// High resolution clock
|
||||
mi_msecs_t _mi_prim_clock_now(void);
|
||||
|
||||
// Return process information
|
||||
void _mi_prim_process_info(mi_msecs_t* utime, mi_msecs_t* stime,
|
||||
size_t* current_rss, size_t* peak_rss,
|
||||
size_t* current_commit, size_t* peak_commit, size_t* page_faults);
|
||||
|
||||
|
||||
|
||||
#endif // MIMALLOC_PRIM_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue