## User: Gayathri S

Reputation:
0
Status:
Trusted
Location:
India
Last seen:
1 day, 19 hours ago
Joined:
3 weeks ago
Email:
g**********@gmail.com

None
None
None
None

#### Posts by Gayathri S

<prev • 27 results • page 1 of 3 • next >
0
25
views
0
... A task is said to be schedulable if the total execution time of all the tasks is less than the farthest deadline. **Criteria for selecting scheduling algorithm:** 1. CPU Utilisation: Scheduling algorithm should always utilise CPU efficiently. 2. Throughput: It indicates the no. of tasks executed ...
written 12 days ago by Gayathri S0
0
22
views
0
... **(a) OSInit();** This function initialize uCOS - II . It doesn't require any arguments and doesn't return any value. **(b) OSSemPend();** This function is used when a task: (i) wants exclusive access to a resource. (ii) synchronize the activities with ISR/task. (iii) waits for an event to oc ...
written 12 days ago by Gayathri S0
0
41
views
0
... **Message Queue** A buffer like data structure through tasks and ISRs communicating with each other by sending and receiving message and sync with data. ![enter image description here][1] **Mailboxes** - Mailboxes are much similar to message queues. - used for one way messaging. - Function ...
written 13 days ago by Gayathri S0
0
27
views
0
... (i) **Priority Inversion** is a condition in which low priority task executes while a high priority task waits(blocked) due to resource contentions. (ii) PI happens because in poorly designed RTFS. Consider following example: (iii) Let A, B, C $\to$ 3 process/task. A- high priority, B- med prior ...
written 13 days ago by Gayathri S0
0
26
views
0
... \#include "Ipc214x.h" $\;$ // This is the header file that contains all info. about LPC 2148 /* Global variables - accessible by all functions */ int count, bob; $\;$ // global(static variables) ---------- /* Function definitions */ int function1(char x){ $\;$ // parameter passed x to the fn, ...
written 13 days ago by Gayathri S0
0
23
views
0
... ![enter image description here][1] **Ready state:** indicates that the task is ready for execution and be executed on the availability of the processor. **Blocked state:** indicates that the task is blocked because of some resource unavailability. **Running state:** The task in running state has ...
written 13 days ago by Gayathri S0
0
22
views
0
... **(A) Task Management** - Kernel uses TCB for task switching. TCB contains the following info. (i) Task ID - Unique Task ID no. (ii) Task state - The current state of the task. (iii) Task type - hard real time or soft real time. (iv) Task priority - priority of task. (v) Task context pointer ...
written 13 days ago by Gayathri S0
0
18
views
0
... **RTOS(Real Time OS)** - In RTOS tasks are scheduled based on priority. - Kernel is preemptive. - Priority inversion is a major issue. - Predictable behaviour. - works under worst case assumptions. - less memory. **GPOS(General Purpose OS)** - Tasks can be adjusted dynamically for optim ...
written 13 days ago by Gayathri S0
0
21
views
0
... - Scheduler - key component of a kernel - A scheduler has algorithms that determine which task executes when. - Scheduler uses following entities/policies for task scheduling. (a) Schedulable entities (b) Multitasking (c) Context Switching (d) Dispatcher (e) Scheduling Algorithms **(A) Sche ...
written 13 days ago by Gayathri S0
0
... **(a) Header file** - A header file is a file with extension .h which contains C function declarations and macro definitions to be shared between several source files. - 2 types - files that programmer writes $\hspace{2.5cm}$- files that comes with compiler For example: \$\underbrace{\#include} ...