Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AtheMathmo/cpuprofiler
/ functions
Functions
6 in github.com/AtheMathmo/cpuprofiler
⨍
Functions
6
◇
Types & classes
2
↓ 1 callers
Function
check_file_path
(path: P)
src/lib.rs:170
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lib.rs:81
Function
main
()
build.rs:3
Method
start
Start the profiler Will begin sampling once this function has been called and will not stop until the `stop` function has been called. This function
src/lib.rs:130
Method
state
Returns the profiler state # Examples ``` use cpuprofiler::PROFILER; println!("{}", PROFILER.lock().unwrap().state()); ```
src/lib.rs:110
Method
stop
Stop the profiler. This will stop the profiler if it `Active` and return an error otherwise. # Failures - The profiler is `NotActive`.
src/lib.rs:157