quil-lang / qvm

The high-performance and featureful Quil simulator.
Other
411 stars 57 forks source link

Invoke profiler by passing the environment variable DQVM_PROFILE. #174

Closed jmbr closed 5 years ago

jmbr commented 5 years ago

The variable DQVM_PROFILE enables the SBCL statistical profiler and can be set to cpu, time, or alloc.

Usage: DQVM_PROFILE=time mpiexec -n NUM-PROCS sbcl ...

stylewarning commented 5 years ago

does sb-sprof need to be explicitly loaded? I usually need to require it, but you can depend on it with ASDF if you #+sbcl it