To provide a method of easily measuring an execution load factor of software with a small error while suppressing a required time to 100 ns or less by limiting processing for measuring the execution load factor into necessary minimum.SOLUTION: In executing software comprising a plurality of pieces of interruption processing 401 to 404 and idling processing 405, a high-level voltage is output to a digital terminal when interruption processing being a measurement object is started, and a low-level voltage is output when the interruption processing is terminated. The low-level voltage is output when interruption processing not being the measurement object is started, and the high-level voltage is output when the interruption processing being the measurement object occurs and interruption processing having a priority level higher than that of the interruption processing being the measurement object does not occur when the interruption processing not being the measurement object is terminated. While the idling processing is executed, the low-level voltage is output (406 and 407), and an execution load factor of the software is calculated from an average voltage at the digital terminal in a prescribed period.SELECTED DRAWING: Figure 5

    【課題】実行負荷率測定用の処理を必要最小限にして所要時間を100ns以下程度に抑え、容易にかつ小さい誤差でソフトウェアの実行負荷率を測定する方法を提供する。【解決手段】複数の割込み処理401〜404とアイドリング処理405から成るソフトウェアを実行する際、測定対象の割込み処理開始時にディジタル端子にHighレベル電圧を、終了時にLowレベル電圧を出力する。測定対象外の割込み処理開始時にLowレベル電圧を、終了時に測定対象の割込みが発生中かつ測定対象の割込み処理より優先順位の高い割込み処理が発生中でない場合Highレベル電圧を出力し、アイドリング処理の実行中にはLowレベル電圧を出力して(406,407)、所定の期間におけるディジタル端子の平均電圧からソフトウェアの実行負荷率を算出する。【選択図】図5


    Access

    Download


    Export, share and cite



    Title :

    METHOD OF MEASURING EXECUTION LOAD FACTOR OF SOFTWARE IN CONTROL DEVICE


    Additional title:

    制御装置におけるソフトウェア実行負荷率測定方法


    Contributors:

    Publication date :

    2020-07-27


    Type of media :

    Patent


    Type of material :

    Electronic Resource


    Language :

    Japanese


    Classification :

    IPC:    G06F ELECTRIC DIGITAL DATA PROCESSING , Elektrische digitale Datenverarbeitung / B60R Fahrzeuge, Fahrzeugausstattung oder Fahrzeugteile, soweit nicht anderweitig vorgesehen , VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR



    Measuring Software-Execution Time

    Pinera, C. | NTRS | 1984


    LOAD MEASURING DEVICE, LOAD MEASURING METHOD, AND LOAD MEASURING PROGRAM

    NAKAMURA HIRAKU / TODA HIROYUKI / FUJISAWA NAOMI | European Patent Office | 2018

    Free access

    LOAD MEASURING DEVICE, LOAD MEASURING METHOD, AND LOAD MEASURING PROGRAM

    NAKAMURA HIRAKU / TODA HIROYUKI / FUJISAWA NAOMI | European Patent Office | 2021

    Free access

    LOAD APPLICATION DEVICE, LOAD MEASURING DEVICE, AND AIRCRAFT LOAD APPLICATION METHOD

    NAKAGAWA ISAMU | European Patent Office | 2016

    Free access

    LOAD MEASURING DEVICE

    LEE SANG GEUN / HWANG GUI CHUL / PARK SE HOON et al. | European Patent Office | 2022

    Free access