-
In a preemptive priority based RTOS, priority inversion
problem is among the major sources of deadline
violations. Priority inheritance protocol is one of the
approaches to reduce priority inversion. Unfortunately,
RTOS like uC/OS can’t support priority inheritance
protocol since it does not allow kernel to have multiple
tasks at the same priority. Although it has different ways
to avoid priority inversion such as priority ceiling
protocol, developers still have some difficulties in
programming real time applications with it. In this paper,
we redesign the uC/OS kernel to provide the ability to
support round robin scheduling and implement priority
inheritance semaphore on the modified kernel. As result,
we port new kernel with priority inheritance semaphore to
evaluation board, and evaluate the execution time of each
of the kernel service as well as verify the operations of
our implementation.
標簽:
priority
preemptive
inversion
problem
上傳時間:
2015-12-14
上傳用戶:氣溫達上千萬的
-
This document outlines what is necessary to install and run the LEACH protocol on version
2.27 of ns2. At the time of this writing, this is the newest version of ns2. The LEACH implementation
was written as a stand-alone application. Thus, in the past a version compiled for LEACH may or may
not work for other protocols. In addition, the original version of LEACH was compiled for version
2.5b which is an outdated version of ns2.
標簽:
necessary
document
outlines
protocol
上傳時間:
2014-01-10
上傳用戶:tianjinfan
-
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa.
For example,
>> project.name = MyProject
>> project.id = 1234
>> project.param.a = 3.1415
>> project.param.b = 42
becomes with str=xml_format(project, off )
"<project>
<name>MyProject</name>
<id>1234</id>
<param>
<a>3.1415</a>
<b>42</b>
</param>
</project>"
On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
標簽:
converts
Toolbox
complex
logical
上傳時間:
2016-02-12
上傳用戶:a673761058
-
Java MP3 Player,
Here s a list of features:
- Reads, creates, updates, and removes id3v2.3 and id3v2.4 tags
- Reads, creates, updates, and removes id3v1 tags
- Extracts MPEG data such as bit rate, sample rate, channel mode, etc.
- Calculates playing time of mp3 from mpeg information (no good w/VBR)
- Can read and create Winamp styled playlists
- Offers other utility classes such as MP3FileFilter and MP3Comparator
- NullsoftID3GenreTable object keeps a list of genres for you and can
automatically determine the id3v1 genre from an id3v2 string or the
other way around
標簽:
and
features
creates
updates
上傳時間:
2014-11-21
上傳用戶:qq521
-
Because of the poor observability of Inertial Navigation System on stationary base, the estimation
error of the azimuth will converge very slowly in initial alignment by means of Kalmari filtering, and making the
time initial alignment is longer. In this paper, a fast estimation method of the azimuth error is creatively proposed
for the initial alignment of INS on stationary base. On the basis of the the fast convergence of the leveling error,
the azimuth error can be directly calculated. By means of this fast initial alignment method, the time of initial
alignment is reduced greatly. The computer simulation results illustrate the efficiency of the method.
標簽:
observability
Navigation
estimation
stationary
上傳時間:
2014-01-03
上傳用戶:wuyuying
-
*** *** *** *** *** *** *****
** Two wire/I2C Bus READ/WRITE Sample Routines of Microchip s
** 24Cxx / 85Cxx serial CMOS EEPROM interfacing to a
** PIC16C54 8-bit CMOS single chip microcomputer
** Revsied Version 2.0 (4/2/92).
**
** Part use = PIC16C54-XT/JW
** Note: 1) All timings are based on a reference crystal frequency of 2MHz
** which is equivalent to an instruction cycle time of 2 usec.
** 2) Address and literal values are read in octal unless otherwise
** specified.
標簽:
Microchip
Routines
Sample
WRITE
上傳時間:
2013-12-27
上傳用戶:ljmwh2000
-
Generate Possion Dis.
step1:Generate a random number between [0,1]
step2:Let u=F(x)=1-[(1/e)x]
step3:Slove x=1/F(u)
step4:Repeat Step1~Step3 by using different u,you can get x1,x2,x3,...,xn
step5:If the first packet was generated at time [0], than the
second packet will be generated at time [0+x1],The third packet will be generated at time [0+x1+x2],
and so on ….
Random-number generation
1.static method random from class Math
-Returns doubles in the range 0.0 <= x < 1.0
2.class Random from package java.util
-Can produce pseudorandom boolean, byte, float, double, int, long and Gaussian values
-Is seeded with the current time of day to generate different sequences of numbers each time the program executes
標簽:
Generate
Possion
between
random
上傳時間:
2017-05-25
上傳用戶:bibirnovis
-
These Release Notes describe the functionality of the AudioCodes’ TrunkPack Series Boards
and Digital Media Gateways supported by Software Release 4.8. Information contained in this
document is believed to be accurate and reliable at the time of printing. However, due to
ongoing product improvements and revisions, AudioCodes cannot guarantee the accuracy of
printed material after the Date Published nor can it accept responsibility for errors or omissions.
標簽:
functionality
AudioCodes
TrunkPack
the
上傳時間:
2017-08-08
上傳用戶:wuyuying
-
特點: 精確度0.1%滿刻度 可作各式數(shù)學演算式功能如:A+B/A-B/AxB/A/B/A&B(Hi or Lo)/|A|/ 16 BIT類比輸出功能 輸入與輸出絕緣耐壓2仟伏特/1分鐘(input/output/power) 寬范圍交直流兩用電源設(shè)計 尺寸小,穩(wěn)定性高
標簽:
微電腦
數(shù)學演算
隔離傳送器
上傳時間:
2014-12-23
上傳用戶:ydd3625
-
特點(FEATURES) 精確度0.1%滿刻度 (Accuracy 0.1%F.S.) 可作各式數(shù)學演算式功能如:A+B/A-B/AxB/A/B/A&B(Hi or Lo)/|A| (Math functioA+B/A-B/AxB/A/B/A&B(Hi&Lo)/|A|/etc.....) 16 BIT 類比輸出功能(16 bit DAC isolating analog output function) 輸入/輸出1/輸出2絕緣耐壓2仟伏特/1分鐘(Dielectric strength 2KVac/1min. (input/output1/output2/power)) 寬范圍交直流兩用電源設(shè)計(Wide input range for auxiliary power) 尺寸小,穩(wěn)定性高(Dimension small and High stability)
標簽:
微電腦
數(shù)學演算
輸出
隔離傳送器
上傳時間:
2013-11-24
上傳用戶:541657925