mcpele  1.0.0
The Monte Carlo Python Energy Landscape Explorer
 All Classes Namespaces Functions Variables Typedefs
Public Types | Public Member Functions
mcpele::progress Class Reference

#include <progress.h>

List of all members.

Public Types

typedef size_t index_t
typedef double float_t
typedef long long int long_t

Public Member Functions

 progress (const index_t totalin)
index_t get_current_percentage () const
void next (const index_t idx, std::ostream &stm=std::cout)
void print_time_percentage (const index_t smp, std::ostream &stm)
void update_and_print_percentage_complete (std::ostream &stm)
void get_and_print_elapsed_time (std::ostream &stm)
void estimate_and_print_time_to_complete (const index_t smp, std::ostream &stm)
void estimate_and_print_total_time (const index_t smp, std::ostream &stm)
void estimate_and_print_completion_local_time (const index_t smp, std::ostream &stm)
void print_estimated_time (const long_t inp, std::ostream &stm)

Detailed Description

Definition at line 36 of file progress.h.


Member Typedef Documentation

typedef double mcpele::progress::float_t

Definition at line 39 of file progress.h.

typedef size_t mcpele::progress::index_t

Definition at line 38 of file progress.h.

typedef long long int mcpele::progress::long_t

Definition at line 40 of file progress.h.


Constructor & Destructor Documentation

mcpele::progress::progress ( const index_t  totalin) [inline]

Definition at line 49 of file progress.h.


Member Function Documentation

void mcpele::progress::estimate_and_print_completion_local_time ( const index_t  smp,
std::ostream &  stm 
) [inline]

Definition at line 115 of file progress.h.

void mcpele::progress::estimate_and_print_time_to_complete ( const index_t  smp,
std::ostream &  stm 
) [inline]

Definition at line 103 of file progress.h.

void mcpele::progress::estimate_and_print_total_time ( const index_t  smp,
std::ostream &  stm 
) [inline]

Definition at line 109 of file progress.h.

void mcpele::progress::get_and_print_elapsed_time ( std::ostream &  stm) [inline]

Definition at line 97 of file progress.h.

Definition at line 57 of file progress.h.

void mcpele::progress::next ( const index_t  idx,
std::ostream &  stm = std::cout 
) [inline]

Definition at line 59 of file progress.h.

void mcpele::progress::print_estimated_time ( const long_t  inp,
std::ostream &  stm 
) [inline]

Definition at line 125 of file progress.h.

void mcpele::progress::print_time_percentage ( const index_t  smp,
std::ostream &  stm 
) [inline]

Definition at line 70 of file progress.h.

void mcpele::progress::update_and_print_percentage_complete ( std::ostream &  stm) [inline]

Definition at line 91 of file progress.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs