⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slog_prof_close.3

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 3
字号:
.TH SLOG_PROF_Close 3 "4/24/2000" " " "SLOG_API".SH NAMESLOG_PROF_Close \-  Write the SLOG_prof_t onto the disk .SH SYNOPSIS.nfint SLOG_PROF_Close( SLOG_STREAM  *slog ).fi.SH MODIFIED INPUT VARIABLES .PD 0.TP.B slog - pointer to the SLOG_STREAM where SLOG Display Profile Table islocated..PD 1.SH MODIFIED OUTPUT VARIABLES .PD 0.TP.B returned value - integer status code..PD 1.SH USAGE NOTES ON THIS SUBROUTINE Notes on the Addition of Extra Interval Description.This note is to clarify the usage of SLOG_PROF_XXX() routinesespecially while the user wants to add extra interval descriptionto the logfile when the process of addition of interval recordsto the logfile has been started, for instance if one needs toadd user marker interval records.Also, the term interval descriptor refers to an entry inthe Display Profile, so is the term interval information,abbrev. as _IntvlInfo_.  These 3 terms are used interchangably.Under normal circumstances, the Display Profile table is createdby first opening the section of the logfile for storing the tableusing SLOG_PROF_Open().  Then add the interval description usingSLOG_PROF_AddIntvlInfo() and close the table section bySLOG_PROF_Close().In the case that the logfile involves interval records whoseinterval type are NOT known until the process of insertingof the interval records to the logfile has been started, oneshould open the SLOG_PROF_Open().  Then add the known recorddefinitions using SLOG_PROF_AddIntvlInfo().  However, one shouldNOT call SLOG_PROF_Close() to close the table section.  Instead,SLOG_PROF_SetExtraNumOfIntvlInfos() should be called to setthe extra number of interval description entries needed( thenumber can be greater than what one actually needs ).  Thenwhen user encounters a new interval record type,SLOG_PROF_AddExtraIntvlInfo() can then be called to add the newinterval record type to the Display Profile table.  Thismechanism is very similar to that of Record Definition Table.Except for Record Definition Table, the above procedure has tobe done before adding the interval record to the logfile usingSLOG_Irec_ToOutputStream() which does NOT allow intervalrecord of with unknown interval type to the Record Definitiontable.  For Display Profile, the same procedure is implmentedto simplify the interface for user to store interval descriptioninformation to the logfile, the interval description informationis NOT important till logfile needs to be displayed graphically..br.SH INCLUDE FILE NEEDED slog_profile.h.SH NOTES ON SLOG RETURN STATUS CODE There are 5 allowed SLOG returned status codes.  They includeSLOG_SUCCESS, SLOG_FAIL and SLOG_EOF.  Their actual valuesare defined in slog.hSLOG_SUCCESS is returned when no error is encountered.SLOG_FAIL is returned when error is encounted.SLOG_EOF is returned when End of file is encounted.There are also SLOG_TRUE and SLOG_FALSE which are sued as booleanvalues, in particular they are used in boolean functions whichare usually named as IsXXXXX(), AreXXXXX() and HasXXXXX()..br.SH LOCATION../src/slog_profile.c

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -