|
HΦ
3.2.0
|
File for defining functions to write log messages. More...
#include <time.h>#include "Common.h"#include "log.h"#include "FileIO.h"
Include dependency graph for log.c:Go to the source code of this file.
Functions | |
| int | TimeKeeper (struct BindStruct *X, const char *cFileName, const char *cTimeKeeper_Message, const char *cWriteType) |
| Functions for writing a time log. More... | |
| int | TimeKeeperWithStep (struct BindStruct *X, const char *cFileName, const char *cTimeKeeper_Message, const char *cWriteType, const int istep) |
| Functions for writing a time log. More... | |
| int | TimeKeeperWithRandAndStep (struct BindStruct *X, const char *cFileName, const char *cTimeKeeper_Message, const char *cWriteType, const int irand, const int istep) |
| Functions for writing a time log. More... | |
File for defining functions to write log messages.
Definition in file log.c.
| int TimeKeeper | ( | struct BindStruct * | X, |
| const char * | cFileName, | ||
| const char * | cTimeKeeper_Message, | ||
| const char * | cWriteType | ||
| ) |
Functions for writing a time log.
| [in] | X | Define List for parameters. |
| [in] | cFileName | character for a file name of writing. |
| [in] | cTimeKeeper_Message | character for a sentence writing in a file. |
| [in] | cWriteType | character for determining writing option for fopen. |
| 0 | normally finished. |
| -1 | unnormally finished. |
Definition at line 42 of file log.c.
References DefineList::CDataFileHead, childfopenMPI(), D_FileNameMax, BindStruct::Def, and TimeKeeperWithStep().
Referenced by CalcByLanczos(), CalcByLOBPCG(), CalcByTEM(), CalcSpectrum(), CalcSpectrumByBiCG(), CalcSpectrumByTPQ(), CG_EigenVector(), diagonalcalc(), expec_cisajs(), expec_cisajscktaltdc(), expec_energy_flct(), Lanczos_EigenValue(), Lanczos_EigenVector(), LOBPCG_Main(), main(), OutputLanczosVector(), Read_sz(), ReadInitialVector(), and sz().
Here is the call graph for this function:
Here is the caller graph for this function:| int TimeKeeperWithRandAndStep | ( | struct BindStruct * | X, |
| const char * | cFileName, | ||
| const char * | cTimeKeeper_Message, | ||
| const char * | cWriteType, | ||
| const int | irand, | ||
| const int | istep | ||
| ) |
Functions for writing a time log.
| [in] | X | Define List for parameters. |
| [in] | cFileName | character for a file name of writing. |
| [in] | cTimeKeeper_Message | character for a sentence writing in a file. |
| [in] | cWriteType | character for determining writing option for fopen. |
| [in] | irand | int for writing a number of seed of rand. |
| [in] | istep | int for writing steps of progress for a function under calculating. |
| 0 | normally finished. |
| -1 | unnormally finished. |
Definition at line 117 of file log.c.
References DefineList::CDataFileHead, childfopenMPI(), D_FileNameMax, and BindStruct::Def.
Referenced by CalcByTPQ(), expec_cisajs(), expec_cisajscktaltdc(), and TimeKeeperWithStep().
Here is the call graph for this function:
Here is the caller graph for this function:| int TimeKeeperWithStep | ( | struct BindStruct * | X, |
| const char * | cFileName, | ||
| const char * | cTimeKeeper_Message, | ||
| const char * | cWriteType, | ||
| const int | istep | ||
| ) |
Functions for writing a time log.
| [in] | X | Define List for parameters. |
| [in] | cFileName | character for a file name of writing. |
| [in] | cTimeKeeper_Message | character for a sentence writing in a file. |
| [in] | cWriteType | character for determining writing option for fopen. |
| [in] | istep | int for writing steps of progress for a function under calculating. |
| 0 | normally finished. |
| -1 | unnormally finished. |
Definition at line 78 of file log.c.
References DefineList::CDataFileHead, childfopenMPI(), D_FileNameMax, BindStruct::Def, and TimeKeeperWithRandAndStep().
Referenced by CalcByTEM(), expec_cisajs(), expec_cisajscktaltdc(), expec_energy_flct(), Lanczos_EigenValue(), Lanczos_GetTridiagonalMatrixComponents(), LOBPCG_Main(), and TimeKeeper().
Here is the call graph for this function:
Here is the caller graph for this function: