alumet

Crates.ioalumet
lib.rsalumet
version0.6.0
sourcesrc
created_at2024-10-07 07:44:20.700195
updated_at2024-10-07 07:44:20.700195
descriptionModular framework for hardware and software measurement (including energy consumption and more).
homepagehttps://alumet.dev
repositoryhttps://github.com/alumet-dev/alumet
max_upload_size
id1399749
size407,173
Guillaume Raffin (TheElectronWill)

documentation

README

ALUMET core library

This crate contains the core of ALUMET. It is intended to be used as a dependency of a binary crate to create a runnable measurement tool, such as app-agent.

Plugin API

ALUMET provides a plugin API for static and dynamic plugins, written in Rust or C.

Static Rust plugins are regular libary crates, added to the dependencies of the runnable binary, alongside the alumet library crate. They use the public interface of the alumet crate.

Dynamic plugins, on the other hand, do not depend on the alumet crate, but on its exported C API (yes, this is also true for dynamic plugins written in Rust). The C ABI (Application Binary Interface) is used as a stable ABI, because the default Rust ABI is voluntarily unstable across compiler versions.

The exported C API is automatically generated with cbindgen, and can be found in the generated/ folder.

Commit count: 391

cargo fmt