Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Process::accumulated_cpu_time feature #1458

Merged
merged 2 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Ignore freebsd in accumulated_cpu_time test
  • Loading branch information
GuillaumeGomez committed Jan 21, 2025
commit c25010a499938585649de8cbe5c8b4d26ff0ef42
5 changes: 4 additions & 1 deletion tests/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,10 @@ fn accumulated_cpu_time() {
atomic.store(true, Ordering::Relaxed);
}

if !sysinfo::IS_SUPPORTED_SYSTEM || cfg!(feature = "apple-sandbox") {
if !sysinfo::IS_SUPPORTED_SYSTEM
|| cfg!(feature = "apple-sandbox")
|| cfg!(target_os = "freebsd")
{
return;
}

Expand Down
Loading