欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > PPT文档下载  

    财务管理实训讲义CreateTim.ppt

    • 资源ID:6204765       资源大小:293.85KB        全文页数:39页
    • 资源格式: PPT        下载积分:15金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要15金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    财务管理实训讲义CreateTim.ppt

    Commercial Real-Time Operating SystemsLecture 24,Outline,StandardsMetricsRTOSsVxWorksEmbedded Windows platformsLinux extensions,(Traditional)Real-Time Applications,Transportation systemsAutomotives,avionics,railway system,submarines,Space-based systemsSatellite systems,planetary rovers,Industrial AutomationManufacturing automation(e.g.Bottling factories)Process control(e.g.petroleum refinement,temperature control systems,)Motion controlRobotics applications,mechanical pets,Data Acquisition systemsSupervisory control and data acquisition systems(SCADA),Security monitoring systemsDefense/military systemsRadar systems,Smart weapons,+,Emerging Applications,Cell-phones,VoIP phone,PDAsMP3 playersSet-top boxes,Game ConsolesAutomotive SystemsNetwork ElementsWeb Servers,Popular Standards,Real-Time Operating System standardsIEEE 1003.1b POSIX Real-Time Extensions(www.ieee.org)OSEK(automotive real-time OS standard)(www.osek.org)Real-Time(and Concurrent)Programming LanguagesReal-Time Specification for Java(,)Ada 83 and Ada 95Real-Time MiddlewareReal-Time CORBA(middleware and abstraction of the underlying RTOS)Networks/busesCANbus(Controller Area Network bus)TTA:Time-Triggered Architecture()FlexRay(www.flexray.org)ATM or Switched EthernetPriority-based or weighted fair-sharing schemes,Metrics in Real-Time Systems(1/2),End-to-end latency:E.g.worst-case,average-case,variance,distributionCan involve multiple hops(across nodes,links,switches and routers)Behavior in the presence or absence of failuresJitterThroughput:How many X can be processed?How many messages can be transmitted?Survivability:How many faults can be tolerated before system failures?What functionality gets compromised?,Metrics in Real-Time Systems(2/2),Security:Can the systems integrity be compromised?Can violations be detected?Safety:Is the system“safe”?Can the system get into an unsafe state?Has it been certified?Maintainability:How does one fix problems?How does the system get upgraded?Dynamism and Adaptability:What happens when the system mission changes?What happens when individual elements fail?Can the system reconfigure itself dynamically?How does the system behave after re-configuration?,RTOS Considerations,What processor(s)does it run on?8-bit,16-bit,32-bit,Intel Pentium Processor,PowerPC,Arm/StrongArm Intel Xscale,MIPS,SuperH,IBM and Intel Network ProcessorsWhat board(s)does it run on?Complete software package for a particular hardware board is called a BSP(Board Support Package)What is the software environment?Compilers and debuggersIDECross-compilation+symbolic debugging on target?Profilers(CPU,memory)Test coverage toolsNative simulation/emulation support?,Real-Time Operating Systems,Windows platformsEmbedded XP,Windows CE,Pocket WindowsVxWorks from Wind River Systems()Linux variantsBlue Cat Linux()(Embedded)Red Hat Linux()FSM RT-Linux()Monta Vista Linux()TimeSys Linux()LynxOS()QNX()Solaris real-time extensionsTRONEmbedded OS specification in JapanHas multiple profiles for different classes of devices,Common RTOS Features,UtilitiesBootstrapping support“Headless”operationDisplay not necessaryAPIs(Application Programming Interfaces)Multiple threads and/or processesFixed priority scheduling is most popularMutex/semaphore support likely with priority inheritance supportInter-process communicationsMessage queuesTimers/clockGraphics supportDevice driversNetwork protocol stack,Emerging RTOS Requirements,Full-featured operating systemSupport for new processors and devicesSupport for Internet protocols and standardsSupport for Multimedia protocols and standardsSupport for File SystemsMemory protectionResource protection,securityDevelopment tools and librariesGUI Environment,Do this with low and predictable overheads.,Case Study:Linux in embedded systems,Why Linux?,Reliable,Full-featured Operating SystemRich multi-tasking supportSecurity,ProtectionNetworking SupportTCP/IP,RSVP,SIP,MPLS,H.323Multimedia SupportJPEG,MPEG,GSMDevice DriversStandard,Known Environment and APIsUnix LineageFamiliar environment for many users/developersPOSIX Compliance,Why Linux?,The Cost FactorFree run-time royaltiesThe Open Source Factor A global team of programmers enhancing the environment literally all the timeAvailability of libraries,tools,and device driversSource Code Access allowing“peeking inside the hood”(and customizing as necessary)The Popularity FactorExcellent textbooks and documentation,Why Linux?,Small Embedded SystemsModular Kernel,possible to configure the kernel to suitable sizeCustomizable Root File SystemLots of UtilitiesHigh-End Embedded SystemsHigh-AvailabilityClusteringSMP Support,Linux API:Tasking,ProcessEncapsulates a thread of control and an address spaceAddress space may be shared giving threads in effectSchedulable EntityThreadsAre processes to the Linux kernelScheduled by the Linux kernelCan be created such that they share the address space with the parent process,effectively giving threads,Linux API:POSIX,SVR4,BSD,POSIX 1003.1.b(Real-Time Extensions)Priority SchedulingMemory LockingClocks and TimersReal-Time SignalsPOSIX 1003.1.c(Thread Extensions)Using pthreads libraryThread creation,destruction,etc.Mutexes,Condition VariablesSVR4 IPCShared MemorySemaphoresNetworking:BSD Sockets,Linux Internals Architecture,DeviceDrivers,Modules,Core Mechanisms,Process Scheduler,vfs,mm,ipc,net,The Real-Time Linux Challenge,How to leverage the advantages of Linux,while making it suitable for real-time systems?,Approaches to Real-Time Linux,Approaches limiting Real-time and Non Real-time Task InteractionsCompliant Kernel ApproachLynxOS/Blue Cat LinuxThin Kernel ApproachRTLinux/RTAIApproaches that integrate Real-time and Non Real-time tasksCore Kernel ApproachTimeSys Linux,Monta Vista LinuxResource Kernel ApproachTimeSys Linux,Linux Internals:Scheduling,Schedulable EntitiesProcessesReal-Time Class:SCHED_FIFO or SCHED_RRTime-Sharing Class:SCHED_OTHERReal-Time processes haveApplication defined priorityHigher priority than time-sharing processesNon Schedulable EntitiesInterrupt HandlersHave priorities,and can be nestedBottom Halves&Task QueuesRun on schedule,ret from system call,ret from interrupt,Linux and Real-Time:Problems,Timer GranularityMany real-time tasks are driven by timer interruptsIn Standard Linux,the timer is set to expire at 10 ms intervalsScheduler PredictabilityLinux scheduler keeps tasks in an unsorted listRequires a scan of all tasks to make a scheduling decisionScales poorly as number of tasks increases,and is especially poor for real-time performance Various subsystems NOT designed for real-time useNetwork protocol stackFilesystemWindows manager,Approaches to Real-Time Linux,Compliant Kernel Approach,Dual Kernel Approach,Core Kernel Approach,Resource Kernel Approach,Compliant Kernel Approach,Linux Kernel(Embedded Applications),Real-Time Kernel(Real-Time Applications),Linux System Call API,Linux System Call API,Linux Development ToolsAnd Environment,Linux Development ToolsAnd Environment,Compliant Kernel Approach,Basic ClaimLinux is defined by its API and not by its internal implementationThe real-time kernel is a non Linux kernelImplicationsNo benefits from the Linux kernelNot possible to benefit from the Linux kernel evolutionNot possible to use Linux hardware supportNot possible to use Linux device drivers,Compliance,100%Linux APISupport all of Linux kernel APIImplicationsAny Linux application can run on real-time kernelDevelopment can be done on Linux Host,with rich set of host tools for developmentAll Linux libraries are trivially available to run on real-time kernelThird party software Achieving 100%Linux API is non-trivialConsider the amount of effort put on Linux kernel development,Approaches to Real-Time Linux,Dual Kernel Approach,Compliant Kernel Approach,Core Kernel Approach,Resource Kernel Approach,The Thin Kernel Approach,Hardware,Real-Time Kernel(RT-Linux or RTAI),Real-TimeTask,Real-TimeTask,Real-TimeTask,Linux Kernel,LinuxProcess,LinuxProcess,User-Level,Kernel-Level,Real-time tasks do NOT use the Linux API or Linux facilitiesFailure in any real-time task crashes the entire system,Approaches to Real-Time Linux,Compliant Kernel Approach,Dual Kernel Approach,Core Kernel Approach,Resource Kernel Approach,Core Kernel Approach,Basic IdeasMake the kernel more suitable for real-timeEnsure that the impact of changes is localized so that Kernel upgrades can be easily incorporatedKernel reliability and scalability is not compromisedMechanismsStatic ConfigurationCan be configured at compile timeDynamic ConfigurationUsing loadable kernel modules,Core Kernel Approach,Allows the use of most if not all existing Linux primitives,applications,and tools.Need to avoid primitives that can take extended time in the kernelAllows the use of most existing device drivers written to support Linux.Need to avoid poorly written drivers that unfairly hog system resourcesRobustness and ReliabilityCore kernel modifications can effect robustness,but source is available,Approaches to Real-Time Linux,Compliant Kernel Approach,Dual Kernel Approach,Core Kernel Approach,Resource Kernel Approach,Resource Kernel,A Kernel that provides to Applications Timely,Guaranteed,and Enforced access to System ResourcesAllows Applications to specify only their Resource Demands,leaving the Kernel to satisfy those Demands using hidden management schemes,Protection in Resource Kernels,Each application(or a group of collaborating applications)operates in a virtual machine:a machine which consists of a well-defined and guaranteed portion of system resources CPU capacity,the disk bandwidth,the network bandwidth and the memory resourceMultiple virtual machines can run simultaneously on the same physical machineguarantees available to each reserve set is valid despite the presence of other(potentially mis-behaving)applications using other reserve sets,“Resource Kernel”Architecture,Physicalresources,RT Filesystem,Publisher/SubscriberServices,RT-ORB,QoS Mgr,Real-TimeJava,Linux Resource Kernel Architecture,Hardware,ResourceKernel,LinuxKernel,LinuxProcess,LinuxProcess,LinuxProcess,Kernel,User-Level,LKM,Reserves and Resource Sets,ReserveA Share of a Single ResourceTemporal ReservesParameters declare Portion and Timeframe of Resource UsageE.g.,CPU time,link bandwidth,disk bandwidthSpatial ReservesAmount of spaceE.g.,memory pages,network buffersResource SetA set of resource reserves,Summary,The world of embedded real-time is changing,and converging with theDesktop world,The Enterprise world,The Server world,The Internet World,etc.There are 3 dominant platformsVxWorks(proprietary)Windows variantsLinux variants,

    注意事项

    本文(财务管理实训讲义CreateTim.ppt)为本站会员(小飞机)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开