Help string for --pprof.
This commit is contained in:
parent
a5b5ccb291
commit
0ff10e99dd
@ -81,6 +81,7 @@ pub struct Opt {
|
|||||||
/// Select scene to render, one of: "bench", "book", "tutorial" "cube", "bvh", "test"
|
/// Select scene to render, one of: "bench", "book", "tutorial" "cube", "bvh", "test"
|
||||||
#[structopt(long = "model", default_value = "test")]
|
#[structopt(long = "model", default_value = "test")]
|
||||||
pub model: Model,
|
pub model: Model,
|
||||||
|
/// Path to store pprof profile data, i.e. /tmp/cpuprofile.pprof
|
||||||
#[structopt(long = "pprof", parse(from_os_str))]
|
#[structopt(long = "pprof", parse(from_os_str))]
|
||||||
pub pprof: Option<PathBuf>,
|
pub pprof: Option<PathBuf>,
|
||||||
/// Use acceleration data structure, may be BVH or kd-tree depending on scene.
|
/// Use acceleration data structure, may be BVH or kd-tree depending on scene.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user