rust-perfcnt

所属分类:工具库
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2022-12-15 19:43:00
上 传 者sh-1993
说明:  对硬件性能计数器进行编程的锈蚀库。,
(Rust library to program hardware performance counter.,)

文件列表:
.travis.yml (559, 2022-12-15)
AUTHORS (152, 2022-12-15)
Cargo.toml (966, 2022-12-15)
LICENSE.md (1080, 2022-12-15)
examples/ (0, 2022-12-15)
examples/context_switches.rs (726, 2022-12-15)
examples/create_raw.rs (849, 2022-12-15)
rust-toolchain (7, 2022-12-15)
src/ (0, 2022-12-15)
src/bin/ (0, 2022-12-15)
src/bin/list.rs (932, 2022-12-15)
src/bin/parse.rs (1957, 2022-12-15)
src/bin/stats.rs (1917, 2022-12-15)
src/lib.rs (1018, 2022-12-15)
src/linux/ (0, 2022-12-15)
src/linux/hw_breakpoint.rs (668, 2022-12-15)
src/linux/mod.rs (40871, 2022-12-15)
src/linux/parser.rs (20411, 2022-12-15)
src/linux/perf_event.rs (14773, 2022-12-15)
src/linux/perf_file.rs (7083, 2022-12-15)
src/linux/perf_format.rs (19728, 2022-12-15)
tests/ (0, 2022-12-15)
tests/linux_generic_events.rs (3119, 2022-12-15)

# perfcnt [![Build Status](https://travis-ci.org/gz/rust-perfcnt.svg)](https://travis-ci.org/gz/rust-perfcnt) [![Crates.io](https://img.shields.io/crates/v/perfcnt.svg)](https://crates.io/crates/perfcnt) A library to program performance counters in rust. ## Documentation * [API Documentation](https://docs.rs/perfcnt/) * See the [`examples/`](https://github.com/gz/rust-perfcnt/tree/master/examples) directory for more code-snippets on how to use the library to create counters. ## Provided Programs * *perfcnt-list*: Lists all architecture specific events available on the current machine (currently only supports Intel x86). ## Known limitations * Linux support without breakpoints and tracepoints * No Windows or MacOS X support * Missing raw AMD and ARM aarch64 events ## Linux Kernel Capabilities * Generally, this requires the **CAP_PERFMON** and **CAP_SYS_PTRACE** capabilities to run * On Kubernetes/Docker these are referred to as **PERFMON** and **SYS_PTRACE**

近期下载者

相关文件


收藏者