ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
TimerTest Class Reference
Inheritance diagram for TimerTest:
Collaboration diagram for TimerTest:

Protected Member Functions

void TearDown ()

Protected Attributes

std::string output
std::ofstream ofs
std::ifstream ifs
int T_Elapse = 100

Detailed Description

  • Tested Functions:
    • Tick
      • tick 1st time, set start_flag to false
      • tick 2nd time, calculate time duration
    • Start
      • start total time calculation
    • PrintAll
      • print computational processes with time > 0.1 s
    • Finish
      • finish total time calculation
      • print computational processes with time > 0.1 s
    • PrintUntilNow
      • stop total time calculation
      • print total time until now
      • then start total time calculation again

Member Function Documentation

◆ TearDown()

void TimerTest::TearDown ( )
inlineprotected

Member Data Documentation

◆ ifs

std::ifstream TimerTest::ifs
protected

◆ ofs

std::ofstream TimerTest::ofs
protected

◆ output

std::string TimerTest::output
protected

◆ T_Elapse

int TimerTest::T_Elapse = 100
protected

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