[go: up one dir, main page]

KR950011476B1 - How to measure user program execution time of ROM resident monitor debugger of electronic changer - Google Patents

How to measure user program execution time of ROM resident monitor debugger of electronic changer Download PDF

Info

Publication number
KR950011476B1
KR950011476B1 KR1019920026059A KR920026059A KR950011476B1 KR 950011476 B1 KR950011476 B1 KR 950011476B1 KR 1019920026059 A KR1019920026059 A KR 1019920026059A KR 920026059 A KR920026059 A KR 920026059A KR 950011476 B1 KR950011476 B1 KR 950011476B1
Authority
KR
South Korea
Prior art keywords
execution time
debugger
function
user program
time measurement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
KR1019920026059A
Other languages
Korean (ko)
Other versions
KR940017580A (en
Inventor
임동선
조주현
Original Assignee
재단법인 한국전자통신연구소
양승택
한국전기통신공사
조백제
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 재단법인 한국전자통신연구소, 양승택, 한국전기통신공사, 조백제 filed Critical 재단법인 한국전자통신연구소
Priority to KR1019920026059A priority Critical patent/KR950011476B1/en
Publication of KR940017580A publication Critical patent/KR940017580A/en
Application granted granted Critical
Publication of KR950011476B1 publication Critical patent/KR950011476B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

내용 없음.No content.

Description

전전자 교환기의 ROM 상주 모니터 디버거의 사용자 프로그램 실행 시간 측정 방법How to measure user program execution time of ROM resident monitor debugger of electronic changer

제1도는 본 발명이 적용되는 하드웨어 시스템의 구성도.1 is a block diagram of a hardware system to which the present invention is applied.

제2도는 본 발명이 적용되는 ROM 상주 모니터 디버거의 전체 흐름도.2 is an overall flowchart of a ROM resident monitor debugger to which the present invention is applied.

제3도 및 제4도는 본 발명의 처리 흐름도.3 and 4 are a process flow diagram of the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 상위 레벨 프로세서(MP) 2 : 하위레벨 프로세서(PP)1: high level processor (MP) 2: low level processor (PP)

3 : 신호 메시지 처리 프로세서(SMHP)3: Signal message processing processor (SMHP)

4 : 상위 프로세서 및 메모리 관리 회로팩(MPMA)4: upper processor and memory management circuit pack (MPMA)

5 : 하위 프로세서 하드웨어 회로팩(PPHA)5: Lower Processor Hardware Circuit Pack (PPHA)

6 : ROM 상주 모니터 디버거 7 : 중앙 처리 장치(CPU)6: ROM resident monitor debugger 7: Central processing unit (CPU)

8 : 다기능 제어 장치(MFP) 9 : 주기억 장치8: Multifunction Control Unit (MFP) 9: Main Memory Unit

10 : 입출력 포트 19 : CRT10: input / output port 19: CRT

본 발명은 전전자 교환시스템의 상위 프로세서 및 메모리 관리 회로팩(MPMA)과 하위 프로세서 하드웨어 회로팩(PPHA) 보드에 탑재되어 동작되는 롬(ROM) 상주 온라인 모니터 디버거(이하, 디버거라 함)가 수행 및 오류 검색을 행할 수 있는 사용자 프로그램의 지정된 범위의 프로그램 코드에 대한 실제적인 수행시간을 측정할 수 있는 방법에 관한 것이다.The present invention is performed by a ROM resident online monitor debugger (hereinafter referred to as a debugger) mounted on and operated by an upper processor and memory management circuit pack (MPMA) and a lower processor hardware circuit pack (PPHA) board of an electronic switching system. And a method for measuring an actual execution time for a program code in a designated range of a user program capable of performing an error search.

각 보드에 탑재되는 디버거는 기동시 보드의 기능의 검중하고 사용자로 하여금 디버거 명령어를 사용하여 주기억 장치로 사용자 프로그램을 로딩시키거나 사용자가 프로그램을 주기억 장치내에 직접 수록한 후, 사용자 프로그램의 수행 및 실행 오류 검색을 행할 수 있는 환경을 만들어 준다.The debugger mounted on each board checks the functions of the board at startup and allows the user to load the user program into the main memory using the debugger commands, or to execute and execute the user program after the user directly stores the program in the main memory. Create an environment where you can search for errors.

사용자가 주기억 장치에 수록된 사용자 자신이 작성한 루틴의 실제적인 수행시간을 산출해 내기 위하여 CPU 침의 제조회사에서 재공하는 사용지침서상에 각각의 어셈블리 명령어별로 실행시간을 나타낸 정보를 이용할 수도 있으나, 상기한 정보는 일반적인 실행시간을 나타낸 것으로 명령어 수행시 CPU가 기억장소로 부터 명령어를 참조하여 실행시키는 단계에서 현재의 명령어를 수행하는 단계에 병행하여 다음에 수행하여야할 명령어를 미리 가져오는 기능(fre-fetch)을 갖거나, 캐쉬 메모리 기능을 지원하는 환경에서 작동되는 CPU에 있어서 실제적인 실행시간은 동일한 내용을 갖는 루틴을 실행하는 경우라도 각기 다르게 된다.In order to calculate the actual execution time of the routine written by the user, which is stored in the main memory device, the user may use the information indicating the execution time for each assembly instruction in the instruction manual provided by the manufacturer of the CPU needle. The information shows the general execution time. In the execution of the instruction, the CPU refers to the instruction from the memory and executes the instruction to fetch the next instruction to be executed next to the execution of the current instruction. ), Or the CPU running in an environment that supports the cache memory function, the actual execution time is different even when executing routines with the same contents.

따라서, 본 발명은 CPU가 장착된 보드의 디바이스 환경을 충분히 적용한 실제적인 명령어 처리 시간을 산출하게 함으로써 사용자가 자신이 작성한 프로그램상의 임의의 부분에 대하여 정확한 실행시간을 측정하는 방법을 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide a method of measuring an accurate execution time of an arbitrary part of a program written by a user by calculating an actual instruction processing time that sufficiently applies the device environment of a board on which a CPU is mounted. have.

상기 목적을 달성하기 위하여 본 발명은, 입출력 시리얼 포트를 제어하고 인터럽트 기동 유,무를 결정하는 기능을 가지는 다기능 제어장치와, 사용자 프로그램 및 자료를 저장하는 기능을 갖는 주 기억 장치와, 문자의 입출력을 수행하는 포트와, 연산기능과 다기능 제어장치의 제어 및 주기억 장치에 대한 참조기능을 가지는 중앙처리 장치와, 주 제어 기능을 하며 사용자 프로그램의 수행 및 실행 오류 검색을 할 수 있는 기능을 제공하는 디버거를 포함하는 프로세서 회로팩에 적용되어 디버거의 사용자 프로그램 실행시간 측정방법에 있어서, 디버거의 데이타 영역내에 실행시간 측정에 관련된 자료 구조를 설정 및 초기화하고 얘외처리 루틴을 등록하는 제1단계와, 상기 제1 및 제2단계 수행후, 사용자 프로그램을 수행시키는 디버거 명령어가 기동될 때 실행시간 측정을 위하여 시작점과 끝 지점을 예외사항을 발생시키기 위한 명령어 코드를 위치시키는 제3단계와, 상기 제3단계 수행후, 실행시간 측정시간을 위한 예외사항이 발생되어 실제적인 실행시간을 측정하고 관련 자료 구조에 실행 내역을 기록하는 제4단계를 구비하여 수행된다.In order to achieve the above object, the present invention provides a multifunctional control device having a function of controlling an input / output serial port and determining whether or not an interrupt is started, a main memory device having a function of storing user programs and data, and input / output of characters. A central processing unit that has a port to execute, a reference to the control and main memory of the arithmetic function, and a multi-function controller, and a debugger that functions as a main control and provides a function to search for execution and execution errors of user programs. A method of measuring a user program execution time of a debugger applied to an included processor circuit pack, the method comprising: setting and initializing a data structure related to execution time measurement in a debugger data area and registering extra processing routines; And after executing the second step, a debugger command for executing the user program is started. In the third step of positioning the instruction code for generating an exception at the start point and the end point for the execution time measurement, and after performing the third step, an exception for the execution time measurement time is generated and the actual execution time is determined. A fourth step is to measure and record the execution history in the associated data structure.

이하, 첨부된 도면을 참조하여 본 발명의 일실시예를 상세히 설명하면 다음과 같다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명이 적용되는 하드웨어 구성도로서, 도면에서, 1은 상위레벨 프로세서(MP), 2는 하위레벨 프로세서(PP), 3은 신호메시지 처리 프로세서(SMHP), 4는 상위 프로세서 및 메모리 관리 회로팩(MPMA), 5는 하위 프로세서 하드웨어 회로팩(PPHA), 6은 디버거, 7은 CPU, 8은 다기능 제어 장치(MFP), 9는 주기억장치, 10은 입출력 포트, 11은 CRT를 각각 나타낸다.1 is a hardware configuration diagram to which the present invention is applied, in which 1 is a high level processor (MP), 2 is a low level processor (PP), 3 is a signal message processing processor (SMHP), 4 is a higher processor and a memory. Management circuit pack (MPMA), 5 is the lower processor hardware circuit pack (PPHA), 6 is the debugger, 7 is the CPU, 8 is the multifunction control unit (MFP), 9 is the main memory, 10 is the I / O port, 11 is the CRT Indicates.

도면에 도시한 바와 같이 본 발명이 적용되는 디버거(6)는 연산 및 주기억 장치의 참조 기능을 갖는 중앙 처리 장치(7 : CPU)의 제어하에 문자 입.출력 처리 및 인터럽트 제어 기능을 갖는 다기능 처리장치(8 : MFP), 정보를 저장하는 주기억 장치(9), 문자의 입출력을 위한 포트(10)와 연동되어 상위 프로세서 및 메모리 관리 회로팩(4 : MPMA)과 하위 프로세서 하드웨어 회로팩(5 : PPHA)보드에서 동작되며 포트(10)는 시리얼 통신선을 통하여 CRT(11)에 접속되어 사용자가 프로그램의 로딩 및 실행을 제어할 수 있도록 구성되어 있다.As shown in the figure, the debugger 6 to which the present invention is applied is a multifunctional processing apparatus having a character input / output processing and an interrupt control function under the control of a central processing unit 7 (CPU) having a reference function of arithmetic and main memory devices. (8: MFP), main memory device (9) for storing information, and port (10) for input / output of characters, the upper processor and memory management circuit pack (4: MPMA) and lower processor hardware circuit pack (5: PPHA) It operates on the board and the port 10 is connected to the CRT 11 through the serial communication line so that the user can control the loading and execution of the program.

MPMA(4)와 PPHA(5)와 같은 보드들은 일반 음성처리를 수행하는 상위레벨 프로세서(1 : MP), 전화 가입자 장치 및 연결 스위치를 제어하고 관리하는 하위레벨 프로세서(2 : PP) 및 No.7 시그날 메시지를 처리하는 신호 메시지 처리 프로세서(3 : SMHP)와 같은 전전자 교환시스템 프로세서들에 사용된다.Boards such as the MPMA (4) and PPHA (5) are high-level processors (1: MP) that perform general voice processing, low-level processors (2: PP) and no. It is used in all electronic switching system processors such as a signal message processing processor (SMHP) 3 which processes 7 signal messages.

제2도는 본 발명이 적용되는 ROM 상주 모니터 디버거의 전체 흐름도이다.2 is an overall flowchart of a ROM resident monitor debugger to which the present invention is applied.

보드에 전원이 공급되면 자동으로 디버거가 동작되어 중앙 처리 장치의 기능을 검사하여(12), 비정상이면 디버거의 기동을 중지하고, 중앙 처리 장치(7)의 상태가 정상이면 주기억 장치(9)의 읽기,쓰기 기능 검사와 아울러 주기억 장치(9) 전체의 내용을 지운다(13). 인터럽트를 이용하여 문자 입.출력을 수행하는 방식으로 MFP(8)를 초기화하고(14), 디버거의 실행 환경에 대한 초기화를 행한 후(15), 실행 시간 측정 관련 자료구조를 초기화하고(16), 사용자 프로그램의 실행시간 측정을 위하여 의도적으로 발생시키는 어셈블리어(TRAP 13)에 의한 예외사항을 처리하기 위한 루틴을 등록하고(17), 사용자가 CRT(11)의 키이보오드를 통하여 문자가 입력되기를 기다리는 상태로 들어간다(18).When power is supplied to the board, the debugger is automatically operated to check the function of the central processing unit (12). If abnormal, the debugger is stopped. If the state of the central processing unit (7) is normal, the main memory unit (9) In addition to checking the read and write functions, the entire main memory 9 is erased (13). Initialize the MFP (8) by performing character input / output using interrupts (14), initialize the debugger's execution environment (15), and initialize data structures related to runtime measurement (16). Registers a routine for handling exceptions by assembly language (TRAP 13) that is intentionally generated for the execution time measurement of the user program (17), and waits for the user to input characters through the keyboard of the CRT (11). Enter the state (18).

이 때 한 문자가 입력되면 문자 입력 인터럽트가 발생하여 인터럽트 처리 루틴이 기동되고, 문자 입력 인터럽트 처리 루틴의 수행을 마친 후에는 문자가 입력되었을 당시의 실행점(execution point)으로 되돌아 오게된다.At this time, when a character is inputted, a character input interrupt is generated to start the interrupt processing routine, and after completion of the character input interrupt processing routine, the character is returned to the execution point at the time the character was inputted.

입력문자가 발생되면 디버거(6)는 이를 문자 입력 인터럽트로 인지하여(19), 입력된 문자가 디버거(6)의 재시동을 요구하는 특수 문자인가를 검사하여(20), 재시동 요구 문자이면 재시동을 위한 사항을 처리하고(21), MFP(8)로 초기화 단계(14)로 분기하여 디버거를 재시동시킨다. 즉, 사용자가 어떤 디버거 명령어를 입력하여 이의 기능을 개시시킨 후, 디버거 명령어의 기능을 수행하는 중에 강제적으로 이의 수행을 해지시킬 수 있다.When an input character is generated, the debugger 6 recognizes it as a character input interrupt (19), checks whether the input character is a special character requiring a restart of the debugger 6 (20), and restarts if the restart character is requested. Process (21), branch to the initialization step (14) with the MFP (8), and restart the debugger. That is, after the user inputs a debugger command to start its function, the user may forcibly cancel the execution of the debugger command while performing the function.

입력된 문자가 재시동을 요구하는 문자가 아니면 명령어 라인의 종료를 나타내는 문자인지를 판별하여(22), 종료 문자가 아니면 디버거 명령어 라인을 보관하는 영역에 입력된 문자를 보관시킨 후(23), 문자 입력 인터럽트 처리 기능을 종료시킨다(25).If the input character is not a character requiring a restart, it is determined whether the character indicates the end of the command line (22), and if the character is not the end character, the input character is stored in the area for storing the debugger command line (23). The input interrupt processing function is terminated (25).

만약 명령어 종료를 나태내는 문자가 입력되었으면, 기 입력된 문자들을 보관하고 있는 영역을 디버거 명령어 처리기에게 통보한다. 명령어 처리기가 입력된 명령어를 분석하여 명령어에 맞는 기능을 실행시킨 후(24), 입력된 명령어의 기능 수행이 종료되면 역시 문자 입력 인터럽트 처리 기능을 종료시킨다. 이 때 수행점은 명령어 종료 문자가 입력되었던 시점으로 되돌아가게 된다.If a character is entered indicating the end of the command, the debugger command processor is informed of the area containing the previously entered characters. After the command processor analyzes the input command and executes a function corresponding to the command (24), when the execution of the function of the input command ends, the character input interrupt processing function is also terminated. The execution point then returns to the point where the command termination character was entered.

제3도는 실행시간 측정을 위하여 추가된 디버거 명령어 처리에 따른 상세흐름도이다.3 is a detailed flowchart of processing debugger instructions added for execution time measurement.

디버거가 초기화되어 디버거 명령어가 입력되기를 기다리는 상태(제2도의 18)에서 디버거 명령어가 입력되어 명령어 처리 부분이 기동되어(제2도의 24) 입력된 명령어를 분석하여 사용자 프로그램의 실행시간 측정을 위한 디버거 명령어로 판명되면 시행되어 진다.In the state where the debugger is initialized and waiting for the debugger command to be input (18 in FIG. 2), the debugger command is input and the command processing part is started (24 in FIG. 2). The debugger for analyzing the execution time of the user program by analyzing the input command If it turns out to be a command, it is executed.

우선 입력된 명령어 구문을 분석하여(26), 등록 및 실행 상태만을 확인하고자 하면(27), 실행시간 측정 명령어에 대한 등록 내용과 과거 실행한 결과가 있을 경우에 그 내용을 출력하고(28), 명령어 처리를 종료한다(35).First, by analyzing the input command syntax (26), if you want to check only the registration and execution status (27), and if there is a registered content and execution results of the execution time measurement command (28), The instruction processing ends (35).

입력된 명령어의 기능을 검사하여(29), 삭제 명령어이면 실행시간 측정을 관리하는 자료구조에 처리 기능의 해제를 기록 한후(30) 기능을 종료한다.Checking the function of the input command (29), if the delete command writes the release of the processing function in the data structure managing the execution time measurement (30) and ends the function.

그런데 등록 명령어이면 기존의 등록 내용을 변경하는 것인지를 조사하여(31), 내용 변경이면 기 등록된 내용이 변경되었다는 메시지를 출력한다(32). 그 다음에 입력된 명령어 내용에 따라 실행시간 측정을 위한 자료구조에 내용을 기록한후(33), 등록된 상태를 출력하고(34) 기능을 종료시킨다.However, if it is a registration command, it is checked whether the existing registration contents are changed (31), and if the contents are changed, a message indicating that the registered contents have been changed is output (32). Then, after recording the contents in the data structure for measuring the execution time according to the input command contents (33), output the registered state (34) and terminate the function.

제4도는 디버거가 사용자 프로그램을 실행시키면서 실행시간을 측정하는 처리 내용에 관한 흐름도이다.4 is a flowchart of the processing contents of the execution time of the debugger while the user program is executed.

사용자가 키이보오드를 통하여 사용자 프로그램을 실행시키는 명령어를 입력하면 디버거내의 실행시간 측정 명령어의 등록 여부를 조사하여(36), 명령어가 기 등록되었으면 실행시간을 측정하려는 사용자 프로그램의 시작주소 및 끝주소의 프로그램 명령어 코드를 디버거의 자료구조로 보관시키고 예외사항을 인위적으로 발생시키기 위한 어셈블리 명령어(TRAP 13)로 대체시킨후(37), 사용자 프로그램을 실행시킨다(38).When the user inputs a command to execute the user program through the key board, it checks whether the execution time measurement command is registered in the debugger (36), and if the command is already registered, the start address and end address of the user program The program instruction code is stored in the debugger's data structure and replaced with an assembly instruction (TRAP 13) to artificially raise the exception (37), then execute the user program (38).

사용자 프로그램을 실행하는 도중에 실행시간 측정을 위하여 어셈불리 명령어(TRAP 13) 예외사항이 발생되면(39), 디버거 초기화시에 등록(제2도의 17)한 어셈블리 명령어(TRAP 13)에 대한 예외사항 처리 루틴이 기동된다. 여기서, 상기 타이머는 사용자 프로그램의 정확한 실행시간을 측정하기 위하여 가장 상위의 우선 순위도를 갖는 레벨7의 타이머를 사용하며, 이럼으로써 실행시간 측정중 어떠한 인터럽트 및 예외사항에 대하여도 실행시간 측정을 위한 타이머가 지연되지 않도록 한다.If an assembly instruction (TRAP 13) exception occurs during execution of a user program for execution time measurement (39), handle the exception for the assembly instruction (TRAP 13) registered at debugger initialization (17 in Figure 2). The routine is started. In this case, the timer uses a level 7 timer having the highest priority level in order to measure the correct execution time of the user program. Thus, the execution time measurement for any interrupts and exceptions during the execution time measurement is performed. Do not delay the timer.

우선 실행시간 측정을 위한 시작주소에서 예외사항이 발생하였는가를 조사하여(40), 시작주소에서 발생하였으면 다기능 처리 장치(8)의 실행시간을 측정하기 위한 타이머를 구동시킨후(41), 예외사항에 대한 처리를 종료한다(46).First, it is checked whether an exception has occurred at the start address for the execution time measurement (40), and if it occurs at the start address, a timer for measuring the execution time of the multifunction processing apparatus 8 is started (41). The process for the process ends (46).

시작주소가 아니면 실행시간을 측정하기 위한 끝주소에서 발생하는지를 조사하여(42), 아니면 일반적인 어셈블리 명령어(TRAP 13) 예외사항이 발생하였음을 알리고(43) 종료한다.If it is not the start address, it checks whether it occurs at the end address to measure execution time (42), or notifies (43) that an exception has occurred in general assembly instruction (TRAP 13).

끝주소이면 실행시간 측정용 타이머를 정지시키고(44), 타이머의 내용을 분석하여 실제적인 실행시간 값을 디버거의 자료구조에 기록한후(45), 예외사항 처리 루틴을 종료시킨다.If it is the end address, the execution time measurement timer is stopped (44), the contents of the timer are analyzed, the actual execution time value is recorded in the debugger data structure (45), and the exception handling routine is terminated.

따라서, 상기와 같은 처리절차를 구비하여 수행되는 본발명은, 사용자가 실제로 사용되는 보드에서 자신이 작성한 루틴에 대한 정확한 실행시간을 측정할 수 있게 되어 실시간 처리시 처리시간의 정확성에 대처할 수 있고, 루틴에 대한 실행시간이 정확히 파악되므로 프로그램의 전체적인 실행시간 및 소요시간을 산출하기 유용한 효과가 있다.Therefore, the present invention performed with the above-described processing procedure, the user can measure the exact execution time for the routine written by the user on the board actually used to cope with the accuracy of the processing time in real time processing, Since the execution time for the routine is accurately known, it is useful to calculate the overall execution time and the time required for the program.

Claims (2)

입출력 시리얼 포트를 제어하고 인터럽트 기동 유.무를 결정하는 기능을 가지는 다기능 제어장치(8; MFP)와, 사용자 프로그램 및 자료를 저장하는 기능을 갖는 주 기억 장치(9)와, 문자의 입출력을 수행하는 포트(10)와, 연산기능과 다기능 제어장치(8)의 제어 및 주기억 장치(9)에 대한 참조기능을 가지는 중앙처리 장치(7; CPU)와, 주 제어 기능을 하며 사용자 프로그램의 수행 및 실행 오류 검색을 할 수 있는 기능을 제공하는 디버거(6)를 포함하는 프로세서 회로팩에 적용되어 디버거의 사용자 프로그램 실행시간 측정방법에 있어서, 디버거(6)의 데이타 영역내에 실행시간 측정에 관련된 자료 구조를 설정 및 초기화하고 예외처리 루틴을 등록하는 제1단계(16,17)와, 상기 제1단계(16,17) 수행후, 실행시간 측정 디버거 명령어를 사용하여 실행시간 측정기능을 등록하거나 취소시키는 제2단계(26 내지 35)와, 상기 제1및 제2 단계(16,17,26 내지 35) 수행후, 사용자 프로그램을 수행시키는 디버거 명령어가 기동될 때 실행시간 측정을 위하여 시작점과 끝 지점에 예외사항을 발생시키기 위한 명령어 코드를 위치시키는 제3단계(36 내지 37)와, 상기 제3단계(35 내지 37) 수행후, 실행시간 측정시간을 위한 예외사항이 발생되어 실제적인 실행시간을 측정하고 관련 자료 구조에 실행 내역을 기록하는 제4단계(37 내지 46)을 구비하여 수행하는 것을 특징으로 하는 디버거의 사용자 프로그램 실행시간 측정방법.Multi-function controller 8 (MFP) having a function of controlling the input / output serial port and determining whether to start or not interrupt, main memory 9 having a function to store user programs and data, and input / output of characters A central processing unit (CPU) having a port 10, a reference function for the arithmetic function and the control and main memory device 9 of the multifunction control device 8, and a main control function to perform and execute a user program. A method for measuring a user program execution time of a debugger, which is applied to a processor circuit pack including a debugger 6 that provides a function for performing an error search, in which a data structure related to execution time measurement is stored in a data area of the debugger 6. After executing the first steps (16, 17) of setting and initializing and registering an exception handling routine, and performing the first steps (16, 17), the execution time measurement function is executed using the execution time measurement debugger command. After performing the second steps (26 to 35) to cancel or cancel, and the first and second steps (16, 17, 26 to 35), the starting point and the starting point for the execution time measurement when the debugger command for executing the user program is started. After executing the third step (36 to 37) and the third step (35 to 37) to position the instruction code for generating an exception at the end point, the exception for the execution time measurement time is generated, the actual execution And a fourth step (37 to 46) for measuring time and recording execution details in a related data structure. 제1항에 있어서, 상기 제4단계(37 내지 46)는, 사용자 프로그램의 정확한 실행시간을 측정하기 위하여 가장 상위의 우선순위도를 갖는 레벨7의 타이머를 사용함으로서 실행시간 측정중 어떠한 인터럽트 및 예외사항에 대하여도 실행시간 측정을 위한 타이머가 지연되지 않도록 한 것을 특징으로 하는 디버거의 사용자 프로그램 실행시간 측정방법.The method according to claim 1, wherein the fourth steps 37 to 46 use any level 7 timer having the highest priority degree to measure the correct execution time of the user program, so that any interrupts and exceptions during the execution time measurement are made. The execution time measurement method of the user program of the debugger, characterized in that the timer for measuring the execution time is not delayed even for the matter.
KR1019920026059A 1992-12-29 1992-12-29 How to measure user program execution time of ROM resident monitor debugger of electronic changer Expired - Fee Related KR950011476B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920026059A KR950011476B1 (en) 1992-12-29 1992-12-29 How to measure user program execution time of ROM resident monitor debugger of electronic changer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920026059A KR950011476B1 (en) 1992-12-29 1992-12-29 How to measure user program execution time of ROM resident monitor debugger of electronic changer

Publications (2)

Publication Number Publication Date
KR940017580A KR940017580A (en) 1994-07-27
KR950011476B1 true KR950011476B1 (en) 1995-10-05

Family

ID=19347179

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920026059A Expired - Fee Related KR950011476B1 (en) 1992-12-29 1992-12-29 How to measure user program execution time of ROM resident monitor debugger of electronic changer

Country Status (1)

Country Link
KR (1) KR950011476B1 (en)

Also Published As

Publication number Publication date
KR940017580A (en) 1994-07-27

Similar Documents

Publication Publication Date Title
JP2753500B2 (en) An improved software debugging system and method for debugging code specifically in a multi-architecture environment
JP5270330B2 (en) Multicore microcomputer system simulation method and simulation apparatus
CN1040158C (en) Microprocessor with run/stop port for accessing idle mode
GB2329049A (en) A debugger interface unit for identifying selected exceptions
CN114168222A (en) Method and device for acquiring starting time, terminal equipment and storage medium
US5828890A (en) System for interrupting program operation when an out-of-range value is encountered to correct a data value
JPH02202642A (en) Device for supervising program action
EP0354654B1 (en) Method and apparatus for marking emulation analysis states
US5963741A (en) Information processor which rewrites instructions in program to dynamically change program structure and method therefor
KR950011476B1 (en) How to measure user program execution time of ROM resident monitor debugger of electronic changer
KR950010489B1 (en) The method extending debuging orders for electronic exchanger
CN100458708C (en) interrupt control system and method
US11152076B2 (en) Apparatus and method for executing debug instructions
KR20010046893A (en) Method for testing computer system with power management automatically
JP2000076095A (en) Program trace device, program trace method, and storage medium storing the program
KR930007470B1 (en) Online operation of ROM resident monitor debugger command interpreter of electronic changer
KR920001103B1 (en) Software simulation method for electronic exchange
JP2002366378A (en) Method and device for debugging program and storage medium
JP2659366B2 (en) Debugging method and device
US6654879B1 (en) Method and apparatus for analyzing code for out-of-range data involving base and seed tables/lists
CN120162242A (en) Software debugging method and device, electronic equipment and readable medium
JPS6214240A (en) Program inspecting system
JP2002116926A (en) Program processor and program processing method
JP2661447B2 (en) Testing methods for input/output devices
JPH01211048A (en) Measuring system for executing instruction number of program

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

N231 Notification of change of applicant
PN2301 Change of applicant

St.27 status event code: A-3-3-R10-R11-asn-PN2301

St.27 status event code: A-3-3-R10-R13-asn-PN2301

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

G160 Decision to publish patent application
PG1605 Publication of application before grant of patent

St.27 status event code: A-2-2-Q10-Q13-nap-PG1605

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

Fee payment year number: 1

St.27 status event code: A-2-2-U10-U11-oth-PR1002

PR1001 Payment of annual fee

Fee payment year number: 4

St.27 status event code: A-4-4-U10-U11-oth-PR1001

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

Fee payment year number: 5

St.27 status event code: A-4-4-U10-U11-oth-PR1001

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

PR1001 Payment of annual fee

Fee payment year number: 6

St.27 status event code: A-4-4-U10-U11-oth-PR1001

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

R17-X000 Change to representative recorded

St.27 status event code: A-5-5-R10-R17-oth-X000

PR1001 Payment of annual fee

Fee payment year number: 7

St.27 status event code: A-4-4-U10-U11-oth-PR1001

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

PR1001 Payment of annual fee

Fee payment year number: 8

St.27 status event code: A-4-4-U10-U11-oth-PR1001

FPAY Annual fee payment

Payment date: 20031001

Year of fee payment: 9

PR1001 Payment of annual fee

Fee payment year number: 9

St.27 status event code: A-4-4-U10-U11-oth-PR1001

LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee

Not in force date: 20041006

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

St.27 status event code: A-4-4-U10-U13-oth-PC1903

PC1903 Unpaid annual fee

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20041006

St.27 status event code: N-4-6-H10-H13-oth-PC1903

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

St.27 status event code: A-5-5-R10-R13-asn-PN2301

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000