01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ES:DI<br />

CX<br />

Output Parameter: Pointer to array of TaskList type structures allocated by user.<br />

Length of the list, number of data structures in user's array at [ES:DI].<br />

Return Value<br />

Comments<br />

DX=0<br />

BX = number of tasks listed in [ES:DI] output array.<br />

For a full report, the caller must allocate sufficient buffer space at [ES:DI] to allow all tasks to be reported<br />

including those created by the system. At most, CX tasks will be reported.<br />

Related Topics<br />

Top of list<br />

Index page<br />

TaskList structure definition<br />

<strong>RTOS</strong> Task Control Services<br />

Interrupt 0xAD service 0x0C: RTX_START_TASK_MONITOR, Enable task monitoring<br />

Parameters<br />

AH<br />

Installs an alternate 1000 Hz timer interrupt which monitors task execution.<br />

0x0C (= RTX_START_TASK_MONITOR)<br />

Return Value<br />

Comments<br />

DX=0, AX=0<br />

This function installs a task timing function in the 0x13 timer interrupt which will poll at 1000 Hz to check<br />

which task is currently executing (or most recently if system is idle). Data collected by this timing<br />

function provides a coarse indication of which tasks are occupying the CPU.<br />

Note that the Task Monitor places a considerable load on the system.<br />

Related Topics<br />

Get Task state<br />

Stop Task Monitor API call<br />

<strong>RTOS</strong> Task Control Services<br />

Page 201 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!