MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / parses_sysctl_value

Function parses_sysctl_value

src/executor/wall_time/profiler/linux_sysctl.rs:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51 #[test]
52 fn parses_sysctl_value() {
53 assert_eq!(parse_sysctl_value("kernel.kptr_restrict = 0\n").unwrap(), 0);
54 }
55
56 #[test]
57 fn parses_negative_sysctl_value() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected