llg3d.solvers.profiling¶ Profiling utilities for solvers. Functions timeit(func) Decorator to time functions only if profiling is enabled. timeit(func)[source]¶ Decorator to time functions only if profiling is enabled. Parameters: func (Callable) – The function to time. Returns: A wrapped function that records timing stats to solver.profiling_stats. Return type: Callable