From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5b0d143c0afd8358,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-30 07:08:21 PST Path: nntp.gmd.de!newsserver.jvnc.net!darwin.sura.net!gatech!howland.reston.ans.net!cs.utexas.edu!geraldo.cc.utexas.edu!star5.ph.utexas.edu!jschamba From: jschamba@star5.ph.utexas.edu (Jo Schambach) Newsgroups: comp.unix.osf.osf1 Subject: Interrupts? Date: 30 Dec 1994 15:02:41 GMT Organization: University of Texas at Austin Distribution: world Message-ID: <3e17eh$nme@geraldo.cc.utexas.edu> Reply-To: JSchamba@utpapa.ph.utexas.edu NNTP-Posting-Host: star5.ph.utexas.edu Hi, I am relatively new to OSF/1, so forgive me if this seems to be a beginners question. I am currently investigating the performance of the realtime extensions of OSF/1. In doing so, I am trying to port the Rhealstone benchmark programs to OSF/1. I succeeded in getting some measurements for taskswitching, preemption time, semaphore shuffle time, and message passing time. The one I can't think about a way to port it is interrupt latency. How does one program interrupt service routines in OSF/1 from the user level? I only found references to interrupts in the device driver manual. What I would like to do, ideally, is the following: Have a timer chip in my workstation cause an interrupt at a well defined time (by latching the timer value, when the interrupt is caused programatically), attach an interrupt service routine to this interrupt, which latches the timer value again. The interrupt latency would then be the difference between these two values. Is there anybody (maybe from DEC) who could give me some advice? My hardware is a DEC 2000 Model 300 AXP server running OSF/1 V3. Thanks in advance for any help. Jo -- ***************************************************************** Joachim Schambach Research Associate Physics Department, RLM 5.208 The University of Texas at Austin Austin, TX 78712 USA email: JSchamba@physics.utexas.edu Tel: x1 (512) 471-1303 *****************************************************************