##// END OF EJS Templates
perf: add an option to profile the benchmark section...
perf: add an option to profile the benchmark section Running a perf command with --profile gather data for the whole command execution, including setup and cleanup. This can significantly alter the data. To work around this we introduce a new option, it trigger the profiling of only one iteration of the benchmarked section.

File last commit:

r40154:cd490ac9 default
r42552:3293086f default
Show More
build.rs
9 lines | 173 B | application/rls-services+xml | RustLexer
extern crate cc;
fn main() {
cc::Build::new()
.warnings(true)
.file("src/sendfds.c")
.file("src/sighandlers.c")
.compile("procutil");
}