ProfileTrials

class ProfileTrials : public feasst::Analyze

This class is deprecated. Use ProfileCPU instead.

Output the percentage of CPU time spent on each Trial. Consider using trials_per_update != 1, because profiling may be time consuming.

Arguments

Public Functions

std::string header(const MonteCarlo &mc) const

Return the header for writing.

void initialize(MonteCarlo *mc)

Initialize and precompute before trials.

void update(const MonteCarlo &mc)

Perform update action.

std::string write(const MonteCarlo &mc)

Perform write action.