Method and apparatus for measuring CPU task occupancy rate in a real-time system

   
   

An apparatus for measuring a CPU occupancy rate of a task in a real-time system. The apparatus includes a task register unit registering a task to be measured in flag bits, and a task selecting module selecting and outputting a bit address of the task having a high priority of the flag bit among the set flag bits. A count signal generating unit processing the bit address inputted from the task selecting module to generate a count signal, and a count unit counting an execution time of the task in accordance with the count signal are further included. A CPU sets the flag bit when the task is executed and calculates an execution number and the CPU occupancy rate of the task based on a count value of the count unit.

Un apparecchio per la misurazione del tasso di occupazione del CPU di un'operazione in un sistema in tempo reale. L'apparecchio include un'unità del registro di operazione che registrano un'operazione essere misurato nelle punte di bandierina e un'operazione che seleziona il modulo che seleziona e che produce un indirizzo della punta dell'operazione che ha una netta priorità della punta di bandierina fra le punte di bandierina dell'insieme. Un segnale di conteggio che generano l'unità che procede l'indirizzo della punta immesso dall'operazione che seleziona il modulo per generare un segnale di conteggio e un conteggio di unità di conteggio un tempo di esecuzione dell'operazione in conformità con il segnale di conteggio più ulteriormente sono inclusi. Un CPU regola la punta di bandierina quando l'operazione è eseguita e calcola un numero di esecuzione ed il tasso di occupazione del CPU dell'operazione basata su un valore di conteggio dell'unità di conteggio.

 
Web www.patentalert.com

< Recording medium for storing virtually deleted still picture information, recording and/or reproducing method and apparatus therefor

< Internal voltage converter scheme for controlling the power-up slope of internal supply voltage

> System and method for secure provisioning of a mobile station from a provisioning server using IWF-based IP address translation

> Address buffer and semiconductor memory device using the same

~ 00133