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

📄 slog_prof_setextranumofintvlinfos.3

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 3
字号:
.TH SLOG_PROF_SetExtraNumOfIntvlInfos 3 "4/24/2000" " " "SLOG_API".SH NAMESLOG_PROF_SetExtraNumOfIntvlInfos \-  Write the starting file pointer  SLOG_prof_t to the slog's header and then set the maximum extra number of Interval  Description entries in Display Profile Table. .SH SYNOPSIS.nfint SLOG_PROF_SetExtraNumOfIntvlInfos(       SLOG_STREAM  *slog,                                       const SLOG_uint32   Nentries_extra ).fi.SH MODIFIED INPUT VARIABLES .PD 0.TP.B slog - pointer to the SLOG_STREAM where SLOG Display Profile Table islocated..PD 1.SH UNMODIFUED INPUT VARIABLES .PD 0.TP.B Nentries_extra - Number of extra interval description to be reservedon the disk.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 Record DefinitionsThis note is to clarify the usage of SLOG_RDEF_XXX() routinesespecially while the user wants to add extra record definitionsto 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.Under normal circumstances, the record definition table is createdby first opening the section of the logfile for storing the tableusing SLOG_RDEF_Open().  Then add the record definition usingSLOG_RDEF_AddRecDef() and close the table section bySLOG_RDEF_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_RDEF_Open().  Then add the known recorddefinitions using SLOG_RDEF_AddRecDef().  However, one shouldNOT call SLOG_RDEF_Close() to close the table section.  Instead,SLOG_RDEF_SetExtraNumOfRecDefs() should be called to setthe extra number of record definition entries needed( thenumber can be greater than what one actually needs ).  Thenwhen user encounters a new interval record type,SLOG_RDEF_AddExtraRecDef() can then be called to add the newinterval record type to the record definition table.  Thishas to be done before adding the interval record to the logfileusing SLOG_Irec_ToOutputStream() which does NOT allow intervalrecord of with unknown interval type to the record definitiontable..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 + -