Fréchet View  1.6.0
A Tool for Exploring Fréchet Distance Algorithms
frechet::app Namespace Reference

Detailed Description

classes for running the Qt application; multi-core and GPGPU support.

Classes

class  ConcurrencyContext
 a singleton class managing concurrency settings for the application. More...
 
struct  FileEntry
 an entry in the recently opened file list More...
 
class  FileHistory
 keeps track of recently used files. More...
 
class  FrechetViewApplication
 the application singleton More...
 
class  InterruptedException
 thrown by long-runner tasks More...
 
class  WorkerJob
 Background job to run long-runner tasks in a seperate thread. More...
 
class  WorkerJobHandle
 Thread safe access to a WorkerJob. More...
 

Typedefs

typedef std::chrono::high_resolution_clock Clock
 clock with high resolution; used for performing benchmark measurements More...
 
typedef Clock::time_point time_point
 timestamp with high resolution More...
 

Functions

void pushTimer ()
 start a new benchmark timer and push it to stack More...
 
time_point printTimer (std::string label, bool do_print=true)
 clock benchmark More...
 
time_point popTimer (std::string label, bool do_print=true)
 clock benchmark and remove from stack More...
 
time_point printDebugTimer (std::string label)
 clock benchmark and print elapsed time More...
 
time_point popDebugTimer (std::string label)
 clock benchmark and remove from stack More...
 

Typedef Documentation

◆ Clock

typedef std::chrono::high_resolution_clock frechet::app::Clock

clock with high resolution; used for performing benchmark measurements

Definition at line 132 of file concurrency.h.

◆ time_point

typedef Clock::time_point frechet::app::time_point

timestamp with high resolution

Definition at line 136 of file concurrency.h.

Function Documentation

◆ popDebugTimer()

time_point frechet::app::popDebugTimer ( std::string  label)

clock benchmark and remove from stack

Parameters
labeltext info printed to std-out
Returns
elapsed time since starting the last timer

Definition at line 278 of file concurrency.cpp.

◆ popTimer()

time_point frechet::app::popTimer ( std::string  label,
bool  do_print = true 
)

clock benchmark and remove from stack

Parameters
labeltext info printed to std-out
do_printprint value to std-out
Returns
elapsed time since starting the last timer

Definition at line 271 of file concurrency.cpp.

◆ printDebugTimer()

time_point frechet::app::printDebugTimer ( std::string  label)

clock benchmark and print elapsed time

Parameters
labeltext info printed to std-out
Returns
elapsed time since starting the last timer

Definition at line 266 of file concurrency.cpp.

◆ printTimer()

time_point frechet::app::printTimer ( std::string  label,
bool  do_print = true 
)

clock benchmark

Parameters
labeltext info printed to std-out
do_printprint value to std-out
Returns
elapsed time since starting the last timer

Definition at line 233 of file concurrency.cpp.

◆ pushTimer()

void frechet::app::pushTimer ( )

start a new benchmark timer and push it to stack

Definition at line 228 of file concurrency.cpp.