Skip to main content

init_shared_stats

Function init_shared_stats 

Source
pub fn init_shared_stats(energy: i64) -> Result<*mut SharedStats, Error>
Expand description

Allocate and initialize shared stats.

ยงErrors

Returns an error if shared memory allocation fails.