LMMS
Loading...
Searching...
No Matches
lmms::PerfLogTimer Class Reference

The PerfLog class. More...

#include <PerfLog.h>

Public Member Functions

 PerfLogTimer (const QString &name)
 ~PerfLogTimer ()
void begin ()
void end ()

Private Attributes

QString name
PerfTime begin_time

Detailed Description

The PerfLog class.

Measures time between construction and destruction and prints the result to stderr, along with name. Alternatively, call begin() and end() explicitly.

Constructor & Destructor Documentation

◆ PerfLogTimer()

lmms::PerfLogTimer::PerfLogTimer ( const QString & name)

◆ ~PerfLogTimer()

lmms::PerfLogTimer::~PerfLogTimer ( )

Member Function Documentation

◆ begin()

void lmms::PerfLogTimer::begin ( )

◆ end()

void lmms::PerfLogTimer::end ( )

Member Data Documentation

◆ begin_time

PerfTime lmms::PerfLogTimer::begin_time
private

◆ name

QString lmms::PerfLogTimer::name
private

The documentation for this class was generated from the following files: