radis.misc.profiler moduleΒΆ

Profiler class, for printing time spent on various steps during Spectrum calculation under SpectrumFactory based on verbose level.

Also stores Spectrum calculation time dependent parameters, under the attribute

final

Routine ListingΒΆ


class Profiler(verbose)[source]ΒΆ

Bases: object

A class to store Spectrum calculation time dependent parameters, under the attribute final of SpectrumFactory.

It also hold functions to print all the entities based on verbose value.

See also

input, :py:attr:`~radis.misc.profiler.Profiler,

add_entry(dictionary, key, verbose, count)[source]ΒΆ
add_time(dictionary, key, verbose, count, time_calculated)[source]ΒΆ
start(key, verbose_level, optional='')[source]ΒΆ
stop(key, details)[source]ΒΆ