DEB_GUID (1158345), страница 4

Файл №1158345 DEB_GUID (Раздаточные материалы) 4 страницаDEB_GUID (1158345) страница 42019-09-18СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 4)

All parameters of base set have the commentaries. Full lists of dynamic control parameters, user trace, output parameters and parameters, controlling system trace (as more frequently used when debugging a program) are presented below.

11.1.The parameters of dynamic control

The parameters of dynamic control, presented below, are set in files with name usrdebug.

  • EnableDynControl =1 - dynamic control is enable.

  • EnableTrace =0 - trace processing is disable.

  • DbgInfoPrint =1 - flag to output information messages of dynamic control system and execution tracing.

  • DebugOptions.ErrorToScreen - if this parameter is not equal to 0 then all diagnostic messages will be output to the screen.

  • DebugOptions.ErrorFile - the name of diagnostic output file. Error messages are written to the file if parameter DebugOptions.ErrorToScreen is equal to 0. If system cannot open the file, the error messages will be outputted to the screen.

  • DebugOptions.AppendErrorFile - the mode of a diagnostic file usage. The file will be cleared at each program startup, if this parameter is equal to 0.

  • DebugOptions.MaxErrors - the maximum count of errors after that the dynamic control will be disabled.

  • DebugOptions.PrintStatistic - If flag is not equal to 0, then after program completion statistics of dealing with variable table is output. The statistics is written in a file with name, specified by DebugOptions.ErrorFile or to the screen according to value of DebugOptions.ErrorToScreen parameter.

  • DebugOptions.CheckVarInitialization - if flag is equal to 0, then checking scalar variables initialization is disabled.

  • DebugOptions.CheckVarReadOnly - if flag is equal to 0, then checking usage of variables with read-only access mode is disabled.

  • DebugOptions.CheckReductionAccess - if flag is equal to 0, checking usage of reduction variables is disabled.

  • DebugOptions.CheckDisArrInitialization -if flag is equal to 0, checking distributed array elements initialization is disabled.

  • DebugOptions.CheckDisArrLimits - if flag is equal to 0,checking violation of distributed array bounds is disabled.

  • DebugOptions.CheckDisArrEdgeExchange - if flag is equal to 0, checking edge exchange of distributed arrays is disabled.

  • DebugOptions.CheckDisArrSequentialAccess - if flag is equal to 0, checking usage of distributed array elements in the sequential program part is disabled.

  • DebugOptions.CheckDisArrLocalElm - if flag is equal to 0, checking membership of an element to the distributed array local part is disabled.

  • DebugOptions.CheckDataDependence - if flag is equal to 0, checking undeclared loop data dependence is disabled.

  • DebugOptions.CheckRemoteBufferAccess - if flag is equal to 0, checking usage of remote access buffers is disabled.

  • HashMethod - this parameter defines algorithm that is used for the hash-value calculation. If it is equal to 0 then the StandartHashCalc algorithm is used, if it is equal to 1 then the OffsetHashCalc algorithm is used.

  • HashOffsetValue - offset value for the OffsetHashCalc algorithm. The values from 0 up to 16 are allowed.

  • DebugOptions.HashIndexSize - size of hash-table index for the variable table.

  • DebugOptions.HashTableSize - size of hash-table arrays.

  • DebugOptions.VarTableSize - size of variable table.

11.2.Parameters of trace accumulation and comparison.

The parameters of dynamic control, presented below, are set in files with name usrdebug.

  • EnableDynControl =0 - Dynamic control is disabled.

  • EnableTrace =1 - Trace processing is enabled.

  • DbgInfoPrint =1 - Flag to output information messages of dynamic control system and

  • TraceOptions.TraceMode - specifying trace mode:

0 - generating loop description file. Only processor with the number TraceOptions.WrtHeaderProc writes to this file.

1 - accumulating trace and writing into the file <processor number>.<TraceOptions.Ext>.

2 - joining of the two previous modes.

3 - comparing the execution trace with the reference one, given in file TraceOptions.TraceFile.

  • TraceOptions.TraceLevel - trace accumulation level. It is irrelevant in modes of trace accumulation and loop descriptor file generation only.

0 - trace is not accumulated.

1 - accumulating loops and iterations trace only.

1 - the previous level plus accumulating trace of variable modifications.

2 - accumulating full trace.

  • ManualReductCalc - mode of reduction calculation. If flag is equal to 0, then the calculation mode is usual, and emulation of computation of each loop iteration at its own processor is performed in other case.

  • TraceOptions.WriteEmptyIter -if flag is equal to 0 then the records, corresponding to iteration beginning, are excluded from trace, if inside the iteration there are no references to the variables or nested loops.

  • TraceOptions.TracePath - path for trace files.

  • TraceOptions.TraceFile - the name of the reference trace file. This file is looked for in the TraceOptions.TracePath directory. This parameter is used only in the trace comparison mode.

  • TraceOptions.Ext - extension of accumulated trace files. The name of a trace file is formed as <processor number>.<TraceOptions.Ext>. The trace file will be created in the TraceOptions.TracePath directory. This parameter is used only in the trace accumulation mode.

  • TraceOptions.FileLoopInfo - loop description file name. This file is searched in the TraceOptions.TracePath directory.

  • TraceOptions.ErrorToScreen - if flag is not equal to 0 then all diagnostic messages will be output to the screen.

  • TraceOptions.ErrorFile - the name of error diagnostic file. The file is used if parameter TraceOptions.ErrorToScreen is equal to 0. If system cannot open the file, the error messages will be output to the screen.

  • TraceOptions.AppendErrorFile - the mode of a diagnostic file usage. The file will be cleared at each program startup, if the flag is equal to 0.

  • TraceOptions.MaxErrors - the maximal count of errors after that the trace accumulation or comparing will be disabled.

  • TraceOptions.PrintStatistic - Output statistics after program completion. The statistics is output to a file TraseOptions.ErrorFile or to the screen according to value of TraceOptions.ErrorToScreen parameter.

  • TraceOptions.Exp - exactitude of a float number comparison in the trace-comparing mode.

  • TraceOptions.WrtHeaderProc -. the number of a processor that forms loop description file. Since the common structure of the program is the same for all the processors, then loop description file will be identical for any process. The only distinction is the trace size, because these values are calculated only for the current process. The summary trace size estimation can be obtained by launching the program on a single processor.

  • TraceOptions.SpaceIndent - the indent size used in the trace files

  • TraceOptions.TableTraceSize - size of arrays for tracing.

  • TraceOptions.HashIterIndex,
    TraceOptions.HashIterSize
    - hash-table parameters, used for searching iterations.

  • TraceOptions.ReductHashIndexSize,
    TraceOptions.ReductHashTableSize,
    TraceOptions.ReductVarTableSize
    - the parameters of the reduction variable-table, used for keeping reduction variables.

  • TraceOptions.SaveThroughExec - the trace will be written into the file during program execution (there is no accumulating in memory) if this parameter is not equal to 0. Otherwise the trace will be accumulated in the memory and written after program completion.

11.3.Output parameters of informational messages of Run-Time Library.

The presented below parameters are located in files with name syspar.

  • SysInfoPrint - common flag to enable output of informational messages of Run-Time Library.

  • SysInfoStdOut - flag to output informational messages to stdout stream.

  • SysInfoStdErr - flag to output informational messages to stderr stream.

  • SysInfoFile - flag to output informational messages to a file.

  • SysInfoSepFile - flag to accumulate informational messages in separate for each processor file.

  • SysInfoFileName - file name for informational messages.

  • FatInfoNoOpen - flag to complete the work if the file was not opened successfully.

  • VersStartPrint - output Run-Time Library version number before starting the program.

  • VersFullStartPrint - output detailed version number before starting the program.

  • VersFinishPrint - output version number after the program termination.

  • VersFullFinishPrint - output detailed version number after the program termination.

  • SysParPrint - output initialization parameters.

  • ProcListPrint - output processor matrix.

  • WeightListPrint - output coordinate processor weights.

  • ParamRunPrint - output information about initial parameters.

  • EndProgMessagePrint - output other messages.

  • DVMInputPar - input parameters of DVM-system functions.

  • MultiProcErrReg - flag (byte) of error message output on processor system.

  • InputParPrint - output parameters from each parameter file at the input beginning.

  • EndReadParPrint - output parameters from each parameter file at the input end.

11.4.Parameters controlling system tracing.

The presented below parameters are located in files with name systrace.

  • Is_DVM_TRACE - common flag of enabled tracing.

  • FullTrace - flag of detailed trace mode.

  • ScreenTrace -flag to output trace to the screen.

  • FileTrace - flag to accumulate trace in the files.

  • TracePath - path of trace files.

  • TraceFileSuffix - file extension when tracing in files.

  • TraceBufferSuffix - file extension when uploading trace buffers.

  • DelTrace - flag to delete old trace files.

  • FatNoOpen - flag to complete in case of unsuccessful opening trace file.

  • PrefFileTrace - flag of tracing to files with prefix in the form of processor number.

  • BufferTrace - flag of tracing in the buffer.

  • TraceBufLength - trace buffer size in bytes.

  • FullBufferStop - flag to stop tracing if buffer is overflow.

  • TraceFlush - flag to upload information from system buffers to file after each event.

  • BufferTraceUnLoad - flag to upload trace buffer when completing work.

  • LowDumpLevel - flag to upload trace buffer using low level input/output functions.

  • TraceClosePrint - flag to output messages about completion of trace uploading.

  • KeyWordName - flag to print "NAME=" previous name of each event.

  • PreUnderLine - flag to underline heading of each event.

  • PostUnderLine - flag to underline end of printing each event.

  • PreUnderLining - underlining line of heading of each event.

  • PostUnderLining - string of printing completion of each event.

  • BufferTraceShift - indent size according to function call enclosure level when tracing in buffer.

  • FileTraceShift=5 -. indent size according to function call enclosure level when tracing in tracing in files.

  • TimePrecision - A number singes after point when printing time in trace.

  • MaxTraceStrLen - maximal size of trace record in bytes.

  • PrintBufferByteCount - a number of buffer bytes, printed before Send and after Receive.

  • mappl_Trace - flag to output additional information when tracing the function mappl_

  • dopl_Trace - flag to output additional information when tracing the function dopl_

  • distr_Trace - flag to output additional information when tracing the function distr_

  • align_Trace - flag to output additional information when tracing the function align_

  • OutIndexTrace - Flag to print output indexes in function GetIndexArray.

  • RedVarTrace - flag to print reduction variables in functions saverv_ , strtrd_and waitrd_

  • diter_Trace - flag to output detailed information when interface function diter_ is traced.

  • drmbuf_Trace - flag to output detailed information when interface function diter_ drmbuf_ is traced.

  • dvm_StartAddr - initial address of the memory, controlled in trace.

  • dvm_FinalAddr - end address of the memory, controlled in trace.

  • EveryEventCheckMem - flag to check specified memory in each traced event.

  • EveryTraceCheckMem - flag to check specified memory in each traced event.

  • EveryEventCheckCodeMem - flag to check code memory in each traced event.

  • EveryTraceCheckCodeMem - flag to check code memory on each entry in trace.

  • EveryEventCheckBound - flag to check bound of busy memory blocks in each trace event.

  • EveryTraceCheckBound - flag to check bound of busy memory blocks in each entry in trace.

12.Diagnostics messages of dynamic debugger.

The common format of error messages of dynamic debugger:

Характеристики

Список файлов учебной работы

Свежие статьи
Популярно сейчас
А знаете ли Вы, что из года в год задания практически не меняются? Математика, преподаваемая в учебных заведениях, никак не менялась минимум 30 лет. Найдите нужный учебный материал на СтудИзбе!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
7029
Авторов
на СтудИзбе
260
Средний доход
с одного платного файла
Обучение Подробнее