HalidoscopeOptions#
-
struct HalidoscopeOptions#
Options for Pipeline::halidoscope() and GeneratorBase::halidoscope().
Public Members
-
std::optional<std::string> path = std::nullopt#
(Optional) Path to the halidoscope executable, or just its name if it’s on $PATH.
If unset, defaults to looking up “halidoscope” on $PATH.
-
std::optional<std::string> output_dir = std::nullopt#
(Optional) Path to the non-volatile directory for storing Halidoscope-generated trace binaries and profiler output.
-
std::optional<int> profile_runs = std::nullopt#
(Optional) The number of runs for the profiler execution.
If unset, the pipeline is run repeatedly for at least one second, not counting the first run (which includes JIT compilation). A 0 value indicates that profiling should be skipped.
-
size_t trace_file_size_limit = 1000#
(Non-optional) A limit on the size of the trace file in megabytes, to avoid accidentally filling the disk with a massive trace.
Defaults to 1 gigabyte.
-
std::optional<std::string> path = std::nullopt#